API

McpOauth

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/mcp/oauth/consent create Validated client callback URL
POST /api/v1/mcp/oauth/register create Success
POST /api/v1/mcp/oauth/revoke create Success
POST /api/v1/mcp/oauth/token create Success
GET /api/v1/mcp/oauth/consent load Verified client request and accessible Verify organizations
GET /api/v1/mcp/oauth/authorize load Success

Fields

Field Type Required Description

create

POST /api/v1/mcp/oauth/consent

Operation ID: post_api_v1_mcp_oauth_consent.

Authentication: bearer token (bearerAuth).

Request body

application/json

Property Type Required Description
all_organizations boolean No Approve access to all organizations the signed-in user can access, including future memberships. Defaults to false; otherwise organization_id is required.
approve boolean Yes
organization_id string No
request string Yes

Responses

200: Validated client callback URL

application/json

Property Type Required Description
redirect_url string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/mcp/oauth/register

Operation ID: api_v1_mcp_oauth_register.

Authentication: bearer token (bearerAuth).

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/mcp/oauth/revoke

Operation ID: api_v1_mcp_oauth_revoke.

Authentication: bearer token (bearerAuth).

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/mcp/oauth/token

Operation ID: api_v1_mcp_oauth_token.

Authentication: bearer token (bearerAuth).

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

load

GET /api/v1/mcp/oauth/consent

Operation ID: api_v1_mcp_oauth_consent.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
request query string Yes

Responses

200: Verified client request and accessible Verify organizations

application/json

Property Type Required Description
client_name string Yes
organizations array of object Yes
organizations[].id string Yes
organizations[].name string Yes
redirect_uri string Yes
scope string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

GET /api/v1/mcp/oauth/authorize

Operation ID: api_v1_mcp_oauth_authorize.

Authentication: bearer token (bearerAuth).

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway