PluginBench
MCP Server
Active
Apache-2.0

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.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • CX_ROOT

    Repository root to serve. Optional - defaults to the working directory the server is launched in.

  • CX_INDEX_DIR

    Where the index lives. Optional - defaults to .infino/ inside the repository root.

  • CX_AUTO_SYNC

    Set to 0 to disable the background staleness sync that runs as queries arrive.

  • CX_NO_EMBED

    Set (1/true/yes) for keyword-only mode - skip the vector stage entirely.

  • CX_NO_RECEIPT

    Set (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.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "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>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "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 Code
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-context

Related MCP servers

Keyword, vector, hybrid, and SQL retrieval over data on object storage, for AI agents.

0
JavaScript
Apache-2.0
View repository →
io.github.infino-ai/code-context MCP Server | PluginBench