> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xcale.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Authorization server metadata

> Describes the xcale authorization server (RFC 8414): where a client registers, authorizes and exchanges tokens.



## OpenAPI

````yaml /openapi.public.json get /.well-known/oauth-authorization-server
openapi: 3.0.3
info:
  description: >-
    The endpoints a client outside xcale calls to connect to the xcale MCP:
    discovery, client registration, authorization, the token exchange and the
    MCP endpoint.
  title: xcale MCP
  version: 1.0.0
servers:
  - url: https://api.xcale.app
security: []
paths:
  /.well-known/oauth-authorization-server:
    get:
      summary: Authorization server metadata
      description: >-
        Describes the xcale authorization server (RFC 8414): where a client
        registers, authorizes and exchanges tokens.
      operationId: getAuthorizationServerMetadata
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  authorization_endpoint:
                    type: string
                  authorization_response_iss_parameter_supported:
                    description: >-
                      Authorization responses carry the `iss` parameter (RFC
                      9207).
                    type: boolean
                  code_challenge_methods_supported:
                    description: PKCE is required, with the `S256` method.
                    items:
                      enum:
                        - S256
                      type: string
                    type: array
                  grant_types_supported:
                    items:
                      enum:
                        - authorization_code
                        - refresh_token
                      type: string
                    type: array
                  issuer:
                    description: The issuer identifier.
                    type: string
                  registration_endpoint:
                    type: string
                  response_modes_supported:
                    items:
                      enum:
                        - query
                      type: string
                    type: array
                  response_types_supported:
                    items:
                      enum:
                        - code
                      type: string
                    type: array
                  scopes_supported:
                    items:
                      enum:
                        - offline_access
                      type: string
                    type: array
                  token_endpoint:
                    type: string
                  token_endpoint_auth_methods_supported:
                    description: 'Clients are public: no client secret.'
                    items:
                      enum:
                        - none
                      type: string
                    type: array
                required:
                  - issuer
                  - authorization_endpoint
                  - token_endpoint
                  - registration_endpoint
                  - response_types_supported
                  - response_modes_supported
                  - grant_types_supported
                  - code_challenge_methods_supported
                  - token_endpoint_auth_methods_supported
                  - scopes_supported
                  - authorization_response_iss_parameter_supported
                type: object
          description: The authorization server metadata (RFC 8414).
          headers:
            Cache-Control:
              description: The document may be cached for an hour.
              schema:
                type: string
        '503':
          content:
            application/json:
              schema:
                properties:
                  error:
                    enum:
                      - temporarily_unavailable
                    type: string
                  error_description:
                    enum:
                      - connector_disabled
                    type: string
                required:
                  - error
                type: object
          description: The xcale MCP is not enabled on this deployment. Try again later.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.