Skip to main content

Automatic Setup

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

Manual Setup

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

Config Generation

Export memories as a Windsurf rules file:
cohaku generate windsurf
This writes to .windsurf/rules/cohaku.md.