MCP integration

Cursor

Wire the prom.codes context and memory MCP servers into Cursor via .cursor/mcp.json.

Cursor reads MCP servers from .cursor/mcp.json in your project root — the same JSON shape as the canonical .mcp.json. Add the context engine and agent memory under mcpServers:

{
  "mcpServers": {
    "context": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@prom.codes/context-mcp@latest"],
      "env": { "PROMETHEUS_API_KEY": "prom_live_…" }
    },
    "memory": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@prom.codes/memory-mcp@latest"],
      "env": { "PROMETHEUS_API_KEY": "prom_live_…" }
    }
  }
}

The PROMETHEUS_API_KEY is a prom_live_… key you mint at app.prom.codes → /app/api-keys. That one key unlocks both managed code embeddings and memory. The workspace root and DB paths are auto-detected — don't set them.

Then reload Cursor (Cmd-Shift-P → Reload Window) and check the MCP panel.