Skip to content

Fails to launch any STDIO mcp servers after latest update #251308

Closed
@dasiths

Description

@dasiths

Type: Bug

VSCODe fails to launch any STDIO mcp servers after latest update.

Example: https://github.com/dasiths/ai_generated_vex/blob/main/.vscode/mcp.json

i.e. https://github.com/aquasecurity/trivy-mcp

    "Trivy MCP": {
        "type": "stdio",
        "command": "trivy",
        "args": [
            "mcp"
        ]
    },

2025-06-13 04:49:16.405 [info] Starting server from Remote extension host
2025-06-13 04:49:16.440 [info] Connection state: Starting
2025-06-13 04:49:16.441 [info] Connection state: Error spawn trivy ENOENT

Running command in terminal "trivy mcp" works. This is true for all MCP servers.

I'm doing this in a devcontainer but it's the same for when doing in WSL as well.

VS Code version: Code 1.101.0 (dfaf441, 2025-06-11T15:00:50.123Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 x 3792)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.92GB (12.59GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu-22.04/home/dasith/repos/ai_generated_vex --remote=wsl+Ubuntu-22.04 --crash-reporter-id 0a2516ef-0b0d-48c1-9b6b-e3a2385ee3d8
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-22.04
OS Linux x64 5.15.167.4-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 x 0)
Memory (System) 15.58GB (13.25GB free)
VM 0%
Extensions (20)
Extension Author (truncated) Version
markdown-emoji bie 0.3.1
markdown-mermaid bie 1.28.0
copilot Git 1.333.0
copilot-chat Git 0.28.0
debugpy ms- 2025.8.0
python ms- 2025.6.1
vscode-pylance ms- 2025.5.1
markdown-all-in-one yzh 3.6.3
spellright ban 3.0.142
vsc-python-indent Kev 1.21.0
jupyter-keymap ms- 1.1.2
vscode-ai-remote ms- 1.4.1
remote-containers ms- 0.418.0
remote-ssh ms- 0.120.0
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.99.0
remote-explorer ms- 0.5.0
material-icon-theme PKi 5.23.0
excalidraw-editor pom 3.9.0
pdf tom 1.2.2
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
e77a2192:31326280
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
pylancecolor:31314202
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions