Artificial Wit MCP OAUTH API

The mcp-oauth API from Artificial Wit — 7 operation(s) for mcp-oauth.

Operations 7

GET /.well-known/oauth-protected-resource Oauth Protected Resource #
GET /.well-known/oauth-authorization-server Oauth Authorization Server #
POST /oauth/register Oauth Register #
GET /oauth/authorize Oauth Authorize #
POST /oauth/authorize-submit Oauth Authorize Submit #
POST /oauth/authorize-submit-credentials Oauth Authorize Submit Credentials #
POST /oauth/token Oauth Token #

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/artificialwit-com:artificialwit-com-mcp-oauth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

artificialwit-com-mcp-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AI Agent MCP OAUTH API
  version: 1.0.0
tags:
- name: mcp-oauth
paths:
  /.well-known/oauth-protected-resource:
    get:
      tags:
      - mcp-oauth
      summary: Oauth Protected Resource
      description: 'RFC 9728 — Protected Resource Metadata.


        Claude.ai calls this immediately after receiving a 401 from /mcp.'
      operationId: oauth_protected_resource__well_known_oauth_protected_resource_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /.well-known/oauth-authorization-server:
    get:
      tags:
      - mcp-oauth
      summary: Oauth Authorization Server
      description: RFC 8414 — Authorization Server Metadata.
      operationId: oauth_authorization_server__well_known_oauth_authorization_server_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /oauth/register:
    post:
      tags:
      - mcp-oauth
      summary: Oauth Register
      description: 'Claude.ai registers itself as an OAuth client dynamically.


        Returns a client_id — no client_secret needed (public client + PKCE).'
      operationId: oauth_register_oauth_register_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /oauth/authorize:
    get:
      tags:
      - mcp-oauth
      summary: Oauth Authorize
      description: Renders the API-key / email-password entry form for the user.
      operationId: oauth_authorize_oauth_authorize_get
      parameters:
      - name: redirect_uri
        in: query
        required: true
        schema:
          type: string
          title: Redirect Uri
      - name: client_id
        in: query
        required: true
        schema:
          type: string
          title: Client Id
      - name: code_challenge
        in: query
        required: true
        schema:
          type: string
          title: Code Challenge
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      - name: code_challenge_method
        in: query
        required: false
        schema:
          type: string
          default: S256
          title: Code Challenge Method
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/authorize-submit:
    post:
      tags:
      - mcp-oauth
      summary: Oauth Authorize Submit
      description: Stores the API key against a short-lived code and redirects back to Claude.
      operationId: oauth_authorize_submit_oauth_authorize_submit_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_oauth_authorize_submit_oauth_authorize_submit_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/authorize-submit-credentials:
    post:
      tags:
      - mcp-oauth
      summary: Oauth Authorize Submit Credentials
      description: 'Authenticates via Supabase email/password, resolves the user''s API key,

        then hands off to the same code-issuing path as the API-key form.'
      operationId: oauth_authorize_submit_credentials_oauth_authorize_submit_credentials_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_oauth_authorize_submit_credentials_oauth_authorize_submit_credentials_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/token:
    post:
      tags:
      - mcp-oauth
      summary: Oauth Token
      description: 'Exchanges the authorization code for a Bearer access token (= the API key).


        The returned access_token IS the user''s API key, so the existing x_api_key

        check in mcp_router.py can validate it directly once that endpoint is updated

        to also accept Authorization: Bearer .'
      operationId: oauth_token_oauth_token_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_oauth_token_oauth_token_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Body_oauth_token_oauth_token_post:
      properties:
        grant_type:
          type: string
          title: Grant Type
        code:
          type: string
          title: Code
        redirect_uri:
          type: string
          title: Redirect Uri
          default: ''
        client_id:
          type: string
          title: Client Id
          default: ''
        code_verifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Code Verifier
      type: object
      required:
      - grant_type
      - code
      title: Body_oauth_token_oauth_token_post
    Body_oauth_authorize_submit_credentials_oauth_authorize_submit_credentials_post:
      properties:
        redirect_uri:
          type: string
          title: Redirect Uri
        state:
          type: string
          title: State
          default: ''
        client_id:
          type: string
          title: Client Id
        code_challenge:
          type: string
          title: Code Challenge
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - redirect_uri
      - client_id
      - code_challenge
      - email
      - password
      title: Body_oauth_authorize_submit_credentials_oauth_authorize_submit_credentials_post
    Body_oauth_authorize_submit_oauth_authorize_submit_post:
      properties:
        redirect_uri:
          type: string
          title: Redirect Uri
        state:
          type: string
          title: State
          default: ''
        client_id:
          type: string
          title: Client Id
        code_challenge:
          type: string
          title: Code Challenge
        api_key:
          type: string
          title: Api Key
      type: object
      required:
      - redirect_uri
      - client_id
      - code_challenge
      - api_key
      title: Body_oauth_authorize_submit_oauth_authorize_submit_post
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer