> 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/o-auth-discovery/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.docs.modulards.com/_mcp/server. # OAuth discovery The two metadata documents an MCP client reads first: the authorization server, which says where to authorize and register, and the protected resource, which says which authorization server guards the MCP endpoint. Both are public, need no token and are served at the root of the MCP host, without the `/api` prefix. ## API Docs - OAuth discovery [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) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://api.docs.modulards.com/modular-ds-public-api/oauth/o-auth-discovery/openapi.json) - [OpenAPI YAML](https://api.docs.modulards.com/modular-ds-public-api/oauth/o-auth-discovery/openapi.yaml)