Repository navigation
Closed as not planned
Labels
Description
Depends on: #2536, #2538, #2811 (fixture on the pinned ToolHive version), #2539, #2812
Problem
Slice 4 is tested against the embedded gateway only. Nothing proves Mecatl works with a gateway it does not run, so external mode would first be exercised in a customer deployment.
Design
- mcp-gateway-modes.md: Integration requirements and evidence limits
- mcp-gateway-modes.md: Gateway administrator configuration
- implementation.md: Credential verification
Requirements
- A kind fixture with a separately deployed ToolHive gateway (its own AS-2, vMCP, and test provider), configured as "Gateway administrator configuration" lists, plus: the approval-record subject mode for AS-1 (Delegated access: subject mapping at ID-JAG redemption toolhive#6887), the same subject claim as AS-1, administrator pre-approval, and per-user connections. The
mecatlclient's inline public key set uses operator-supplied keys from Keys and gateway entries for the identity broker #2538, since the generated broker client key (internal/app/identitybroker.go) changes on every mecak8s restart. A second source issuer without a shared IdP exercises the plain refusal. Start from the existingdeploy/mecak8s-vmcpfixture. - An end-to-end test, run in CI, covering:
- administrator pre-approval: with it turned on for the user's group, the first call redeems with no link;
- no shared IdP: a source issuer that does not share AS-2's company IdP gets a plain
invalid_grantwith no link, and the call fails as a gateway error with no prompt; - unapproved user: a user the administrator has not pre-approved gets a fail-closed gateway error with no link and no prompt;
- revocation: revoking the approval stops new gateway tokens; calls stop once the issued token expires;
- once pre-approved and connected, calls succeed with the user's own credential and a token naming the user and the agent; another user's calls never use it.
- The test runs against the ToolHive version mecak8s pins, for mecak8s and the separately deployed gateway alike. Move the separately deployed gateway fixture to the pinned ToolHive version #2811 moves the
deploy/mecak8s-vmcpfixture to that version.
How it fits
CI evidence that external mode works, and the fixture #2812 is checked against. The approval-link cases are #2735's.
Done when
The fixture and test run in CI and pass with #2539 and #2812 merged.
Activity
ChrisJBurns commentedon Nov 18, 2026
Merged into #2812.