Skip to navigation

Retrieve the authorization server metadata

View as MarkdownOpen in Claude

Returns the OAuth authorization server metadata (RFC 8414) of Modular DS: the issuer, the authorization, token and registration endpoints, and what the server supports. An MCP client reads it to learn where to send the user to authorize and where to register.

The server supports the authorization code flow with PKCE (S256) and refresh tokens, and advertises the scopes mcp:use and offline_access. Asking for any other scope makes the authorization request fail with invalid_scope.

Public, served at the root of the MCP host, without the /api prefix.

Response

This endpoint returns an object.
issuerstringOptional
Address of the authorization server.
authorization_endpointstringOptional
Address where the user approves the client.
token_endpointstringOptional
Address where the client exchanges a code or a refresh token for an access token.
registration_endpointstringOptional
Address where a client registers itself.
response_types_supportedlist of enumsOptional

Response types the server supports; always code.

Allowed values:
code_challenge_methods_supportedlist of enumsOptional

PKCE methods the server supports; always S256.

Allowed values:
scopes_supportedlist of stringsOptional

Scopes a client can request: mcp:use and offline_access.

grant_types_supportedlist of enumsOptional

Grant types the server supports: authorization_code and refresh_token.

Allowed values: