Skip to content
Cursor

brains for Cursor

io.github.spacecowboyian/brains

Personal wiki and memory for AI assistants: store, search, and recall structured notes.

client:Cursor transport:stdio runtime:npm

Install brains in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "brains": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "brains-mcp"
      ],
      "env": {
        "WIKI_DIR": "<WIKI_DIR>",
        "STORAGE_BACKEND": "<STORAGE_BACKEND>",
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
        "GOOGLE_REFRESH_TOKEN": "<GOOGLE_REFRESH_TOKEN>",
        "DRIVE_FOLDER_ID": "<DRIVE_FOLDER_ID>",
        "SUPABASE_URL": "<SUPABASE_URL>",
        "SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

brains in other clients