You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP migration writes type: "local" to workspace .mcp.json, which VS Code can't read, so the servers disappear #339955
Trust the folder, open Chat: Open Customizations → MCP Servers. The server is listed under Workspace (1).
Go to Migrations and migrate the workspace MCP servers.
Go back to MCP Servers.
Expected: the migrated server is listed under Workspace, read from .mcp.json.
Actual:Workspace (0). The server is gone from Customizations and from agent sessions. This happens in both single-folder and multi-root workspaces, and still happens after a full restart.
Cause:mcpServerCustomizationMigration.ts writes the Copilot CLI format through toCopilotMcpServerConfiguration (type: 'local'). The workspace .mcp.json reader (parseWorkspaceRootMcpConfiguration in mcpWorkspaceConfiguration.ts) calls normalizeMcpServerConfiguration, which only accepts stdio/http (McpServerType). It doesn't map local → stdio the way fromCopilotMcpServerConfiguration does, so every migrated stdio server gets dropped. This is still the case on main.
Confirmation: changing "type": "local" to "type": "stdio" by hand in the migrated .mcp.json brings the servers back right away. The disabled state that was migrated is also applied correctly.
I’m investigating the local/stdio configuration mismatch and plan to add a migration round-trip regression test. Please let me know if someone is already working on this
Activity
Tabisharaza commentedon Oct 6, 2026
I’m investigating the local/stdio configuration mismatch and plan to add a migration round-trip regression test. Please let me know if someone is already working on this
mcp: never forward Copilot-home MCP servers to other agents or hosts
mcp: leave workspace .mcp.json "local" parsing to #340034
mcp: discover Copilot CLI user MCP config by default without forwardi…
mcp: keep migrated servers visible in the local harness
mcp: read migrated local servers from workspace configuration
mcp: read migrated local servers from workspace configuration (#340034)