MCP Configuration

CMK connects to Claude through the Model Context Protocol (MCP). Cloud mode uses our hosted endpoint. No local server needed.

Claude Code

One command. Paste your API key from the dashboard.

terminal
claude mcp add cmk --url https://mcp.cmk.dev/v1 \
  --header "Authorization: Bearer <your-api-key>"

Claude Desktop

Open Settings, then Developer, then Edit Config. Add this to your claude_desktop_config.json:

claude_desktop_config.json
{
  "mcpServers": {
    "cmk": {
      "url": "https://mcp.cmk.dev/v1",
      "headers": {
        "Authorization": "Bearer <your-api-key>"
      }
    }
  }
}

Config file location by platform:

macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\\Claude\\claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json
Self-hosted / local mode configuration

Run your own CMK server locally. Requires pip install claude-memory-kit.

Claude Code (local)

terminal
claude mcp add cmk -- cmk serve --port 7749

Claude Desktop (local)

claude_desktop_config.json
{
  "mcpServers": {
    "cmk": {
      "command": "cmk",
      "args": ["serve", "--port", "7749"],
      "env": {
        "CMK_STORAGE": "local"
      }
    }
  }
}

Environment variables (self-hosted only)

VariableDescriptionDefault
CMK_STORAGEStorage mode: local or cloudlocal
CMK_API_KEYYour CMK API key (cloud mode via self-hosted server)none
CMK_PORTServer port7749