A bug report posted November 16 on the OpenAI Developer Community says the Responses API can run an approved MCP write twice when the same response goes on to make a hosted programmatic read. The reporter tested non-streaming calls to POST /v1/responses with gpt-6.1-sol at medium reasoning and the openai Node SDK 7.43.0, against a synthetic MCP server carrying WordPress tool definitions and no real data. One approval went in, and the server logged write, read, write.

    Approvals have been part of the arrangement since remote MCP servers came to the Responses API on May 21, 2025. By default the API pauses and returns an mcp_approval_request before data goes to a remote server, and the developer’s code answers with an mcp_approval_response that points back to it through approval_request_id. The protocol underneath is older: Anthropic introduced MCP in November 2024, and the Model Context Protocol blog dates tool annotations such as readOnlyHint and idempotentHint to the 2025-03-26 revision of the specification. In this report the write tool declared readOnlyHint: false and idempotentHint: false, which is the server saying plainly that a second run is not safe.

    The reproduction forced a direct call to rest-api-write, approved it, then limited the follow-up request to the programmatic_tool_calling tool and rest-api-read. The model wrote a JavaScript program containing a single GET, yet the output held two write items with different IDs, identical arguments and the same approval_request_id. The duplicate also appeared when the write failed with isError: true. Resuming with tool_choice: “none”, or following the approval with a direct MCP read, produced one write. All three programmatic samples replayed the write and none of the three controls did, though the reporter calls that a sample rather than a rate and did not establish the root cause or test other models. The model’s closing message said the write ran once. A support account replied that the company is “looking into this issue,” and no fix has been stated.

    OpenAI Responses API Runs Approved MCP Writes Twice After Programmatic Reads, Developer Community Report Says

    What one approval should cover

    The shared approval_request_id is the detail worth sitting with. It suggests the second write went out under the first approval, so the one step where a person or a policy gets a say did not limit how many times the action ran. The transcript was no help either, since the model reported one write while the server counted two. The double-submitted form has found a new place to live.

    Keeping writes single until a fix lands

    The failing setup used store: false, resent the full input history and skipped previous_response_id, running on Node v24.22.3 from the Node.js 24.22.3 security release. A community reply suggests resuming the approval with tool_choice: “none” and sending the read as a separate request. Another option is a required idempotency_key on the write tool, so the server returns the stored result when a key repeats. Client code can also treat two mcp_call items sharing one approval_request_id as a replay, and count executions from server logs rather than the model’s summary.

    The Programmatic Tool Calling guide already leans this way, advising direct tool calls by default for writes and approval-sensitive actions, and idempotent function calls where possible. Agent writes can also be tried first against throwaway MySQL and PostgreSQL branches created with db-branch.

    Grace is a technical SEO specialist and web developer who writes about structured data, metadata, and site configuration for Webcode Tools. She helps websites improve how they appear in search results and on social platforms, and her guides explain the code behind it in a straightforward, practical way.