Skip to content

[DOCS] Document Rust ADK MCP client and MCP_* config #468

Closed

Description

Summary

The Rust ADK now ships an optional MCP (Model Context Protocol) client, matching the Go ADK. It registers two selector tools (mcp_list_tools, mcp_call_tool) onto the agent and adds a new MCP_* configuration surface. User-facing docs should cover this so Rust ADK users can find it alongside the existing Go/TypeScript MCP docs.

Implementing PR: inference-gateway/rust-adk#111 (Rust ADK). Reference: Go ADK docs at https://github.com/inference-gateway/adk/blob/main/docs/mcp.md

Affected pages / topics:

  • The MCP client page (currently Go-centric) should note Rust ADK parity, or a Rust-specific section/example.
  • Config reference: document the MCP_* env vars and defaults (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).
  • Note that only the Streamable HTTP transport is supported (no stdio/subprocess), matching Go.

Acceptance Criteria

  • MCP docs mention Rust ADK support with a short usage example (McpClient::from_config + AgentBuilder::with_mcp_client).
  • MCP_* env vars and defaults are documented for the Rust ADK.
  • Streamable-HTTP-only transport limitation is stated.

Activity

  1. added
    documentation
    on Jul 22, 2026
  2. edenreich commented on Jul 22, 2026

    @edenreich
    Contributor

    @claude Can you document this? use /ponytail:ponytail

  3. added theissue type on Jul 22, 2026
  4. moved this to Todo in 2026on Jul 22, 2026
  5. inference-gateway-maintainer commented on Jul 22, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 5m 26s —— View job • docs/issue-468-20260722-2110 • Create PR ➔


    Documenting Rust ADK MCP client and MCP_* config

    • Read existing mcp.md, rust-adk.md, and Go ADK MCP docs (adk.md)
    • Add ## MCP client section to rust-adk.md (McpClient::from_config + with_mcp_client, selector tools)
    • Add MCP_* env var table + defaults to rust-adk.md environment reference
    • State Streamable-HTTP-only transport limitation
    • Add Rust ADK parity pointer from Go ADK MCP section (adk.md)
    • Validate (lint:md, format:check, build, bun test)
    • Commit

    Done. Changes in commit 83834f3:

    • rust-adk.md - new ## MCP client section: the mcp_list_tools / mcp_call_tool selector-tool pattern, McpClient::from_config + AgentBuilder::with_mcp_client wiring (background connect/refresh, no startup block), and a Limitations block stating Streamable-HTTP-only transport (no stdio/subprocess). Added the full MCP_* env var table with defaults to the environment variable reference, and updated frontmatter + the duration-grammar note.
    • adk.md - one-line parity pointer from the Go ADK MCP section to /rust-adk#mcp-client.

    All acceptance criteria met. Validation: format:check clean, lint:md clean, bun test 11 pass (generated regions untouched), bun run build complete.

    Placement note: this is the ADK MCP client (agent-side selector tools), documented in the Rust ADK reference next to the Go ADK's adk.md#mcp-client. The mcp.md page is the separate gateway MCP middleware, so it was intentionally left alone.

    Scope note: the Rust API in the wiring example (McpConfig, envy::prefixed("MCP_") loading) mirrors the existing artifacts idiom in the same file and the issue's stated McpClient::from_config / with_mcp_client surface. If any identifier differs in rust-adk#111, it's a one-line tweak. WebFetch to the PR was not permitted in this run, so I relied on the issue's explicit API details plus the mirrored Go ADK docs.

    Roadmap board (project #7) was not updated - the Actions bot lacks org-project write per prior runs; not blocking.

    | Branch: docs/issue-468-20260722-2110

  6. added a commit that references this issue on Jul 22, 2026
    83834f3
  7. moved this from Todo to Done in 2026on Jul 23, 2026
  8. inference-gateway-releaser commented on Jul 27, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.5 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions