DevLens for Grok
io.github.devlensio/devlens
Query a precomputed code graph (nodes, edges, summaries) of TS/JS/React/Next.js/Node repos via MCP.
client:Grok
transport:stdio
runtime:npm
Install DevLens in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"devlens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@devlensio/cli"
]
}
}
}
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