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
{{ message }}
Repository navigation
[DOCS] Document spec.agent.mcp MCP client generation in adl-cli #473
adl-cli now generates the ADK MCP client from the consolidated spec.agent.mcp block (adl-cli PR inference-gateway/adl-cli#317, closing inference-gateway/adl-cli#310). When spec.agent.mcp.enabled is true on a Go agent, adl generate wires an MCPClientManager into main.go (registering the mcp_list_tools / mcp_call_tool selector tools) and emits the A2A_MCP_* defaults into .env.example. A2A_MCP_SERVERS is derived from the http servers' base URLs.
The docs should cover this user-facing manifest feature. Key points:
Each field maps 1:1 to an A2A_MCP_* env var; the manifest value is the emitted default, overridden at runtime. Defaults: endpoint=/mcp, refreshInterval=5m, dialTimeout=30s, callTimeout=30s, maxRetries=0, retryInterval=2s, retryMaxInterval=30s.
Limitation: the ADK MCP client is Go-only and streamable-HTTP-only. stdio/sse servers are dropped from A2A_MCP_SERVERS (the validator warns), and the block is ignored for TypeScript/Rust agents.
Affected pages
adl-cli reference / features page (MCP client section, alongside Telemetry)
Any spec.agent manifest reference that lists sub-blocks
Acceptance Criteria
Document the spec.agent.mcp block and its fields with defaults
Document the A2A_MCP_* runtime env-var mapping and A2A_MCP_SERVERS derivation
Document the Go-only, HTTP-only limitation and stdio/sse handling
Finding: the spec.agent.mcp block, its fields, defaults, and the full A2A_MCP_* env-var mapping table were already documented in the "MCP Servers" section of adl-cli.md (added in 86078ec). So acceptance criteria 1 and the env-var-mapping half of criterion 2 were already met.
What I added (one focused note under the existing servers[] table, no duplication):
A2A_MCP_SERVERS is derived from the base URLs of the http servers.
adl generate wires an MCPClientManager into a Go agent's main.go, registering the mcp_list_tools / mcp_call_tool selector tools and emitting the A2A_MCP_* defaults into .env.example.
The ADK MCP client is streamable-HTTP-only: stdio and sse servers are dropped from A2A_MCP_SERVERS (validator warns per server).
The whole block is ignored for TypeScript/Rust agents (validator warns), mirroring how spec.telemetry treats Rust.
Note: The Roadmap board (project #7) status could not be flipped to QA - the org-project GraphQL API was rate-limited this run (transient, not a permission gap). A maintainer may need to move it manually.
· Branch docs/issue-473-20260723-0957
Activity
edenreich commentedon Jul 23, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Jul 23, 2026
Claude finished @edenreich's task in 4m 8s —— View job •
docs/issue-473-20260723-0957• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-473-20260723-0957?quick_pull=1&title=Issue%20%23473%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23473%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented
spec.agent.mcpMCP client generationadl-cli.mdto find the Telemetry &spec.agentreference sectionsA2A_MCP_SERVERSderivationformat:check,lint:md,build(all pass)Finding: the
spec.agent.mcpblock, its fields, defaults, and the fullA2A_MCP_*env-var mapping table were already documented in the "MCP Servers" section ofadl-cli.md(added in86078ec). So acceptance criteria 1 and the env-var-mapping half of criterion 2 were already met.What I added (one focused note under the existing
servers[]table, no duplication):A2A_MCP_SERVERSis derived from the base URLs of thehttpservers.adl generatewires anMCPClientManagerinto a Go agent'smain.go, registering themcp_list_tools/mcp_call_toolselector tools and emitting theA2A_MCP_*defaults into.env.example.stdioandsseservers are dropped fromA2A_MCP_SERVERS(validator warns per server).spec.telemetrytreats Rust.Details verified against adl-cli PR #317.
PR: #475
Note: The Roadmap board (project #7) status could not be flipped to QA - the org-project GraphQL API was rate-limited this run (transient, not a permission gap). A maintainer may need to move it manually.
· Branch
docs/issue-473-20260723-0957inference-gateway-releaser commentedon Jul 27, 2026
🎉 This issue has been resolved in version 0.9.5 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀