Responses API adds remote MCP servers and background processing

Original development: 21 May 2025

On 21 May 2025 OpenAI announced support for remote Model Context Protocol (MCP) servers and background processing in the Responses API, expanding the ways developer-built assistants could use external systems.

Read the original OpenAI announcement for the historical details.

What MCP adds

Model Context Protocol provides a standard way for compatible applications to discover and interact with tools or resources exposed by a server. For a small software company, this can reduce some of the bespoke integration work needed to connect an assistant to a customer database, document system or internal service.

Interoperability should not be mistaken for authorisation. A server may advertise tools capable of reading, creating or deleting records. The surrounding application must still authenticate the caller, restrict credentials and validate each operation. Tool descriptions and returned content should be treated as potentially untrusted input.

Why background processing matters

A research task may require several searches or model calls and cannot always finish within a normal web request. Background processing allows an application to start work and retrieve the result later. Design a job status record with the original request ID, start time, current state and an expiry or cancellation mechanism.

Ensure a retry does not accidentally create two jobs. If a background process would change an external record, require a separate approval and record the outcome. Use idempotent operations wherever the destination supports them.

Where to start

A read-only tool that retrieves approved product documentation is a sensible first MCP integration. Test permissions using different user accounts and confirm that missing documents produce an honest failure. Only add write capabilities when there is a defined business case and a reliable way to review proposed actions.

Illustrative stock photograph: Scott Rodgerson / Unsplash.

Give background work a persistent identity

An assistant that analyses a large collection of documents may outlive the browser request that initiated it. Create a job record containing a unique identifier, the requesting account, the agreed input references and the status of the operation. The browser can then retrieve the result without submitting the same job again when the connection drops.

Useful states include queued, processing, completed, failed and cancelled. An application should distinguish a completed model response from a completed business operation: a generated recommendation is not evidence that a customer record has been successfully amended.

A practical architecture for a small consultancy

A consultancy could expose a document-search service through an MCP server and allow an assistant to prepare a draft research report. Authenticate the employee, retrieve only documents they are permitted to access and keep a reference to the source versions used. The report can then be checked against those documents before release.

Do not give a research job unrestricted write access. If a subsequent task requires publishing a document, perform that operation through a separate permission and approval boundary. Treat instructions embedded in retrieved documents as data rather than as authority to extend the job.

Plan for interruptions and operating costs

Define a maximum runtime, a tool-call budget and a method for cancelling work. Monitor the number of retrievals and repeated model requests. If a job fails after performing a write operation, inspect the destination before retrying it. A stable operation identifier can help the application avoid duplicating records.

OpenAI’s background mode documentation explains current asynchronous request handling. The MCP project documentation describes the protocol independently of a particular model supplier. Check both when implementing a new integration, rather than assuming all features described in the original release remain unchanged.

Our AI agents guide explains the distinction between model decisions and the surrounding application’s control layer. Background execution is useful only if the business can monitor and account for its results.

Handle cancellation and partial completion

A background process may finish one retrieval operation and fail during the next. Store which steps completed, which source records were used and whether any permitted external changes took effect. Cancellation should stop further work where supported, but it should not be assumed to reverse an operation already committed.

Keep the application job identifier separate from the provider’s response identifier. This allows the business to reconcile its own records even if the model service changes. The NCSC’s maintenance guidance provides relevant operational principles. Our ICO agentic AI briefing discusses the additional implications of revocation during outstanding work.