Back to Openai Agents Python

MCP Streamable HTTP Remote Example

examples/mcp/streamable_http_remote_example/README.md

0.17.2384 B
Original Source

MCP Streamable HTTP Remote Example

Python port of the JS examples/mcp/streamable-http-example.ts. It connects to DeepWiki over the Streamable HTTP transport (https://mcp.deepwiki.com/mcp) and lets the agent use those tools.

Run it with:

bash
uv run python examples/mcp/streamable_http_remote_example/main.py

Prerequisites:

  • OPENAI_API_KEY set for the model calls.