io.github.infino-ai/code-context MCP Server
io.github.infino-ai/code-context
What is the io.github.infino-ai/code-context MCP server?
Local code search for AI coding agents: hybrid search and SQL aggregation over an in-repo index.
How to install io.github.infino-ai/code-context
Copy-paste configuration for popular MCP clients.
CX_ROOTRepository root to serve. Optional - defaults to the working directory the server is launched in.
CX_INDEX_DIRWhere the index lives. Optional - defaults to .infino/ inside the repository root.
CX_AUTO_SYNCSet to 0 to disable the background staleness sync that runs as queries arrive.
CX_NO_EMBEDSet (1/true/yes) for keyword-only mode - skip the vector stage entirely.
CX_NO_RECEIPTSet (1/true/yes) to turn off local usage accounting: the per-call receipt on results and the cx usage ledger. Optional - on by default, computed locally, nothing leaves the machine.
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
],
"env": {
"CX_ROOT": "<YOUR_CX_ROOT>",
"CX_INDEX_DIR": "<YOUR_CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<YOUR_CX_AUTO_SYNC>",
"CX_NO_EMBED": "<YOUR_CX_NO_EMBED>",
"CX_NO_RECEIPT": "<YOUR_CX_NO_RECEIPT>"
}
}
}
}{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
],
"env": {
"CX_ROOT": "<YOUR_CX_ROOT>",
"CX_INDEX_DIR": "<YOUR_CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<YOUR_CX_AUTO_SYNC>",
"CX_NO_EMBED": "<YOUR_CX_NO_EMBED>",
"CX_NO_RECEIPT": "<YOUR_CX_NO_RECEIPT>"
}
}
}
}{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
],
"env": {
"CX_ROOT": "<YOUR_CX_ROOT>",
"CX_INDEX_DIR": "<YOUR_CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<YOUR_CX_AUTO_SYNC>",
"CX_NO_EMBED": "<YOUR_CX_NO_EMBED>",
"CX_NO_RECEIPT": "<YOUR_CX_NO_RECEIPT>"
}
}
}
}{
"servers": {
"code-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
],
"env": {
"CX_ROOT": "<YOUR_CX_ROOT>",
"CX_INDEX_DIR": "<YOUR_CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<YOUR_CX_AUTO_SYNC>",
"CX_NO_EMBED": "<YOUR_CX_NO_EMBED>",
"CX_NO_RECEIPT": "<YOUR_CX_NO_RECEIPT>"
}
}
}
}claude mcp add code-context --env CX_ROOT=<YOUR_CX_ROOT> --env CX_INDEX_DIR=<YOUR_CX_INDEX_DIR> --env CX_AUTO_SYNC=<YOUR_CX_AUTO_SYNC> --env CX_NO_EMBED=<YOUR_CX_NO_EMBED> --env CX_NO_RECEIPT=<YOUR_CX_NO_RECEIPT> -- npx -y @infino-ai/code-contextRelated MCP servers
Keyword, vector, hybrid, and SQL retrieval over data on object storage, for AI agents.