Replies: 1 comment 1 reply
-
|
Sounds like a bug in the OpenAI client. Have you opened an issue with them? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I created a stateless MCP server and I am trying to connect it with OpenAI, initially via platform's dashboard chat/prompt test interface. I'm facing a problem with openai sending a GET to my /mcp endpoint, which, in stateless mode, returns a 405 method not allowed error. Acording to mcp protocol description, this should be ok.
https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#listening-for-messages-from-the-server
But this disrupts openai's client, which returns "Error retrieving tool list from MCP server: 'TestMCP'. Http status code: 405 (Method Not Allowed)". This happens any time before or after getting the tools list.
NOTICE: I've also temporarily tried without "stateless = true", but it gives another error. In any case, I want it to work in stateless mode.
Has anyone been able to work around this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions