Skip to content

Remote MCP SSE disconnects spam server logs with generic failures #20890

Closed as not planned

Description

@RaviTharuma

Problem

When a remote MCP server drops its SSE stream, OpenCode emits repeated generic service=server error= failed log lines and MCP stderr noise. In my case this was easiest to observe with the ClickUp remote MCP, but the pattern looks generic.

Repro

  1. Start opencode serve with a remote MCP configured over SSE.
  2. Let the remote SSE stream terminate or flap.
  3. Observe repeated noisy log output.

Expected

OpenCode should classify these as remote-MCP connection errors, ideally with rate limiting/backoff and clearer service attribution, instead of repeated generic server failure logs.

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 3, 2026
  2. github-actions commented on Apr 3, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of or closely related to existing issues. Please check:

    If your issue is specifically about the log spam/verbosity rather than the reconnection behavior, please clarify that distinction so maintainers can track it separately.

  3. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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