Knowledge Index (KI) for VS Code
io.github.xamresor/postgres-knowledge-index
Code search for AI agents across repos: call graph, frontend-to-API routes, docs. Self-hosted.
client:VS Code
transport:stdio
runtime:oci
Install Knowledge Index (KI) in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ki-database-url",
"description": "KI_DATABASE_URL",
"password": true
},
{
"type": "promptString",
"id": "ki-embed-url",
"description": "KI_EMBED_URL",
"password": true
},
{
"type": "promptString",
"id": "ki-api-token",
"description": "KI_API_TOKEN",
"password": true
}
],
"servers": {
"postgres-knowledge-index": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/xamresor/postgres-knowledge-index:0.18.0"
],
"env": {
"KI_DATABASE_URL": "${input:ki-database-url}",
"KI_EMBED_URL": "${input:ki-embed-url}",
"KI_API_TOKEN": "${input:ki-api-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs