You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Go ADK now ships an optional MCP client: an A2A server's agent can connect to MCP servers (streamable HTTP), discover their tools, and invoke them through two selector tools (mcp_list_tools, mcp_call_tool) that keep only tool metadata in the LLM context. It is feature-flagged (MCP_ENABLE, default off) and includes retry + polling backoff for cloud-native resilience.
Implemented in inference-gateway/adk PR #251 (closes inference-gateway/adk#152). The user-facing docs site should cover this so it is discoverable beyond the in-repo docs/mcp.md.
Affected pages / additions:
A new "MCP client" page under the ADK section: the selector pattern, wiring (NewMCPClientManager / Start / RegisterTools), and the LLM-required guard.
Add MCP client section under the Go ADK docs (selector pattern + wiring + LLM guard)
Document MCP_* env vars in the ADK configuration reference
Link the examples/mcp example and cross-reference from the tools docs
Lint / format / build (all pass)
Commit and open PR
What changed (adk.md)
New ## MCP client section (right after Tools and the ToolBox): the selector pattern - mcp_list_tools / mcp_call_tool keep only the tool metadata the model asks for in the LLM context - plus wiring (NewMCPClientManager / Start / RegisterTools), the LLM-backed-agent guard, resilience (connection retries + polling backoff), and limitations (HTTP-only, single-page listing, tools only).
New MCP_ block in the Configuration reference documenting all nine env vars (MCP_ENABLE, MCP_SERVERS, MCP_ENDPOINT, MCP_REFRESH_INTERVAL, MCP_DIAL_TIMEOUT, MCP_CALL_TIMEOUT, MCP_MAX_RETRIES, MCP_RETRY_INTERVAL, MCP_RETRY_MAX_INTERVAL), with a note that the prefix is A2A_MCP_ when the ADK config is nested under A2A_.
Linked examples/mcp in the Examples table (count bumped to seventeen) and cross-referenced the MCP client from the Tools section.
Design note
I put this in adk.md rather than a brand-new page: the sidebar has a single "Go ADK" entry, and Tools, Configuration reference, and Examples are all in-page ## sections there - so an in-page ## MCP client section matches the repo convention and is discoverable via the page outline. The root mcp.md is a different feature (the Gateway MCP middleware) and was left untouched.
bun run format, bun run lint:md, and bun run build all pass.
Heads up: the org-wide GitHub API rate limit is currently exhausted, so I couldn't move the roadmap board item to QA - that's a transient limit (not a permission issue) and can be set manually.
Activity
edenreich commentedon Jul 22, 2026
@claude Can you document this?
inference-gateway-maintainer commentedon Jul 22, 2026
Claude finished @edenreich's task in 4m 55s —— View job •
docs/issue-462-20260722-1601Documented the ADK MCP client
Done. All three acceptance criteria are covered, entirely within
adk.md(the Go ADK page).docs/mcp.md)MCP_*env vars in the ADK configuration referenceexamples/mcpexample and cross-reference from the tools docsWhat changed (
adk.md)## MCP clientsection (right after Tools and the ToolBox): the selector pattern -mcp_list_tools/mcp_call_toolkeep only the tool metadata the model asks for in the LLM context - plus wiring (NewMCPClientManager/Start/RegisterTools), the LLM-backed-agent guard, resilience (connection retries + polling backoff), and limitations (HTTP-only, single-page listing, tools only).MCP_block in the Configuration reference documenting all nine env vars (MCP_ENABLE,MCP_SERVERS,MCP_ENDPOINT,MCP_REFRESH_INTERVAL,MCP_DIAL_TIMEOUT,MCP_CALL_TIMEOUT,MCP_MAX_RETRIES,MCP_RETRY_INTERVAL,MCP_RETRY_MAX_INTERVAL), with a note that the prefix isA2A_MCP_when the ADK config is nested underA2A_.examples/mcpin the Examples table (count bumped to seventeen) and cross-referenced the MCP client from the Tools section.Design note
I put this in
adk.mdrather than a brand-new page: the sidebar has a single "Go ADK" entry, and Tools, Configuration reference, and Examples are all in-page##sections there - so an in-page## MCP clientsection matches the repo convention and is discoverable via the page outline. The rootmcp.mdis a different feature (the Gateway MCP middleware) and was left untouched.bun run format,bun run lint:md, andbun run buildall pass.Heads up: the org-wide GitHub API rate limit is currently exhausted, so I couldn't move the roadmap board item to QA - that's a transient limit (not a permission issue) and can be set manually.
Create a PR - already opened as #463.
| Branch: docs/issue-462-20260722-1601
inference-gateway-releaser commentedon Jul 22, 2026
🎉 This issue has been resolved in version 0.9.4 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀