Skip to main content

Automatic Setup

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

Manual Setup

Create or edit .vscode/mcp.json in your project root:
{
  "servers": {
    "cohaku": {
      "command": "cohaku",
      "args": ["mcp"]
    }
  }
}
VS Code uses servers instead of mcpServers in its MCP config schema.

Config Generation

Export memories as a Copilot instructions file:
cohaku generate vscode
This writes to .github/copilot-instructions.md.