ai cli mcp for Grok
io.github.mkxultra/ai-cli-mcp
Run Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP with background jobs
client:Grok
transport:stdio
runtime:npm
Install ai cli mcp in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"ai-cli-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-cli-mcp"
]
}
}
}
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