chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

SSE connection fails because many Remote MCP servers do not support HTTP GET

Open sugimomoto opened this issue 3 months ago • 1 comments

I attempted to connect to Postman's Remote MCP Server using MCP's SSE, but encountered an error. https://www.postman.com/postman/postman-public-workspace/collection/681dc649440b35935978b8b7

Image Image

The server side error message is as follows:

HTTP Request: GET https://mcp.postman.com/mcp "HTTP/1.1 405 Method Not Allowed"

It appears that a GET request is being made during the initial connection setup, but many Remote MCP Servers, including Postman's, do not accept GET requests.

Would it be possible to change this to a POST request or add an option to configure the HTTP method?

sugimomoto avatar Nov 03 '25 07:11 sugimomoto

Issues with SSE behavior are likely caused by the MCP sse_client rather than Chainlit itself, which just uses it as a transport. But to be clear: SSE connections are established using a GET request. POST cannot be used to initiate an SSE connection as far as I know. Maybe this is an issue of Postman

ADWasHere avatar Nov 10 '25 16:11 ADWasHere