OpenClaw MCP Server for Grok
io.github.freema/openclaw-mcp
MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1.
client:Grok
transport:stdio
runtime:npm
Install OpenClaw MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"openclaw-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"openclaw-mcp"
],
"env": {
"OPENCLAW_URL": "<OPENCLAW_URL>",
"OPENCLAW_GATEWAY_TOKEN": "<OPENCLAW_GATEWAY_TOKEN>",
"OPENCLAW_MODEL": "<OPENCLAW_MODEL>",
"OPENCLAW_TIMEOUT_MS": "<OPENCLAW_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