code context for Cursor
io.github.infino-ai/code-context
Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.
client:Cursor
transport:stdio
runtime:npm
Install code context in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"code-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
],
"env": {
"CX_ROOT": "<CX_ROOT>",
"CX_INDEX_DIR": "<CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<CX_AUTO_SYNC>",
"CX_NO_EMBED": "<CX_NO_EMBED>",
"CX_NO_RECEIPT": "<CX_NO_RECEIPT>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs