Accounts & authentication
Discover the MCP resource
GET /.well-known/oauth-protected-resource/mcp
Returns the remote MCP resource, its authorization server, supported scopes and bearer authentication method.
Example request
curl --request GET 'https://commitscale.com/.well-known/oauth-protected-resource/mcp'Example values illustrate the format. Use your own credentials and identifiers.
Responses
200 MCP protected resource metadata.
application/json
{
"authorization_servers": [
"example"
],
"bearer_methods_supported": [
"example"
],
"resource": "example",
"resource_name": "example",
"scopes_supported": [
"example"
]
}authorization_serversrequired · array of stringAuthorization servers that issue tokens for this resource.
Fields of
authorization_serversAuthorization servers that issue tokens for this resource.
Each item has this shape.
bearer_methods_supportedrequired · array of stringSupported ways to send a bearer token.
Fields of
bearer_methods_supportedSupported ways to send a bearer token.
Each item has this shape.
resourcerequired · stringThe MCP resource URL.
resource_namerequired · stringThe resource's human-readable name.
scopes_supportedrequired · array of stringScope names supported by this resource.
Fields of
scopes_supportedScope names supported by this resource.
Each item has this shape.
RateLimit and RateLimit-Policy describe the request rate. Follow Retry-After when a response asks you to wait.
Problem responses
Errors use application/problem+json. Act on the stable code, and follow next when present. See the problem format.
quota_exceeded429With 429, the caller used its requests for the minute. With 422, a count limit was reached.
With 429, wait
Retry-Afterseconds and retry. With 422, remove one first.