Remote MCP should negotiate HTTP/Streamable before deprecated SSE #3904

Closed
opened 2026-02-16 17:41:53 -05:00 by yindo · 2 comments
Owner

Originally created by @kierr on GitHub (Dec 27, 2025).

Originally assigned to: @thdxr on GitHub.

OpenCode tries SSE first even though:

  1. SSE was deprecated in MCP spec (March 2025)
  2. OpenCode has known SSE issues (#834)
  3. HTTP/Streamable is recommended modern transport

Currently: type: 'remote' tries SSE first, gives 500 error

Request: Negotiate by trying HTTP before SSE

Originally created by @kierr on GitHub (Dec 27, 2025). Originally assigned to: @thdxr on GitHub. OpenCode tries SSE first even though: 1. SSE was deprecated in MCP spec (March 2025) 2. OpenCode has known SSE issues (#834) 3. HTTP/Streamable is recommended modern transport Currently: type: 'remote' tries SSE first, gives 500 error Request: Negotiate by trying HTTP before SSE
yindo closed this issue 2026-02-16 17:41:53 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 27, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #834: Remote MCP servers using Server-Sent Events (SSE) fail to start with 'UnknownError Server error'
  • #672: Support for streaming HTTP MCP - notes that SSE has been deprecated in favor of streaming HTTP
  • #5371: Support MCP servers that require POST-based or non-standard SSE handshake - requests flexibility in MCP transport handling

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 27, 2025): This issue might be a duplicate of existing issues. Please check: - #834: Remote MCP servers using Server-Sent Events (SSE) fail to start with 'UnknownError Server error' - #672: Support for streaming HTTP MCP - notes that SSE has been deprecated in favor of streaming HTTP - #5371: Support MCP servers that require POST-based or non-standard SSE handshake - requests flexibility in MCP transport handling Feel free to ignore if none of these address your specific case.
Author
Owner

@kierr commented on GitHub (Dec 27, 2025):

wrong - issue is litellm gateway routing not OpenCode transport priority

@kierr commented on GitHub (Dec 27, 2025): wrong - issue is litellm gateway routing not OpenCode transport priority
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3904