Skip to content

ACP: accept client-provided streaming-HTTP MCP servers #7

Closed

Description

@JAORMX

What's missing

The ACP adapter hard-rejects all client-provided MCP servers in session/new — including streaming-HTTP ones that mecatl is fully capable of consuming. mcpCapabilities is advertised {http:false, sse:false}.

Validated (independent cross-check, flagged by both reviewers):

  • rejectClientMCP rejects every client mcpServers entry; stdio is hard-rejected (correct — "no stdio MCP, ever"), but URL/streaming-HTTP servers are also rejected as deferred (internal/adapter/acp/agent.go).
  • mcpCapabilities{HTTP:false, SSE:false} advertised at initialize (agent.go).

Proposed approach

Accept client-provided streaming-HTTP MCP servers from session/new (mount them onto the session's MCP manager) and advertise mcpCapabilities.http: true. Continue to hard-reject stdio/command MCP servers (per the project invariant). Medium.

Part of ACP Phase 3 long-tail (docs/adr/0001-acp-adapter.md).

Activity

  1. JAORMX commented on Jun 1, 2026

    @JAORMX
    ContributorAuthor

    Slice A done in 4baf34a: client streaming-HTTP MCP servers are accepted on session/new, mounted into a per-session engine via a new leak-free SessionEngineFactory seam (no per-session manager existed — a global mount would have leaked tools+auth across sessions). stdio + sse hard-rejected; http:true advertised; URLs validated (https / http-loopback); auth headers origin-scoped against cross-origin redirects; bounded to 8 servers × 10s. Panel-reviewed across all four axes + a focused re-review confirming byte-identical main-engine parity.

    session/load re-mount and mid-session teardown are tracked as #9 rather than left as a silent ADR deferral.

  2. 41 remaining items

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions