AlphaAI OAuth API
The Oauth API from AlphaAI — 8 operation(s) for oauth.
The Oauth API from AlphaAI — 8 operation(s) for oauth.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/alphaai:alphaai-oauth-api"
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.
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: 3.2.0
info:
title: AlphAI MCP OAuth API
version: 0.1.0
tags:
- name: OAuth
paths:
/oauth/register:
post:
summary: Oauth Register
operationId: oauth_register_oauth_register_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- OAuth
/oauth/authorize:
get:
summary: Oauth Authorize
operationId: oauth_authorize_oauth_authorize_get
parameters:
- name: response_type
in: query
required: true
schema:
type: string
title: Response Type
- name: client_id
in: query
required: true
schema:
type: string
title: Client Id
- name: redirect_uri
in: query
required: true
schema:
type: string
title: Redirect Uri
- name: code_challenge
in: query
required: true
schema:
type: string
title: Code Challenge
- name: code_challenge_method
in: query
required: true
schema:
type: string
title: Code Challenge Method
- name: scope
in: query
required: false
schema:
type: string
default: tools.read
title: Scope
- name: state
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: State
- name: handoff
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Handoff
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/authorize/consent:
post:
summary: Oauth Authorize Consent
operationId: oauth_authorize_consent_oauth_authorize_consent_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_oauth_authorize_consent_oauth_authorize_consent_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/token:
post:
summary: Oauth Token
operationId: oauth_token_oauth_token_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_oauth_token_oauth_token_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/revoke:
post:
summary: Oauth Revoke
operationId: oauth_revoke_oauth_revoke_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_oauth_revoke_oauth_revoke_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/introspect:
post:
summary: Oauth Introspect
description: 'RFC 7662 introspection — INTERNAL ONLY.
Per RFC 7662 §2.1 this endpoint must authenticate the caller. We require
an HMAC over ``f''{ts}:{token}''`` using ``MCP_BACKEND_SHARED_SECRET`` in
headers ``X-Internal-Sig`` + ``X-Internal-Ts``. Public OAuth clients are
expected to use the JWT directly (audience/issuer validation gives them
everything they need); this endpoint exists for the backend''s own use.'
operationId: oauth_introspect_oauth_introspect_post
parameters:
- name: X-Internal-Ts
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Ts
- name: X-Internal-Sig
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Sig
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_oauth_introspect_oauth_introspect_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/internal/users/{user_id}/grants:
get:
summary: Internal List User Grants
operationId: internal_list_user_grants_oauth_internal_users__user_id__grants_get
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
- name: X-Internal-Ts
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Ts
- name: X-Internal-Sig
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Sig
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
/oauth/internal/users/{user_id}/grants/{client_id}:
delete:
summary: Internal Revoke User Grant
operationId: internal_revoke_user_grant_oauth_internal_users__user_id__grants__client_id__delete
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
- name: client_id
in: path
required: true
schema:
type: string
title: Client Id
- name: X-Internal-Ts
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Ts
- name: X-Internal-Sig
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Sig
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- OAuth
components:
schemas:
Body_oauth_revoke_oauth_revoke_post:
properties:
token:
type: string
title: Token
client_id:
anyOf:
- type: string
- type: 'null'
title: Client Id
type: object
required:
- token
title: Body_oauth_revoke_oauth_revoke_post
Body_oauth_token_oauth_token_post:
properties:
grant_type:
type: string
title: Grant Type
default: ''
code:
anyOf:
- type: string
- type: 'null'
title: Code
code_verifier:
anyOf:
- type: string
- type: 'null'
title: Code Verifier
redirect_uri:
anyOf:
- type: string
- type: 'null'
title: Redirect Uri
refresh_token:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
client_id:
anyOf:
- type: string
- type: 'null'
title: Client Id
type: object
title: Body_oauth_token_oauth_token_post
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_introspect_oauth_introspect_post:
properties:
token:
type: string
title: Token
type: object
required:
- token
title: Body_oauth_introspect_oauth_introspect_post
Body_oauth_authorize_consent_oauth_authorize_consent_post:
properties:
intent:
type: string
title: Intent
csrf:
type: string
title: Csrf
decision:
type: string
title: Decision
type: object
required:
- intent
- csrf
- decision
title: Body_oauth_authorize_consent_oauth_authorize_consent_post
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError