SIGN IN SIGN UP

tools: include MCP server definitions in debug export (#3022)

- Add vscode.proposed.mcpServerDefinitions proposed API declaration
- Enable mcpServerDefinitions in enabledApiProposals
- Add serializeMcpServers() helper function that:
  - Serializes stdio servers with command, args, cwd, env, and version
  - Serializes HTTP servers with masked uri, version (excludes Authorization header)
- Include mcpServers array in exportAllPromptLogsAsJson export output

This allows debugging chat sessions to include information about which MCP
servers were available during the session.

Fixes https://github.com/microsoft/vscode/issues/283945

(Commit message generated by Copilot)
C
Connor Peet committed
fe2d6b5451b53062a0f270b18db0a527ba32f994
Parent: a678cf0
Committed by GitHub <noreply@github.com> on 1/20/2026, 11:41:29 PM