ref tools mcp for Grok
io.github.ref-tools/ref-tools-mcp
Token efficient search for coding agents over public and private documentation.
client:Grok
transport:stdio
runtime:npm
Install ref tools mcp in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"ref-tools-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ref-tools-mcp"
],
"env": {
"REF_API_KEY": "<REF_API_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