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.
Content
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:
uv run python examples/mcp/streamable_http_remote_example/main.py
Prerequisites:
OPENAI_API_KEYset for the model calls.
Source and license
- Source
- OpenAI Agents SDK
- Original
- openai/openai-agents-python/examples/mcp/streamable_http_remote_example
- License
- MIT