Issuer
Resource metadata
These endpoints help MCP clients discover the protected resources and issuer metadata:- API resource metadata:
https://api.nylio.app/api/public/v1/.well-known/oauth-protected-resource - MCP resource metadata:
https://api.nylio.app/api/public/v1/mcp/.well-known/oauth-protected-resource - Authorization server metadata:
https://api.nylio.app/api/auth/.well-known/oauth-authorization-server - OpenID configuration:
https://api.nylio.app/api/auth/.well-known/openid-configuration
/.well-known/ to the issuer path instead of prepending it. These alternate discovery URLs also work:
https://api.nylio.app/.well-known/oauth-authorization-server/api/authhttps://api.nylio.app/.well-known/openid-configuration/api/auth
Audience
Request access tokens for the MCP audience:Scopes
Request the scopes you need:workspace:readdocument:readdocument:writesearch:read
Dynamic client registration
Nylio supports OAuth Dynamic Client Registration. MCP clients can self-register without pre-shared credentials. Dynamically registered clients receive these default scopes:workspace:readdocument:readdocument:writesearch:read
Connection flow
- Fetch the MCP resource metadata from
https://api.nylio.app/api/public/v1/mcp/.well-known/oauth-protected-resource. - Follow the authorization server metadata link.
- Use the returned
registration_endpointto register the client. - Run the OAuth authorization code flow with PKCE for the MCP audience.