4 Comments
User's avatar
NanoPete's avatar

When I issue

curl -i -N -H "Accept: application/json" http://localhost:8080/mcp

either via terminal, claude Desktop or IntelliJ IDEA, I see an error in the logs

ERROR [io.qua.mcp.ser.sse.run.SseMcpServerRecorder] (vert.x-eventloop-thread-2) Mcp-Session-Id header not found

And I get

HTTP/1.1 405 Method Not Allowed

content-length: 0

back from curl

This happens with my implementation but also with the implementation cloned out from github.

What am I missing?

Expand full comment
Markus Eisele's avatar

I am using Streamable HTTP !

curl -N -H "Accept: text/event-stream" \

http://localhost:8080/mcp/sse

Expand full comment
NanoPete's avatar

thanks for the reply ... would you mind updating the last codeblock (regarding claude config) accordingly?

Expand full comment
Markus Eisele's avatar

Hope this helps. Thanks for raising this!

Expand full comment