Files
2026-07-13 12:39:17 +08:00

301 B

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.