1. Your AI client to Morton Street
The MCP endpoint follows the MCP authorization spec, which is built on OAuth 2.1. Morton Street uses Clerk as the authorization server.- The client calls
https://api.mortonstreet.ai/mcpwithout a token and gets a401with aWWW-Authenticateheader pointing at the protected resource metadata. - It reads
https://api.mortonstreet.ai/.well-known/oauth-protected-resource/mcp, which names the authorization server. - It registers itself, either through dynamic client registration or a client ID metadata document. You never copy a client ID or secret.
- You sign in with your Morton Street account and approve access. PKCE is required.
- The client receives an access token bound to the MCP endpoint (audience-restricted) and sends it with every request.
2. Morton Street to your tools
Every credential is checked with the vendor before it is saved, then stored encrypted in Supabase Vault. It is never shown again in the portal and never sent to your AI client. See Security.