Skip to main content

Automatic Setup

cohaku init
Detects the .cursor/ directory and writes to .cursor/mcp.json.

Manual Setup

Create or edit .cursor/mcp.json in your project root:
{
  "mcpServers": {
    "cohaku": {
      "command": "cohaku",
      "args": ["mcp"]
    }
  }
}

Config Generation

Export memories as a Cursor rules file:
cohaku generate cursor
This writes to .cursor/rules/cohaku.mdc.