lain for Grok
io.github.spuentesp/lain
High-performance knowledge graph MCP server for AI coding agents with semantic search.
client:Grok
transport:stdio
runtime:npm
Install lain in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"lain": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@spuentesp/lain-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