Skip to content

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

Description

@kierr

OpenCode tries SSE first even though:

  1. SSE was deprecated in MCP spec (March 2025)
  2. OpenCode has known SSE issues (Remote MCP servers using Server-Sent Events (SSE) fail to start with 'UnknownError Server error' #834)
  3. HTTP/Streamable is recommended modern transport

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

Request: Negotiate by trying HTTP before SSE

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions