Description
When I use /review in Codex and select 2. Review uncommitted changes, Codex invokes the MCP tool codegraph.codegraph_context and then waits indefinitely.
The MCP call never appears to complete from within Codex. I waited for more than 1 hour, but it was still pending, so I eventually cancelled it manually with Esc.
However, when I tested the same parameters through both the CLI and modelcontextprotocol/inspector, the context response returned quickly. This makes me suspect that the issue may be related to Codex CLI rather than the MCP server itself.
Steps to reproduce
- Open Codex.
- Run
/review.
- Select
2. Review uncommitted changes.
- Observe that Codex calls MCP tool
codegraph.codegraph_context.
- The call remains pending indefinitely.
Expected behavior
Codex should receive the MCP response and continue the review process.
Actual behavior
Codex waits indefinitely for the MCP call to finish. The call does not complete even after more than 1 hour, and I have to cancel it manually with Esc.
Additional context
I tested the same MCP parameters using:
- CLI
modelcontextprotocol/inspector
In both cases, the response returned quickly, so the MCP server itself appears to be working correctly.
This may indicate an issue with how Codex CLI handles the MCP response or waits for MCP tool completion.
Environment
Please let me know what environment details would be helpful. I can provide:
- Codex CLI version:
0.132.0
- MCP server version:
0.8.0
- OS:
macOS 13.6.4 (22G513)
Description
When I use
/reviewin Codex and select2. Review uncommitted changes, Codex invokes the MCP toolcodegraph.codegraph_contextand then waits indefinitely.The MCP call never appears to complete from within Codex. I waited for more than 1 hour, but it was still pending, so I eventually cancelled it manually with
Esc.However, when I tested the same parameters through both the CLI and
modelcontextprotocol/inspector, thecontextresponse returned quickly. This makes me suspect that the issue may be related to Codex CLI rather than the MCP server itself.Steps to reproduce
/review.2. Review uncommitted changes.codegraph.codegraph_context.Expected behavior
Codex should receive the MCP response and continue the review process.
Actual behavior
Codex waits indefinitely for the MCP call to finish. The call does not complete even after more than 1 hour, and I have to cancel it manually with
Esc.Additional context
I tested the same MCP parameters using:
modelcontextprotocol/inspectorIn both cases, the response returned quickly, so the MCP server itself appears to be working correctly.
This may indicate an issue with how Codex CLI handles the MCP response or waits for MCP tool completion.
Environment
Please let me know what environment details would be helpful. I can provide:
0.132.00.8.0macOS 13.6.4 (22G513)