Skip to content

Not Acceptable: Client must accept both application/json and text/event-stream #1414

@dhtml

Description

@dhtml

This bug happened on a serverless application despite using Accept: application/json, text/event-stream

To Reproduce
package.json contains "@modelcontextprotocol/sdk": "^1.15.0",
Tracing the version through package.json before now I had 1.17.3 installed and all works fine
Now that the new release is out, new deployment installed 1.25.3 which lead to the error

I temporarily resolved the problem by updating my package.json to
"@modelcontextprotocol/sdk": "^1.17.3",

Any advice on how to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions