Does Code Index MCP work with Cursor?
Yes. Code Index MCP passed every step of our test in Cursor on Oct 21, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.
Result
Steps
- install OK
- connect OK
- tools visible OK
- agent task: find definition OKsymbol lookup + one cross-file reference in a 2-file Python repo (git history has 1 commit, so git-only tools can answer via git_show)
From our own harness run, not the maker’s claims. How we test.
Versions tested
Cursor CLI 2026.10.19-6bbf2c4 · code-index-mcp 2.17.1 · connected in 1.0s · tested Oct 21, 2026
Server package tested: code-index-mcp 2.17.1 (uv, Python 3.12.15; resolved 2026-10-21)
Direct and key dependencies as resolved: anyio 4.15.1 · httpx 0.28.1 · mcp 1.30.0 · msgpack 1.2.3 · pathspec 1.1.1 · pydantic 2.14.1 · pydantic-settings 2.16.1 · pydantic_core 2.50.1 · sse-starlette 3.5.0 · starlette 1.9.0 · tree-sitter 0.26.0 · tree-sitter-c-sharp 0.23.5 · tree-sitter-java 0.23.5 · tree-sitter-javascript 0.25.0 · tree-sitter-kotlin 1.1.0 · tree-sitter-rust 0.24.2 · tree-sitter-typescript 0.23.2 · tree-sitter-zig 1.1.2 · typing_extensions 4.16.0 · uvicorn 0.54.0 · watchdog 6.0.0
All 40 resolved dependencies
annotated-types==0.8.0
anyio==4.15.1
attrs==26.1.0
certifi==2026.10.19
cffi==2.1.1
click==8.5.0
cryptography==50.0.2
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
httpx-sse==0.4.3
idna==3.20
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
mcp==1.30.0
msgpack==1.2.3
pathspec==1.1.1
pycparser==3.11
pydantic==2.14.1
pydantic-settings==2.16.1
pydantic_core==2.50.1
PyJWT==2.15.1
python-dotenv==1.2.4
python-multipart==0.0.32
referencing==0.37.0
rpds-py==2026.9.1
sse-starlette==3.5.0
starlette==1.9.0
tree-sitter==0.26.0
tree-sitter-c-sharp==0.23.5
tree-sitter-java==0.23.5
tree-sitter-javascript==0.25.0
tree-sitter-kotlin==1.1.0
tree-sitter-rust==0.24.2
tree-sitter-typescript==0.23.2
tree-sitter-zig==1.1.2
typing-inspection==0.4.4
typing_extensions==4.16.0
uvicorn==0.54.0
watchdog==6.0.0Captured with: uvx --from code-index-mcp python (importlib.metadata in the same uvx env; equivalent to uv pip freeze).
What happened in this run
Install config we used
{
"mcpServers": {
"code-index": {
"command": "uvx",
"args": [
"code-index-mcp"
]
}
}
}Connection check
code-index: readyTools the app saw
14 tools in the app (protocol check found 14).
Agent task: find definition
- Tool calls, in order:
code-index:set_project_path,code-index:search_code_advanced
Raw details from our harness log for this run. Secrets redacted.
Set it up in Cursor
Copy-paste config for every app is on the Code Index MCP page. Not connecting? Cursor MCP troubleshooting.
Other apps we tested it in: Claude Code (passed) · Claude Desktop (passed) · ChatGPT (Codex) (passed).