Skip to content

Proposal: add StreamableServerTransport.JSONResponse to support application/json format messages in StreamableHTTP Transport #211

@sushi-small

Description

@sushi-small

When I use Cursor to get the tools from my MCP server, the server responds with a text/event-stream format message. Cursor can't parse this message and then displays no tools. The Python SDK responds with an application/json format message, which Cursor can parse and display tools.

Metadata

Metadata

Assignees

Labels

proposalA proposal for an a new API or behavior. See CONTRIBUTING.md.proposal-acceptedProposals that have been accepted.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions