Does Code Index MCP work with ChatGPT (Codex)?

Yes. Code Index MCP passed every step of our test in ChatGPT (Codex) on Oct 21, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.

Result

ResultPassed
Date testedOct 21, 2026
Plan tested onChatGPT Plus
App versionCodex CLI 0.162.0-alpha.17.2
Server packagecode-index-mcp 2.17.1
Connect timeconnect time not recorded
Modelgpt-6-luna (reasoning low)

Steps

  1. install OK
  2. connect OK
  3. tools visible OK
  4. 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

Codex CLI 0.162.0-alpha.17.2 · code-index-mcp 2.17.1 · connect time not recorded · 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.0

Captured 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

[mcp_servers.code-index]
command = "uvx"
args = ["code-index-mcp"]

Connection check

server answered tool calls during the task

Tools check

verified via task step: agent saw and called the server's tools

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 ChatGPT (Codex)

Copy-paste config for every app is on the Code Index MCP page. Not connecting? ChatGPT (Codex) MCP troubleshooting.

Other apps we tested it in: Claude Code (passed) · Cursor (passed) · Claude Desktop (passed).

All MCP servers tested in ChatGPT (Codex)

Featured