Patricia MCP OAUTH API

The mcp-oauth API from Patricia — 3 operation(s) for mcp-oauth.

GitHub OpenAPI

Operations 3

POST /v1/mcp-oauth/consent/approve Approve an MCP connection request #
POST /v1/mcp-oauth/consent/deny Refuse an MCP connection request #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/patricia-app:patricia-app-mcp-oauth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

patricia-app-mcp-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia MCP OAUTH API
  version: 0.1.0
tags:
- name: mcp-oauth
paths:
  /v1/mcp-oauth/consent:
    get:
      tags:
      - mcp-oauth
      summary: Read a pending MCP connection request
      description: Read the app, workspace and destination behind a pending MCP connection request.
      operationId: read_consent_v1_mcp_oauth_consent_get
      security:
      - HTTPBearer: []
      parameters:
      - name: request
        in: query
        required: true
        schema:
          type: string
          maxLength: 512
          title: Request
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpConsentRequest'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/mcp-oauth/consent/approve:
    post:
      tags:
      - mcp-oauth
      summary: Approve an MCP connection request
      description: Approve a pending MCP connection request and return where to send the browser next.
      operationId: approve_consent_v1_mcp_oauth_consent_approve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/McpConsentDecisionBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpConsentDecision'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/mcp-oauth/consent/deny:
    post:
      tags:
      - mcp-oauth
      summary: Refuse an MCP connection request
      description: Refuse a pending MCP connection request and return where to send the browser next.
      operationId: deny_consent_v1_mcp_oauth_consent_deny_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/McpConsentDecisionBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpConsentDecision'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    McpConsentDecision:
      properties:
        status:
          $ref: '#/components/schemas/McpConsentOutcome'
        redirect_to:
          anyOf:
          - type: string
          - type: 'null'
          title: Redirect To
      type: object
      required:
      - status
      title: McpConsentDecision
      description: Where the dashboard must send the browser next.
    McpConsentDecisionBody:
      properties:
        request:
          type: string
          maxLength: 512
          minLength: 1
          title: Request
      additionalProperties: false
      type: object
      required:
      - request
      title: McpConsentDecisionBody
      description: The parked-request handle, posted by the consent screen.
    ErrorResponse:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        errors:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Errors
      type: object
      required:
      - code
      - message
      title: ErrorResponse
      description: Standard error envelope, matching exception handler output.
    McpConsentRequest:
      properties:
        status:
          $ref: '#/components/schemas/McpConsentStatus'
        client_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Client Name
        client_uri:
          anyOf:
          - type: string
          - type: 'null'
          title: Client Uri
        redirect_host:
          anyOf:
          - type: string
          - type: 'null'
          title: Redirect Host
        scope:
          anyOf:
          - type: string
          - type: 'null'
          title: Scope
        resource:
          anyOf:
          - type: string
          - type: 'null'
          title: Resource
        workspace_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Workspace Name
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
      type: object
      required:
      - status
      title: McpConsentRequest
      description: What the consent screen renders. Every field below ``status`` is absent when it is ``gone``.
    McpConsentOutcome:
      type: string
      enum:
      - approved
      - denied
      - gone
      title: McpConsentOutcome
      description: What a decision call did.
    McpConsentStatus:
      type: string
      enum:
      - pending
      - gone
      title: McpConsentStatus
      description: Whether a parked authorization request is still answerable.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer