Skip to main content

Automatic Setup

cohaku init
This detects Claude Desktop and writes to the config file automatically.

Manual Setup

Edit the Claude Desktop config file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "cohaku": {
      "command": "cohaku",
      "args": ["mcp"]
    }
  }
}
Or if using npx:
{
  "mcpServers": {
    "cohaku": {
      "command": "npx",
      "args": ["-y", "@cohaku/cli", "mcp"]
    }
  }
}
Claude Desktop requires full paths to executables. cohaku init handles this automatically by resolving the absolute paths to Node.js and the cohaku binary.

Verify

Restart Claude Desktop and check that Cohaku tools appear in the MCP tools list.