Skip to content

Detached Agents window does not expose MCP servers from Remote (WSL) extension host #328295

Description

@jngibert

Does this issue occur when all extensions are disabled?: Unknown. With --disable-extensions, the <availableDeferredTools> section is entirely absent from Copilot's context — meaning no MCP servers were available.

Summary

When using VS Code in Remote - WSL, MCP servers running in the remote extension host are available in Copilot Chat inside the WSL window, but are not available in the detached "Agents" window opened via "Open in Agents".

Repro steps

  1. Open a repo in Remote - WSL (Running in <distro> (WSL 2)).
  2. Start MCP server databricks-msp-server from MCP: List Servers (shows Running; tools discovered).
  3. Verify Copilot Chat in the WSL window can use the MCP server.
  4. Click Open in Agents to open detached Agents window.
  5. In the detached Agents session, MCP server tools are not available.

Expected

Detached Agents window should have access to MCP servers from the active Remote extension host (WSL), same as Copilot Chat in the WSL window.

Actual

Detached Agents window only shows local/built-in tools; remote MCP server tools are missing.

Workaround

Use Copilot Chat directly in the WSL window (works there).

Notes

chat.agentHost.ahpJsonlLoggingEnabled enabled; behavior reproducible after restart.

VS Code version: Code 1.131.0 (e4c7e7b, 2026-07-28T10:51:25Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Remote OS version: Linux x64 6.18.33.2-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 7 265H (16 x 3686)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d51 [Intel(R) Arc(TM) Pro 140T GPU (16GB)], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8724 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x2db8 [NVIDIA RTX PRO 1000 Blackwell Generation Laptop GPU], DRIVER_VERSION=32.0.15.9579
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8875
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.46GB (11.58GB free)
Process Argv --folder-uri=vscode-remote://wsl+Nike-Ubunutu/home/jgibe1/github/nike-ccoe/sole-cloudops --remote=wsl+Nike-Ubunutu --crash-reporter-id 9a81645b-df1c-43eb-a4a6-3fe522ba668e
Screen Reader no
VM 0%
Item Value
Remote WSL: Nike-Ubunutu
OS Linux x64 6.18.33.2-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) Ultra 7 265H (4 x 0)
Memory (System) 7.76GB (5.79GB free)
VM 0%
Extensions (19)
Name Identifier Author Version
Better Comments aaron-bond.better-comments aaron-bond 3.0.2
Draw.io Integration hediet.vscode-drawio hediet 1.9.0
Jupyter Keymap ms-toolsai.jupyter-keymap ms-toolsai 1.1.2
WSL ms-vscode-remote.remote-wsl ms-vscode-remote 0.104.3
XML Tools dotjoshjohnson.xml DotJoshJohnson 2.5.1
REST Client humao.rest-client humao 0.25.1
Git Graph mhutchie.git-graph mhutchie 1.30.0
Bicep ms-azuretools.vscode-bicep ms-azuretools 0.45.15
.NET Install Tool ms-dotnettools.vscode-dotnet-runtime ms-dotnettools 3.1.0
Python Debugger ms-python.debugpy ms-python 2026.6.0
Python ms-python.python ms-python 2026.4.0
Pylance ms-python.vscode-pylance ms-python 2026.3.1
Python Environments ms-python.vscode-python-envs ms-python 1.36.0
Data Wrangler ms-toolsai.datawrangler ms-toolsai 1.24.2
Jupyter ms-toolsai.jupyter ms-toolsai 2025.9.1
Jupyter Notebook Renderers ms-toolsai.jupyter-renderers ms-toolsai 1.3.0
Jupyter Cell Tags ms-toolsai.vscode-jupyter-cell-tags ms-toolsai 0.1.9
Jupyter Slide Show ms-toolsai.vscode-jupyter-slideshow ms-toolsai 0.1.6
PowerShell ms-vscode.powershell ms-vscode 2025.4.0
A/B Experiments
vsliv368:30146709
vswsl492:30256859
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cmp-cht-diffpatch-3in1-lysithea-0024-no-progressive-reveal:31552086
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_control1:31471004
c9b86496:31447327
capico_axe_098a3278:31555651
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
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
748c7209:31512887
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
jh5f2457_c:31540921
g4a0e106:31529594
8hfba999:31537718
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
d7b18187:31526828
nes-curr-leftover-1500:31538366
ahp-both-windows:31556933
h561g132:31533256
session_8:31532895
ihg5j128:31534457
f412h606:31551416
7g2b5551:31542111
5fe6f778:31554331
allow-none:31555437
6i51c363:31551401
c7c27ce7:31554789
nes-gb3-nf-6k:31554346
8hc4g144:31558143
1532g621_copy:31554320
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
session-archive:31558132

Metadata

Metadata

Assignees

Labels

new releaseIssues found in a recent release of VS Code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions