Brains MCP Server
by spacecowboyianio.github.spacecowboyian/brainsv1.96.0
Personal wiki and memory for AI assistants: store, search, and recall structured notes.
context tax
queued
security
queued
cold start
queued
freshness
Active4d ago
Install Brains MCP server
Install in Claude Code
claude mcp add brains -e GOOGLE_CLIENT_SECRET='<google-client-secret>' -e GOOGLE_REFRESH_TOKEN='<google-refresh-token>' -e SUPABASE_SERVICE_ROLE_KEY='<supabase-service-role-key>' -- npx -y brains-mcpInstall in Cursor
{
"mcpServers": {
"brains": {
"command": "npx",
"args": [
"-y",
"brains-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<google-client-secret>",
"GOOGLE_REFRESH_TOKEN": "<google-refresh-token>",
"SUPABASE_SERVICE_ROLE_KEY": "<supabase-service-role-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"brains": {
"command": "npx",
"args": [
"-y",
"brains-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<google-client-secret>",
"GOOGLE_REFRESH_TOKEN": "<google-refresh-token>",
"SUPABASE_SERVICE_ROLE_KEY": "<supabase-service-role-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"brains": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"brains-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<google-client-secret>",
"GOOGLE_REFRESH_TOKEN": "<google-refresh-token>",
"SUPABASE_SERVICE_ROLE_KEY": "<supabase-service-role-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"brains": {
"command": "npx",
"args": [
"-y",
"brains-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<google-client-secret>",
"GOOGLE_REFRESH_TOKEN": "<google-refresh-token>",
"SUPABASE_SERVICE_ROLE_KEY": "<supabase-service-role-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| WIKI_DIR | — | — | Path to local wiki directory (used when STORAGE_BACKEND=local or omitted) |
| STORAGE_BACKEND | — | — | Storage backend: 'local' (default), 'supabase', or 'drive' |
| GOOGLE_CLIENT_ID | — | — | Google OAuth client ID (required for Google Drive backend) |
| GOOGLE_CLIENT_SECRET | — | yes | Google OAuth client secret (required for Google Drive backend) |
| GOOGLE_REFRESH_TOKEN | — | yes | Google OAuth refresh token (required for Google Drive backend) |
| DRIVE_FOLDER_ID | — | — | Google Drive folder ID for wiki storage |
| SUPABASE_URL | — | — | Supabase project URL (required for Supabase backend) |
| SUPABASE_SERVICE_ROLE_KEY | — | yes | Supabase service role key (required for Supabase backend) |
Freshness
Active — last maintenance signal 4d ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-05 · 4d ago · official registry · v1.96.0
FAQ
›How do I install the Brains MCP server in Claude Code?
Run: claude mcp add brains -e GOOGLE_CLIENT_SECRET='<google-client-secret>' -e GOOGLE_REFRESH_TOKEN='<google-refresh-token>' -e SUPABASE_SERVICE_ROLE_KEY='<supabase-service-role-key>' -- npx -y brains-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Brains require an API key?
Yes. It expects GOOGLE_CLIENT_SECRET, GOOGLE_REFRESH_TOKEN, SUPABASE_SERVICE_ROLE_KEY, of which 3 are secrets.
›Can I use Brains as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Brains in the official MCP registry?
Yes, as io.github.spacecowboyian/brains.
Alternatives to Brains
Other notes & knowledge MCP servers.