Skip to content

docs(mcp): platform runbook — managed token + authorize URL + curl reference#346

Merged
initializ-mk merged 2 commits into
mainfrom
docs/mcp-platform-consent-runbook
Jul 19, 2026
Merged

docs(mcp): platform runbook — managed token + authorize URL + curl reference#346
initializ-mk merged 2 commits into
mainfrom
docs/mcp-platform-consent-runbook

Conversation

@initializ-mk

Copy link
Copy Markdown
Contributor

Updates the platform-integrator runbook (docs/mcp/delegated-consent.md) for the managed delegated-consent flow — how a platform enables the auth gate, provides the access token, and provides the authorization URL, with a curl reference for every call.

What's added

  • Deploy-time platform blocktoken_endpoint + authorize_endpoint + agent_identity, and what activates the gate (auth.type: user).
  • §2 "The two platform endpoints" — both take {server, subject} (Bearer agent identity + tenancy headers):
    • token_endpoint200 {access_token, expires_in} when granted; 401/403/404 = "no grant yet" which trips the gate. Never returns the refresh token.
    • authorize_endpoint{authorize_url} built with the platform's own client_id/redirect_uri/state/PKCE (Forge treats it opaque; https-only; the code + refresh token land at the platform's callback).
  • Reference — curl — copy-paste examples for token_endpoint, authorize_endpoint, and the POST /mcp/consent resume.
  • §4 "Two delivery models" — Forge-delivers-over-Slack (set authorize_endpoint + --with slack) vs platform-delivers (consume mcp_auth_required); either way token custody stays with the platform.
  • Refreshed migration checklist.

Notes

…rize URL (#343)

Update the platform-integrator runbook for the managed authorize_endpoint
contract (#343). Adds the deploy-time platform block (token_endpoint +
authorize_endpoint + agent_identity), a "two platform endpoints" section
documenting both request/response shapes ({server, subject} → token / 401-parks;
{server, subject} → {authorize_url}), and a "two delivery models" comparison
(Forge-delivers-over-Slack vs platform-delivers). Notes the token/refresh-token
boundary, the https authorize_url requirement, the durable A2A-artifact record,
and the Cancel fast-fail. Refreshed the migration checklist.
…L + curl

Update docs/mcp/delegated-consent.md for the managed authorize_endpoint flow
(#343): the deploy-time platform block (token_endpoint + authorize_endpoint +
agent_identity), a "two platform endpoints" section documenting both request/
response shapes ({server, subject} → token / 401-parks; → {authorize_url}), a
curl reference for both endpoints + the /mcp/consent resume, and a "two delivery
models" comparison (Forge-delivers-over-Slack vs platform-delivers). Refreshed
the migration checklist.
@initializ-mk
initializ-mk merged commit 7e7df59 into main Jul 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant