Protected resource metadata
RFC 9728 metadata naming the authorization server for this API and the scopes it supports.
/.well-known/oauth-protected-resourceSuccess.
resourcestring<uri>requiredThe MCP endpoint these tokens are for.
authorization_serversstring<uri>[]requiredWhere to obtain an access token.
scopes_supportedstring[]requiredbearer_methods_supportedstring[]requiredThe request failed validation. field names the offending input.
statusCodeintegerrequiredHTTP status code, repeated in the body.
codestringrequiredStable machine-readable error code, e.g. SECRET_NOT_FOUND or FORBIDDEN. Branch on this, never on the message.
messagestringrequiredHuman-readable explanation. Wording may change.
fieldstringThe offending request field, present on validation failures.
The resource does not exist, or is not visible to this credential.
statusCodeintegerrequiredHTTP status code, repeated in the body.
codestringrequiredStable machine-readable error code, e.g. SECRET_NOT_FOUND or FORBIDDEN. Branch on this, never on the message.
messagestringrequiredHuman-readable explanation. Wording may change.
fieldstringThe offending request field, present on validation failures.
Rate limited. Retry after the interval named in the response.
statusCodeintegerrequiredHTTP status code, repeated in the body.
codestringrequiredStable machine-readable error code, e.g. SECRET_NOT_FOUND or FORBIDDEN. Branch on this, never on the message.
messagestringrequiredHuman-readable explanation. Wording may change.
fieldstringThe offending request field, present on validation failures.
Unexpected server error. The body never carries internal detail.
statusCodeintegerrequiredHTTP status code, repeated in the body.
codestringrequiredStable machine-readable error code, e.g. SECRET_NOT_FOUND or FORBIDDEN. Branch on this, never on the message.
messagestringrequiredHuman-readable explanation. Wording may change.
fieldstringThe offending request field, present on validation failures.