The MCP servers a person may attach to a conversation
The servers the deployment offers for attaching (ADR 0024, the toolServers section of config.md), in the order the deployment lists them, then the person's own (ADR 0046), sorted by name: what the picker shows. Neither a URL nor a header nor a credential is in it, nor the allow-list of a server's tools, nor its timeout: the orchestrator calls the server for the agent and holds what it needs. icon is a data: URI the screen draws as it is; an icon at a URL is never offered, and a client never fetches one (open question 38). agents says which agents the server may be attached for, and is absent when it may be attached for every agent: a thread whose agent is not listed is refused (putThreadTools, 422). An empty list is a deployment with nothing to attach. Never cached. It takes thread.write, as attaching does.
A server of the person's own has own: true, a status and, unless it is ready, a reason; a deployment's has none of the three, and in a deployment with the feature off the answer is exactly what it was. ready is a connected server; needs_auth is one that wants a key or an authorization from the person (a call to action, not an error); unavailable is one that is not offered for now, for a reason that clears with its cause. The status is the definition's state and the deployment's rules and asks the credential broker for nothing: a grant that ended is marked by the broker when it learns it, and by the relay when the broker says the credential ended or the server answers 401 or 403, so a server whose token ran out is ready here until then. A ready server of the person's own is attached with putThreadTools (a u- id); one that is not is refused there with a 422 whose code says which kind of reason it is. When a definition of the person's does not read back their own servers are left out of this list, the deployment's stay, and listUserToolServers says why. The same when the store of definitions cannot be read now (it is down): the picker does not fail for it, because it is how the deployment's servers are attached too and they do not depend on the person's definitions; the person's own are missing until the store is back, and listUserToolServers answers 503.
Authorizations
A JWT signed by the configured issuer (RS256, RS384, ES256 or EdDSA), with the configured audience. Read when auth.mode is jwt or jwt_or_proxy_header. A missing or refused token gets 401 with WWW-Authenticate: Bearer; an issuer whose keys cannot be fetched gets 503.
A JWT as bearerToken, bound to the key of the client (cnf.jkt, RFC 7638), sent as Authorization: DPoP <token> with one DPoP header holding a proof signed by that key (RFC 9449, ADR 0054). Read only when auth.dpop is configured. A bad proof gets 401 with WWW-Authenticate: DPoP error="invalid_dpop_proof", algs="ES256 EdDSA", a bad or unbound token error="invalid_token".
Set by oauth2-proxy after OIDC login; requests without it get 401. Read when auth.mode is proxy_header (the default) or jwt_or_proxy_header without a bearer token.
Responses
The servers, the deployment's in its order and then the person's own