How to install Compartment in Claude Desktop
To install Compartment in Claude Desktop, open Settings, Developer, Edit Config, paste the "compartment" block into mcpServers in claude_desktop_config.json, and restart the app.
Built from the published package · server updated 5 days ago
- 1
Open the config file
In Claude Desktop, go to Settings, then Developer, then Edit Config.
- 2
Add the server
Paste this into the file. If you already have servers, add the "compartment" entry inside your existing mcpServers block.
{ "mcpServers": { "compartment": { "command": "uvx", "args": [ "compartment" ] } } } - 3
Restart Claude Desktop
Quit the app fully and open it again. The server appears under the tools icon in a new chat.
Config file: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
MCP servers run with your permissions. If Compartment needs an API key, add it under env in the config. Check its README.
Install Compartment in another app
Similar servers
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.
The agentic meta-harness — freeze the model, evolve the harness. An open runtime that routes each query to the cost-optimal model, evolves its own harness (planner/context/reviewer/retry/tool/memory/score policy) and autonomously repairs code, then orches
Questions
Does Compartment work in Claude Desktop?
Yes. Claude Desktop supports local mcp servers through a config file, remote servers as connectors, and Compartment installs with the steps above.
Compartment does not show up in Claude Desktop. What now?
Restart Claude Desktop fully, check the JSON is valid, and make sure uv (for uvx) is installed. See common MCP errors and fixes.
Is Compartment safe?
It scores 85 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
