Add Compartment to LM Studio

The app should open now with Compartment ready to add. If it did not, open it by hand.

Before the first run, install the package and create the vault once: pip install compartment && compartment init. The vault is encrypted under a passphrase you choose, and nothing leaves your machine.

Manual setup: in LM Studio open the MCP configuration (Program, then Install, then Edit mcp.json) and add:

{
  "mcpServers": {
    "compartment": {
      "command": "compartment",
      "args": ["--caller", "lm-studio", "serve"]
    }
  }
}

Compartment on GitHub