Skip to content

[DOCS] Document consolidated spec.agent.mcp block in ADL manifest #469

Closed

Description

@edenreich

Summary

ADL PR #119 consolidated all MCP
configuration in the agent.yaml manifest under a single spec.agent.mcp block:

  • Server declarations moved from spec.agent.mcps[] to spec.agent.mcp.servers[].
  • The MCP client runtime config (enabled, endpoint, refreshInterval, dialTimeout,
    callTimeout, maxRetries, retryInterval, retryMaxInterval) now sits on the same
    mcp block alongside servers.
  • enabled remains required when the mcp block is present.
  • Schema types renamed: MCP (single server) -> MCPServer; MCPClientConfig -> MCP
    (the whole block).

The docs site does not yet document the MCP block in the ADL manifest, so this is a gap to
fill (not a drift fix) - new content should use the consolidated mcp.servers shape from
the start.

Affected pages

  • adl.md - the agent.yaml walkthrough; add an MCP section using spec.agent.mcp.servers.
  • adl-cli.md - the field-by-field schema breakdown, if it enumerates MCP fields.
  • mcp.md - cross-link the manifest-level MCP config if relevant.
  • Confirm operator.md line 60 (mcp.enabled / mcp.servers[]) still matches.

Example to add

spec:
  agent:
    mcp:
      enabled: true
      servers:
        - name: filesystem
          url: http://localhost:3000

Source PR: inference-gateway/adl#119

Acceptance Criteria

  • ADL manifest docs document spec.agent.mcp with servers[] plus the client runtime fields.
  • Examples use the new mcp.servers shape (no mcps[]).
  • enabled is noted as required when the mcp block is present.
  • Any stale mcps[] references across the docs are removed.

Activity

  1. added
    documentation
    on Jul 22, 2026
  2. added theissue type on Jul 22, 2026
  3. moved this to Todo in 2026on Jul 22, 2026
  4. edenreich commented on Jul 22, 2026

    @edenreich
    ContributorAuthor

    @claude Can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Jul 22, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 5m 31s —— View job • docs/issue-469-20260722-2129 • Create PR ➔


    Done - PR #472 opened

    Documented the consolidated spec.agent.mcp block in the ADL manifest docs. New content uses the mcp.servers shape from the start; there were no stale mcps[] references anywhere in the docs to remove.

    • Read affected pages (adl.md, adl-cli.md, mcp.md, operator.md)
    • Confirm no stale mcps[] references exist (none - pure gap-fill)
    • Fetch canonical ADL schema/v1/schema.json for exact MCP field shape
    • adl.md - new "Connecting to MCP servers" section with a spec.agent.mcp.servers example
    • adl-cli.md - new "MCP Servers" schema section (full mcp block + per-server servers[] field tables)
    • mcp.md - callout cross-linking gateway-level vs agent-level (spec.agent.mcp) MCP
    • Validate (lint:md, format:check, build - all pass)
    • Commit and open PR

    Acceptance criteria

    • Documents spec.agent.mcp with servers[] plus the client runtime fields (enabled, endpoint, refreshInterval, dialTimeout, callTimeout, maxRetries, retryInterval, retryMaxInterval), each with its default and A2A_MCP_* env var.
    • Examples use the new mcp.servers shape (no mcps[]).
    • enabled noted as required when the mcp block is present.
    • No stale mcps[] references existed to remove.

    Note on the canonical schema: each entry in servers[] requires a transport field (enum stdio/sse/http) - richer than the issue's shorthand name + url example - so the docs follow the schema (http/sse use url/headers; stdio uses command/args/env). operator.md line 60 already uses the consolidated mcp.enabled / mcp.servers[] shape (that's the Gateway CRD) - confirmed, left unchanged.

    Roadmap board: the project #7 status update (In progress -> QA) could not be applied - the GitHub GraphQL API rate limit is currently exhausted for this installation. Not a permission gap, so no escalation; a maintainer can move the item to QA, or it will be retryable once the limit resets.

  6. moved this from Todo to Done in 2026on Jul 23, 2026
  7. 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