Knowledge Index (KI) for Windsurf
io.github.xamresor/postgres-knowledge-index
Code search for AI agents across repos: call graph, frontend-to-API routes, docs. Self-hosted.
client:Windsurf
transport:stdio
runtime:oci
Install Knowledge Index (KI) in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"postgres-knowledge-index": {
"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>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs