MCP does not invoke WSL commands
Pre-submit Checks
- [x] I have searched Warp bugs and there are no duplicates
- [x] I have searched Warp known issues page and my issue is not there
- [ ] I have an issue with AI and have included the debugging ID (Optional, but helps expedite the AI quality fix). Debugging ID intructions
- [ ] I have technical issue and have included the logs (optional, but helps expedite the bug fix). Log intructions
Describe the bug
It does not seem to be possible to start stdio MCP servers from within WSL. Warp does not recognize commands from the linux shell, even if its configured as the default terminal.
I noticed though that there is an (ugly) work-around:
{
"my-mcp-server": {
"command": "bash",
"args": [
"-c",
"AUTH_TOKEN=XXX uvx my-mcp-server"
],
"working_directory": null
}
}
Would it be possible to make MCP servers start directly from WSL without having to invoke bash?
To reproduce
Create an stdio MCP server with a WSL command. The command will fail to start.
Expected behavior
The command should start properly within the default WSL shell.
Screenshots, videos, and logs
No response
Operating system (OS)
Windows
Operating system and version
11
Shell Version
zsh 5.9 / bash 5.2.21
Current Warp version
v0.2025.09.03.08.11.stable_02
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Same problem. The workaround does not work for me: { "bash-context7": { "command": "bash", "args": [ "-c", "npx", "-y", "@upstash/context7-mcp" ], "env": {}, "working_directory": null } }
warp-terminal called from WSL can invoke MCP tools, but UI is somehow buggy
FWIW: here's what I have done for the github mcp server:
{
"GitHub": {
"command": "wsl",
"args": [
"docker",
"run",
"-i",
"--rm",
"--env-file",
"~/.config/github_mcp.env",
"ghcr.io/github/github-mcp-server"
],
"env": {},
"working_directory": null
}
}
We notified the team and will post any updates on this thread.
As a workaround, you can also install the MCP in Powershell.
We need a bit more information before we can continue triaging this issue.
If you're still hitting this, could you try reproducing it on the latest version of Warp and share logs along with a screenshot or short video if possible?
If there's no activity after 3 business days, we'll close this out to help keep the tracker tidy.
This is part of an automated backlog review and may be inaccurate. If you believe this assessment is wrong, please let us know.
This issue has been automatically closed because it was labeled needs-info and received no response for 3 business days. If you have the requested information, please reply and we will reopen.