codex can not find mcp

Open 💬 3 comments Opened Apr 27, 2026 by africa1207

What version of Codex CLI is running?

v0.125.0

What subscription do you have?

plus

Which model were you using?

_No response_

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal (PowerShell)

What issue are you seeing?

[mcp_servers]

[mcp_servers.chrome-devtools]
type = "stdio"
command = "npx"
args = ["-y", "chrome-devtools-mcp@latest"]

[mcp_servers.context7]
type = "stdio"
command = "npx"
args = ["-y", "@upstash/context7-mcp", "--api-key", "my_api_key"]

[mcp_servers.mcp-deepwiki]
type = "stdio"
command = "npx"
args = ["-y", "mcp-deepwiki@latest"]

First, I can confirm that my MCP configuration is correct. I tested it using different versions of Codex, up to v0.120.0, and the AI successfully retrieved the configured MCP and made proper calls. However, starting from v0.121.0 and above, while /mcp can retrieve the MCP and its associated tools, the following calls return empty results:

• Called codex.list_mcp_resources({})
{"resources": []}

• Called codex.list_mcp_resource_templates({})
{"resourceTemplates": []}

As a result, the AI fails to recognize any MCP resources.

What steps can reproduce the bug?

MCP cannot be used with versions ≥ v0.121.0.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗