generated: '2026-10-18' method: derived source: openapi/plainrouter-openapi.json schemes: - name: agentContextOAuth source: openapi/plainrouter-openapi.json flows: - flow: authorizationCode authorizationUrl: https://plainrouter.com/oauth2/authorize tokenUrl: https://plainrouter.com/oauth2/token description: OAuth access token for an active approved agent principal with mcp:use, ad-account.read and agent.context authorization. Authorization code with PKCE and device authorization tokens are accepted. This scheme applies only to agent context. scopes: - scope: mcp:use description: Use the approved agent principal. flows: - authorizationCode sources: - openapi/plainrouter-openapi.json