Skip to main content
GET/.well-known/oauth-protected-resource

Get MCP Discovery

The project's OAuth 2.0 Protected Resource Metadata (RFC 9728) for its MCP endpoint.

An MCP client reads it without a token to learn the resource identifier and which authorization server issues tokens for it.

GET only.

Parameters
projectSlug *path

The project's slug: the path segment after @.

It is unique within the org.

Responses
HTTPK9O CodeDescription
200Success
Response body (200)
resource *string

The canonical URI of this project's MCP endpoint, which a token's audience must match.

authorization_servers *string[]

The authorization servers that issue tokens for this endpoint.

bearer_methods_supported *"header"[]

How a token may be sent: only in the Authorization header, never in the query string.

_k9o_scope_disclosurestring

A notice that agents receive wider access than the minted tool set.

Present only on a deployment that can still issue that wider scope.

cURL
curl -X GET 'https://<org>.api-<region>.k9o.io/@storefront/.well-known/oauth-protected-resource'

Showing example in cURL

Response example (200)
{
  "resource": "string",
  "authorization_servers": [
    "string"
  ],
  "bearer_methods_supported": [
    "header"
  ],
  "_k9o_scope_disclosure": "string"
}

More in MCP