brains for Grok
io.github.spacecowboyian/brains
Personal wiki and memory for AI assistants: store, search, and recall structured notes.
client:Grok
transport:stdio
runtime:npm
Install brains in Grok
.mcp.json (in your project root)
{
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs