Skip to content

[DOCS] Redis queue storage and the MCP client are opt-in subpackages #1158

Closed

Description

@inference-gateway-maintainer

Summary

The ADK made the Redis queue storage backend and the MCP HTTP client opt-in subpackages in inference-gateway/adk#432 (resolves inference-gateway/adk#422). Consumers now link them explicitly, and a configured but unlinked backend fails at startup naming the import to add instead of silently falling back to in-memory storage. The docs still read as if these backends are always bundled, so the pages below need the opt-in imports and the new startup behavior once the PR merges.

Pages to update:

  • README.md storage configuration section: document the blank import _ "github.com/inference-gateway/adk/server/storage/redis" required for QUEUE_PROVIDER=redis and the startup refusal (with the import named in the error) for an unlinked provider
  • README.md MCP client configuration section: document the import http "github.com/inference-gateway/adk/server/mcp/http" plus server.WithMCPClientFactory(http.NewHTTPMCPClient) and the construction error when MCP_ENABLED=true and MCP_SERVERS are set with no client wired
  • docs/mcp.md wiring and limitations sections: reflect the opt-in transport subpackage and the exported MCPToolCaller / MCPToolEntry seam for custom transports
  • The QUEUE_* and MCP_* env variable names and defaults are unchanged, but each page listing them must show the opt-in import next to the feature

Acceptance Criteria

  • README storage section shows the Redis subpackage blank import and explains that QUEUE_PROVIDER=redis without it fails startup naming the import
  • README MCP section and docs/mcp.md show the mcp/http import, the WithMCPClientFactory wiring, and the startup error without a wired client
  • docs/mcp.md documents the exported MCPToolCaller and MCPToolEntry seams for custom transports
  • No page claims Redis storage or MCP tools work without the opt-in import

Activity

  1. added
    documentation
    on Nov 9, 2026
  2. edenreich commented on Nov 9, 2026

    @edenreich
    Contributor

    @claude can you document this?

  3. inference-gateway-maintainer commented on Nov 9, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 54s —— View job • docs/issue-1158-20261109-2248 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1158-20261109-2248?quick_pull=1&title=Issue%20%231158%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231158%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented the opt-in subpackages

    • Read the issue and repo instructions
    • Located the sections: this site documents the Go ADK on adk.md (there is no ADK docs/mcp.md here, and mcp.md covers the gateway's own MCP middleware, which is unaffected)
    • Redis blank import + startup refusal
    • mcp/http import, WithMCPClientFactory wiring, construction error
    • MCPToolCaller / MCPToolEntry seams for custom transports
    • lint:md, format:check, build all pass
    • Committed and opened the PR

    All of it landed in adk.md:

    • Installation - a second table listing the two opt-in subpackages and the feature each is required for.
    • Storage backends - the blank import _ "github.com/inference-gateway/adk/server/storage/redis", and that QUEUE_PROVIDER=redis (or any unregistered provider) without it makes Start() fail naming the import. Empty QUEUE_PROVIDER still defaults to in-memory, and a linked-but-unreachable Redis keeps the warn + in-memory fallback.
    • MCP client - the wiring sample imports http "github.com/inference-gateway/adk/server/mcp/http" and passes server.WithMCPClientFactory(http.NewHTTPMCPClient); the construction error with MCP_ENABLED=true + MCP_SERVERS and no client wired is spelled out.
    • Custom transports - new subsection for the exported MCPToolCaller / MCPToolEntry seams; the Limitations list now points at it instead of implying HTTP is the only possible transport.
    • Configuration reference - MCP_ENABLED row plus a note under the MCP_ block covering both imports. Env names and defaults unchanged, as the issue states.

    Note: the upstream ADK PR is still open, so the imports documented here only exist once it ships - worth merging in step with it.

    PR: #1161
    | Branch

  4. moved this from Todo to In progress in 2026on Nov 9, 2026
  5. moved this from In progress to QA in 2026on Nov 9, 2026
  6. moved this from QA to Done in 2026on Nov 9, 2026
  7. inference-gateway-releaser commented on Nov 10, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.25 🎉

    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

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions