modelcontextprotocol / modelcontextprotocol/typescript-sdk

StreamableHTTPClientTransport is not implementing Transport properly

Open
#861 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs design P3 potentially close v2
Dominant language
TypeScript
Stars
13.4k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
4

Description

Describe the bug
There is a mismatch in type of Transport and StreamableHTTPClientTransport

To Reproduce
Typescript compilation is failing

Expected behavior
StreamableHTTPClientTransport should implement Transport properly

Additional context
Add any other context about the problem here.

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 locating the StreamableHTTPClientTransport and Transport definitions in the TypeScript SDK and reproduce the reported TypeScript compilation failure. Compare the transport's type with the Transport contract; done means the project compiles and StreamableHTTPClientTransport properly implements Transport.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
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.