Skip to content
Windsurf

thebrain for Windsurf

io.github.ybookoff/thebrain

MCP server for TheBrain 15: search by meaning, graph traversal and batch writes over the local API

client:Windsurf transport:stdio runtime:npm

Install thebrain in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "thebrain": {
      "command": "npx",
      "args": [
        "-y",
        "thebrain-mcp-server"
      ],
      "env": {
        "THEBRAIN_API_KEY": "<THEBRAIN_API_KEY>",
        "THEBRAIN_BASE_URL": "<THEBRAIN_BASE_URL>",
        "THEBRAIN_DATA_DIR": "<THEBRAIN_DATA_DIR>",
        "THEBRAIN_ALLOW_DESTRUCTIVE": "<THEBRAIN_ALLOW_DESTRUCTIVE>",
        "THEBRAIN_EMBEDDING_MODEL": "<THEBRAIN_EMBEDDING_MODEL>",
        "THEBRAIN_EMBEDDING_DTYPE": "<THEBRAIN_EMBEDDING_DTYPE>",
        "THEBRAIN_TIMEOUT_MS": "<THEBRAIN_TIMEOUT_MS>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

thebrain in other clients