AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

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. 1

    Open the config file

    In Claude Desktop, go to Settings, then Developer, then Edit Config.

  2. 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. 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

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.