Skip to content

AgentConfig - auth passthrough between agents. #2740

Closed

Description

@johnkrzywanek

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?

Activity

  1. added
    mcp[Component] This issues is related to MCP support
    on Aug 26, 2025
  2. locked and limited conversation to collaborators on Aug 26, 2025
  3. converted this issue into a discussion #2743 on Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

mcp[Component] This issues is related to MCP support

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions