Flow at a glance
- Discovery — the agent fetches
https://api.oviond.com/.well-known/oauth-authorization-serverto learn the auth endpoints. - Client registration — the agent dynamically registers with Oviond (no manual client-secret setup required).
- Authorization request — the agent opens a browser to Oviond’s
/oauth/authorizewith a PKCE challenge. - User consent — you sign in to Oviond and approve the connection scope.
- Token exchange — the agent exchanges the authorization code for an access token via
/oauth/token. - Tool calls — every subsequent MCP request carries
Authorization: Bearer <access_token>.
Token scope
Access tokens are scoped to the signed-in user’s role and allowed projects. The MCP server:- Sees only clients, projects, and data the authenticated user can see in the web app.
- Inherits role restrictions (read-only users can only read via MCP).
- Can’t delete or modify data the user isn’t authorized for.
Token lifetime
- Access tokens last 1 hour.
- Refresh tokens are issued alongside the access token and last 30 days.
- The MCP client auto-refreshes — you won’t be prompted to sign in again during normal usage.
Revoking access
Revoke an MCP client’s access at any time from Account → Connected Apps in Oviond. Revoked tokens stop working immediately — the agent will need to re-authorize on its next tool call.The MCP server does not use the Bearer API keys you create under API Keys. Those are for direct REST API calls. MCP has its own OAuth flow with per-client tokens.