Mcp support issue

Resolved 💬 6 comments Opened Sep 27, 2025 by zuopanA Closed Nov 12, 2025

What version of Codex is running?

v0.41.0

Which model were you using?

_No response_

What platform is your computer?

_No response_

What steps can reproduce the bug?

I'm using a Windows 10 system. When configuring MCP, it fails with the following configuration:
[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]

But it succeeds with this configuration:
[mcp_servers.context7]
command = "D:\\Program Files\\nodejs\\npx.cmd"
args = ["-y", "@upstash/context7-mcp"]
env = { SYSTEMROOT = 'C:\Windows',"PROGRAMFILES(X86)" = 'C:\Program Files (x86)' }

Is there a way to simplify the MCP configuration?

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

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