Where the browser comes back to after a person authorizes a server of their own
The redirect_uri of the OAuth authorization of a person's own MCP server (ADR 0046, slice 4c). Outside the identity layer: the browser that comes back is the system browser on the desktop and the in-app tab on mobile and carries neither the app's bearer token nor the web's cookie (ADR 0047), so no credential is read (an Authorization header or a cookie is ignored) and the person is found by the state alone: state → (who began, which server, until when), kept when the flow began and taken once. The edge must let a GET of this path through to the orchestrator with no sign-in (the dev stack's and the chart's edges do, since 2026-11-14, and nothing else under /api/user-tool-servers; the chart still renders no userToolServers values: see the rollout steps of the ADR).
The authorization server's redirect is read for code, state, iss (RFC 9207) and error, and nothing else (error_description is never read). A parameter that is one of the four and appears twice makes the request invalid and spends nothing. Then, whatever the outcome from the first callback that finds a pending state on, the state is spent: a callback with error (the person declined), with no code, whose iss the broker refuses (a mix-up), whose code the authorization server refuses, or that cannot be finished now, is over, and the person begins again (authorizeUserToolServer). Otherwise the broker exchanges the code (with the PKCE verifier and the resource), keeps the grant, and the server is made connected. The work runs to its end on the server whether or not the browser waits.
The answer is a small HTML page with fixed text: nothing of the request (not the code, the state, the iss, the error, the server's name or URL, nor the person) is in it. It carries Content-Security-Policy: default-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none' (no script and no style), Referrer-Policy: no-referrer, Cache-Control: no-store, X-Content-Type-Options: nosniff, X-Frame-Options: DENY and X-Robots-Tag: noindex, nofollow. The query is never logged. The page says whether the person can return to the app; the app learns the new status from listToolServers.
HEAD is a 405: a prefetch that asked for the headers must not spend the state. Rate limited with the other public routes, under a key of its own (the Client ID Metadata Document has another, so a flood of one cannot limit the other): a limited request is answered with the same kind of page (429, Retry-After, fixed words, the headers above) and its state is not spent, because it never reached the handler. A callback that takes longer than the API's request timeout is answered with the page "could not be finished" (503) and the same headers; the work runs on to its end.
Parameters
Query Parameters
The authorization code (a secret until it is exchanged). Absent with error
The state of the authorization (a bearer value; it finds the person and the server)
The issuer identifier of the authorization server that answered (RFC 9207), passed to the broker as it came
An OAuth error code: the person declined, or the authorization server refused. Its text is not read
Responses
The server is connected; the page says the person can return to the app