Files
adk-python/contributing/samples/mcp_dynamic_header_agent
Kathy Wu 6dcbb5aca6 feat: Support dynamic per-request headers in MCPToolset
Add a header_provider param which is a callable[ReadonlyContext, Dict[str, Any]] for users to build headers in MCPToolset
fix: https://github.com/google/adk-python/issues/3156
PiperOrigin-RevId: 820412372
2025-10-16 15:12:43 -07:00
..

This agent connects to a local MCP server via Streamable HTTP and provides custom per-request headers to the MCP server.

To run this agent, start the local MCP server first by running:

uv run header_server.py