codex mcp tool for Grok
io.github.x51xxx/codex-mcp-tool
MCP server bridging AI assistants to OpenAI Codex CLI for code analysis and review
client:Grok
transport:stdio
runtime:npm
Install codex mcp tool in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"codex-mcp-tool": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
],
"env": {
"CODEX_MCP_CWD": "<CODEX_MCP_CWD>",
"CODEX_SESSION_TTL_MS": "<CODEX_SESSION_TTL_MS>",
"CODEX_MAX_SESSIONS": "<CODEX_MAX_SESSIONS>"
}
}
}
}
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