CocoIndex Code for VS Code
io.github.cocoindex-io/cocoindex-code
Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.
client:VS Code
transport:stdio
runtime:pypi
Install CocoIndex Code in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "cocoindex-code-root-path",
"description": "COCOINDEX_CODE_ROOT_PATH",
"password": true
}
],
"servers": {
"cocoindex-code": {
"type": "stdio",
"command": "uvx",
"args": [
"cocoindex-code"
],
"env": {
"COCOINDEX_CODE_ROOT_PATH": "${input:cocoindex-code-root-path}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs