inspector
inspector copied to clipboard
Inspector does not reconnect with Last-Event-ID header
Inspector Version
- 0.17.2
Describe the bug
Connect to an MCP server which supports the priming event on an SSE stream. Restart the server or cause a network outage to disconnect the GET stream.
The client can reconnect with a new GET request. The inspector doesnt do this so it is really hard to test this functionality.
https://modelcontextprotocol.io/specification/draft/basic/transports#sending-messages-to-the-server
To Reproduce Steps to reproduce the behavior:
Do the above. You can use this server which supports ids in SSE: https://mcp-elicitation-demo.mattzcarey.workers.dev/mcp
Environment (please complete the following information):
MacOS + Chrome