Skip to content

Update ADK doc according to issue #1227 - 2 - MCP Toolset Authentication - #1231

Closed
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260205-185352
Closed

Update ADK doc according to issue #1227 - 2 - MCP Toolset Authentication#1231
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260205-185352

Conversation

@adk-bot

@adk-bot adk-bot commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator

2. Document MCP Toolset Authentication

Doc file: docs/tools-custom/mcp-tools.md

Current state:

Does not mention support for authentication configuration in McpToolset.

Proposed Change:

Add a section "Authentication for Remote MCP Servers".
Explain that McpToolset accepts auth_scheme and auth_credential parameters.
Explain that these are used to generate Authorization headers (Bearer, Basic, API Key) for the MCP connection (useful for SseConnectionParams).

Reasoning:
McpToolset has been updated to support auth_scheme and auth_credential and implements _get_auth_headers to inject them into the session.

Reference: src/google/adk/tools/mcp_tool/mcp_toolset.py

@joefernandez joefernandez changed the title Update ADK doc according to issue #1227 - 2 Update ADK doc according to issue #1227 - 2 - MCP Toolset Authentication Feb 5, 2026
@zyantw zyantw self-assigned this Aug 3, 2026
@zyantw

zyantw commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Closing this in anticipation of this change merging:
#2081 and also duplicate of #1230

@zyantw zyantw closed this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants