Windows can not launch MCP servers using PNPM

Resolved 💬 1 comment Opened Sep 6, 2025 by CXwudi Closed Nov 27, 2025

What version of Codex is running?

0.30.0

Which model were you using?

gpt-5

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

Add a MCP server config, using pnpm:

[mcp_servers.deepwiki]
type = "stdio"
command = "pnpx"
args = ["-y", "supergateway", "--streamableHttp", "https://mcp.deepwiki.com/mcp"]

Then launch codex and type /mcp to see that MCP server "request timed out"

What is the expected behavior?

MCP servers should be connected normally

What do you see instead?

_No response_

Additional information

PNPM is working fine on Linux and WSL2, only if running from windows has this problem

Windows + PNPM was common problems with lots of CLI agent tool, Claude Code and Gemini CLI used to have this problems, but now they have already fixed this bug

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗