mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
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
This commit is contained in:
committed by
Copybara-Service
parent
2a8fdd94e1
commit
6dcbb5aca6
@@ -0,0 +1,8 @@
|
||||
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:
|
||||
|
||||
```bash
|
||||
uv run header_server.py
|
||||
```
|
||||
Reference in New Issue
Block a user