> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://api.docs.modulards.com/modular-ds-public-api/oauth/llms.txt. # Authentication OAuth endpoints for developers building an MCP client, such as an AI assistant that works on Modular DS for its users. A client discovers where to authorize, registers itself and then sends the user through the authorization flow. These routes live at the root of the MCP host, outside `/api/public/v1`, and scripts that call the Public API with a personal access token never use them (see [Authentication](https://api.docs.modulards.com/authentication)). ## Docs - [OAuth discovery](https://api.docs.modulards.com/modular-ds-public-api/oauth/o-auth-discovery.md) - [Client registration](https://api.docs.modulards.com/modular-ds-public-api/oauth/client-registration.md) ## API Docs - [Retrieve the authorization server metadata](https://api.docs.modulards.com/modular-ds-public-api/oauth/o-auth-discovery/retrieve-the-authorization-server-metadata.md): OAuth discovery - [Retrieve the authorization server metadata (path form)](https://api.docs.modulards.com/modular-ds-public-api/oauth/o-auth-discovery/retrieve-the-authorization-server-metadata-path-form.md): OAuth discovery - [Retrieve the protected resource metadata](https://api.docs.modulards.com/modular-ds-public-api/oauth/o-auth-discovery/retrieve-the-protected-resource-metadata.md): OAuth discovery - [Register an MCP client](https://api.docs.modulards.com/modular-ds-public-api/oauth/client-registration/register-an-mcp-client.md): Client registration ## OpenAPI Specification - [OpenAPI JSON](https://api.docs.modulards.com/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://api.docs.modulards.com/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format