Repository navigation
Description
Type: Bug
When launching a MCP installed via agent plugin. I automatically get Error spawn uvx ENOENT.
Step to reproduce :
- install an agent plugin with a mcp configured.
- try launhcing the MCP.
Expected Result :
Mcp launches
Actual Result:
2026-07-20 15:58:58.247 [info] Starting server mcp-atlassian
2026-07-20 15:58:58.247 [info] Connection state: Starting
2026-07-20 15:58:58.248 [info] Starting server from Remote extension host
2026-07-20 15:58:58.262 [info] Connection state: Starting
2026-07-20 15:58:58.266 [info] Connection state: Error spawn uvx ENOENT
If it helps i run the mcp under WSL. The plugin is configured via the copilot CLI where the MCP launched well. The error occurs when launching from vscode GUI although i am connected to WSL with it
VS Code version: Code 1.129.1 (8a7abeb, 2026-07-17T15:35:09Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) Ultra 7 255U (14 x 3264) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0x7d41 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8724 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521 Machine model name: Machine model version: direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.51GB (11.95GB free) |
| Process Argv | --crash-reporter-id ab42c8a6-f791-4af0-a919-2ccc5033532d |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | WSL: Ubuntu |
| OS | Linux x64 6.6.87.2-microsoft-standard-WSL2 |
| CPUs | Intel(R) Core(TM) Ultra 7 255U (14 x 0) |
| Memory (System) | 15.38GB (11.18GB free) |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | WSL: Ubuntu |
| OS | Linux x64 6.6.87.2-microsoft-standard-WSL2 |
| CPUs | Intel(R) Core(TM) Ultra 7 255U (14 x 0) |
| Memory (System) | 15.38GB (11.18GB free) |
| VM | 0% |
Extensions (4)
| Name | Identifier | Author | Version |
|---|---|---|---|
| Better Comments | aaron-bond.better-comments | aaron-bond | 3.0.2 |
| Bookmarks | alefragnani.bookmarks | alefragnani | 14.1.1 |
| WSL | ms-vscode-remote.remote-wsl | ms-vscode-remote | 0.104.3 |
| Material Icon Theme | pkief.material-icon-theme | PKief | 5.37.0 |
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
63221493:31336333
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
56b7f661:31457055
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478677
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
capico_axe_098a3278:31551526
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ec1eg703:31520046
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
b1ei0813:31506238
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
jh5f2457_c:31540921
api_cot_off:31513532
g4a0e106:31529594
8hfba999:31537718
prpt_srch:31518468
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
jf4hg949:31526829
nes-curr-leftover-1500:31538366
ahp-both-windows:31552051
h561g132:31533256
session_8:31532895
ihg5j128:31534457
f412h606:31551416
7g2b5551:31542111
7642ad28:31552287
fd5dc207:31551400
Activity
Ben-Home commentedon Jul 20, 2026
The
spawn uvx ENOENTerror means the VS Code process can't find theuvxbinary in its PATH. This is a common WSL interop issue — the VS Code remote server process inherits a different PATH than your interactive shell.Quick fix — use the full path to uvx:
First, find where uvx lives in WSL:
which uvx # typically: /home/$USER/.local/bin/uvxThen in your MCP server config (
.vscode/mcp.jsonor the agent plugin's config), replaceuvxwith the absolute path:{ "command": "/home/youruser/.local/bin/uvx", "args": ["mcp-atlassian"] }Why this happens: VS Code Remote on WSL starts its server process from a non-interactive shell, which doesn't source
.bashrc/.zshrc.uvxinstalled viapipxoruv tool installgoes to~/.local/bin, which is added to PATH by your shell profile — but VS Code's process never reads it.For
uv-installed tools, you can also find the path with:uv tool list --show-paths 2>/dev/nullThis is a broader MCP tooling pattern — many MCP server setups (we run 36+ connectors at corpusiq.io) hit the same WSL PATH resolution gap across different tools. The absolute-path fix is the most dependable approach.
jamatamo commentedon Jul 30, 2026
This exact situation is also happening when doing a remote ssh connection to a Linux host. After updating to 1.29, MCP servers that come from plugins, and these plugins are Copilot CLI installed plugins in the remote host (similar case to what OP mentioned, but though a remote ssh connection instead), are failing with the same error. In 1.28.X, these MCP servers can spawn correctly.