diffctx for Grok
io.github.nikolay-e/diffctx
Selects the minimum code an LLM needs to review a git diff
client:Grok
transport:stdio
runtime:pypi
Install diffctx in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"diffctx": {
"type": "stdio",
"command": "uvx",
"args": [
"diffctx"
]
}
}
}
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