Knowledge Index (KI) for Grok
io.github.xamresor/postgres-knowledge-index
Code search for AI agents across repos: call graph, frontend-to-API routes, docs. Self-hosted.
client:Grok
transport:stdio
runtime:oci
Install Knowledge Index (KI) in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"postgres-knowledge-index": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/xamresor/postgres-knowledge-index:0.18.0"
],
"env": {
"KI_DATABASE_URL": "<KI_DATABASE_URL>",
"KI_EMBED_URL": "<KI_EMBED_URL>",
"KI_API_TOKEN": "<KI_API_TOKEN>"
}
}
}
}
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