-
Notifications
You must be signed in to change notification settings - Fork 3.2k
AgentConfig - auth passthrough between agents. #2740
Copy link
Copy link
Closed
Labels
mcp[Component] Issues about MCP support[Component] Issues about MCP support
Description
Hi, hope that it's the right place to ask questions about this, but it's not clear from the Agent Config docs.
My goal is to have a root_agent and a few sub_agents, where those sub_agents will be connected to MCP servers ( ideally via ADK's included MCPToolkit).
An external client will send a prompt to the root_agent along with the Authorization: Bearer token in a header. I'd like for this auth token to be passed to sub_agents and then also passed through to the MCP server, which will use it to authorize to an upstream API.
Is something like this possible with the current Agent Config implementation? If so, how exactly should I configure this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
mcp[Component] Issues about MCP support[Component] Issues about MCP support