Skip to content

Conversation

@kerlos
Copy link
Contributor

@kerlos kerlos commented Jun 17, 2025

in mcp specification it should return status 404 if session id provided is invalid

https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#session-management

4.When a client receives HTTP 404 in response to a request containing an Mcp-Session-Id, it MUST start a new session by sending a new InitializeRequest without a session ID attached.

related issue

punkpeye/fastmcp#121

@punkpeye punkpeye merged commit efb0ea9 into punkpeye:main Jun 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants