OpenAI adds MCP support to Agents SDK

The Model context protocol (MCP) is a standard protocol for providing context to AI models, similar to a USB-C port for connecting devices. There are two types of MCP servers: stdio servers run locally, and HTTP over SSE servers run remotely. The Agents SDK supports MCP servers, allowing them to be added to Agents and call tools from the servers. To improve latency, caching of tools lists can be enabled with the option to invalidate the cache if needed. Tracing automatically captures MCP operations for monitoring. Complete examples can be found in the examples/mcp directory.

https://openai.github.io/openai-agents-python/mcp/

To top