Skip to content

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

Closed

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

Activity

  1. github-actions commented on Dec 27, 2025

    @github-actions
    Contributor

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

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

  2. kierr commented on Dec 27, 2025

    @kierr
    Author

    wrong - issue is litellm gateway routing not OpenCode transport priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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