Codex app on Windows can not call MCP on WSL
Open 💬 2 comments Opened Mar 6, 2026 by youtonghy
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.305.950.0
What subscription do you have?
Team
What platform is your computer?
Windows 11 x64
What issue are you seeing?
When I choose WSL as the Agent environment, I cannot call any added MCP servers. It can be started and called normally in CLI mode. Codex currently believes that the automatic testing indicates an exception in the WSL/Windows workspace bridging, which causes mcp not to be correctly injected into the thread. Using the Windows native agent environment has no problem.
What steps can reproduce the bug?
Use windows native agent environment
What is the expected behavior?
_No response_
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Additional reproduction report
I can reproduce the same issue on Windows with Codex Desktop running the agent in WSL mode.
Environment
26.609.30741codex doctor:0.140.0-alpha.2(linux-x86_64)24.04.4 LTS6.6.87.2-microsoft-standard-WSL2chrome-devtools-mcp@latest@upstash/context7-mcpWhat happens
When the MCP servers are configured to launch through WSL-native Node/npm, Codex can read the MCP config and the MCP servers themselves work, but Codex Desktop does not expose their tools in the conversation/tool list.
Example WSL-native config shape:
With this setup:
codex mcp listshows both servers asenabled.codex doctorreports config parse OK and MCP servers present.initializeandtools/listsuccessfully:chrome-devtoolsreturns 29 tools, includingclick,evaluate_script,get_network_request, etc.context7returns 2 tools:resolve-library-idandquery-docs.tool_searchdoes not findmcp__chrome_devtoolsormcp__context7tools.Workaround that works
If I change the same MCP servers back to a Windows launcher, Codex Desktop exposes the tools correctly.
Working config shape:
After restarting Codex Desktop with the Windows launcher config:
mcp__context7.resolve_library_idis visible and callable.mcp__chrome_devtools.list_pagesis visible and callable.chrome-devtoolsreturns the selectedabout:blankpage as expected.Interpretation
This looks like the MCP server process and WSL Node/npm are fine. The failure appears to be specific to Codex Desktop's tool injection / MCP launcher path when the configured stdio MCP command is WSL-native. Using a Windows executable as the launcher is currently a reliable workaround.