codemesh for Grok
io.github.pyalwin/codemesh
Intelligent code knowledge graph for AI coding agents — 71% cheaper, 72% faster
client:Grok
transport:stdio
runtime:npm
Install codemesh in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"codemesh": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pyalwin/codemesh"
],
"env": {
"CODEMESH_PROJECT_ROOT": "<CODEMESH_PROJECT_ROOT>"
}
}
}
}
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