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.jsonWindows
%APPDATA%\\Claude\\claude_desktop_config.jsonLinux
~/.config/Claude/claude_desktop_config.jsonSelf-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 7749Claude Desktop (local)
claude_desktop_config.json
{
"mcpServers": {
"cmk": {
"command": "cmk",
"args": ["serve", "--port", "7749"],
"env": {
"CMK_STORAGE": "local"
}
}
}
}Environment variables (self-hosted only)
| Variable | Description | Default |
|---|---|---|
CMK_STORAGE | Storage mode: local or cloud | local |
CMK_API_KEY | Your CMK API key (cloud mode via self-hosted server) | none |
CMK_PORT | Server port | 7749 |