modelcontextprotocol / modelcontextprotocol/typescript-sdk

Client error for command SSE stream disconnected: TypeError: terminated

Open
#949 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug fix proposed P3 ready for work
Dominant language
TypeScript
Stars
13.4k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
4

Description

After deploying MCP service in Stream HTTP mode in cursor, the MCP log shows Client error for command SSE stream disconnected: TypeError: terminated after the current round of conversation ends. The functionality is not affected, but a red dot is displayed

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the MCP service in Stream HTTP mode with Cursor and inspect the SSE stream disconnect handling around the end of a conversation. Done means a normal end-of-conversation disconnect no longer produces the TypeError or the misleading red-dot error indicator.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.