mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-27 05:37:45 +00:00
This PR adds support for 'streamable HTTP' MCP servers. This is backwards-compatible with existing SSE servers. We'll first try to initialize the server in streamable HTTP mode, and then fall back to legacy SSE if that fails. This PR also adds our own small SSE parser, `eventsource` was too high level to do what we need to do. Refs https://github.com/microsoft/vscode/issues/244751