openai-agents-python/examples/mcp/sse_example
Toufik Airane 757b7dafb1
Update README.md (#405)
fix typo
2025-04-01 11:50:40 -04:00
..
main.py MCP example for SSE (#354) 2025-03-26 12:56:35 -04:00
README.md Update README.md (#405) 2025-04-01 11:50:40 -04:00
server.py MCP example for SSE (#354) 2025-03-26 12:56:35 -04:00

MCP SSE Example

This example uses a local SSE server in server.py.

Run the example via:

uv run python examples/mcp/sse_example/main.py

Details

The example uses the MCPServerSse class from agents.mcp. The server runs in a sub-process at https://localhost:8000/sse.