three.ws Brain for Grok
io.github.nirholas/brain-mcp
List LLM providers and run chat completions through the three.ws multi-provider router.
client:Grok
transport:stdio
runtime:npm
Install three.ws Brain in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"brain-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/brain-mcp"
],
"env": {
"THREE_WS_BASE": "<THREE_WS_BASE>",
"THREE_WS_API_KEY": "<THREE_WS_API_KEY>",
"THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>"
}
}
}
}
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