grok-build-mcp-server
Exposes the Grok Build CLI as MCP tools for Claude Code and other clients, enabling headless AI agents to perform tasks like code reviews, web research, and file operations with configurable permission levels.
Install
npx -y grok-build-mcp-server
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"grok-build-to-claude": {
"command": "npx",
"args": [
"-y",
"grok-build-mcp-server"
],
"env": {
"GROK_HOME": "<GROK_HOME>",
"GROK_BINARY": "<GROK_BINARY>",
"XAI_API_KEY": "<XAI_API_KEY>",
"GROK_MCP_LOG_LEVEL": "<GROK_MCP_LOG_LEVEL>",
"GROK_MCP_STATE_DIR": "<GROK_MCP_STATE_DIR>",
"GROK_MCP_TIMEOUT_MS": "<GROK_MCP_TIMEOUT_MS>",
"GROK_MCP_DEFAULT_MODEL": "<GROK_MCP_DEFAULT_MODEL>",
"GROK_MCP_DEFAULT_EFFORT": "<GROK_MCP_DEFAULT_EFFORT>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.