Platform Chat + MCP Server + Never require approval = all tools calls fail

First this might not be an API bug, but there’s no category for Platform issues, so this seemed like the best option, given the contact support article says to use the chat bot, which says it can’t raise bugs :confounded_face:

So here’s the issue when using https://platform.openai.com/chat/ if you add an MCP Server and configure Approval to “Never require approval for any tool call” all tool calls fail with:

mcp_protocol_error
Session termination

The reason for this is the platform deletes the session before using it to make the tool call, so the MCP server returns 404 as the passed session is now not found. Here’s the server request log showing this:

10:26:20.752 POST /mcp
INFO:     52.252.113.248:0 - "POST /mcp HTTP/1.1" 200 OK
10:26:21.287 POST /mcp
INFO:     52.252.113.252:0 - "POST /mcp HTTP/1.1" 200 OK
10:26:21.636 POST /mcp
INFO:     52.252.113.255:0 - "POST /mcp HTTP/1.1" 202 Accepted
10:26:21.667 GET /mcp
INFO:     52.252.113.251:0 - "GET /mcp HTTP/1.1" 200 OK
10:26:21.856 POST /mcp
INFO:     52.252.113.241:0 - "POST /mcp HTTP/1.1" 200 OK
10:26:22.237 DELETE /mcp
INFO:     52.252.113.249:0 - "DELETE /mcp HTTP/1.1" 200 OK
10:26:25.316 POST /mcp
INFO:     52.252.113.250:0 - "POST /mcp HTTP/1.1" 404 Not Found

If you configure Approval to “Always require approval for all tool calls” tool calls work as expected but the user has to approve every tool call.

Posting here in the hope someone knows how to raise a bug report so this can be fixed.

2 Likes

Hey @stevenha, Thank you for flagging this behaviour and apologies for the inconvenience. We are discussing the issue internally and will get back you with an update soon on the thread. Thank you!

2 Likes

Hey @stevenha, Would you be able to open a support ticket with us at support@openai.com and please make sure to include the forum username and forum thread link in the ticket. It will help us track your issue. I am request for a ticket is because we might need some personal details to debug this issue further. Thank you!