Skip to content

everything-server: subscriptions/listen responds with newline-delimited JSON, not SSE #531

Description

@dhruvtv
  • The subscriptions/listen handler in examples/servers/typescript/everything-server.ts sets Content-Type: application/json and writes JSON.stringify(frame) + '\n' for the acknowledgment and each notification.
  • The Streamable HTTP transport (2026-07-28) says the listen response is an SSE stream, so spec-conforming clients can't read it.
  • Suggested fix: Content-Type: text/event-stream, and write each frame as data: {...}\n\n.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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