Menu QaldyDocs

Sign-in for MCP clients

The console’s side of OAuth for remote MCP clients: the consent request and the apps you have connected. The public OAuth endpoints are described under MCP. 4 routes, from the API’s own OpenAPI document.

4 routes. Every path starts at https://cloud-api.qaldy.com. Sign-in, tokens, errors and limits are on the overview.

Routes

MethodPathWhat it does
GET/​v1/​oauth/​authorizations/​{id}A pending sign-in request from an MCP client, for the consent screen
POST/​v1/​oauth/​authorizations/​{id}/​decisionAllow or refuse an MCP client: the answer says where to send the browser next
GET/​v1/​workspaces/​{ws}/​oauth/​grantsThe apps and agents you have signed in to this workspace (never their tokens)
DELETE/​v1/​workspaces/​{ws}/​oauth/​grants/​{grantId}End one of your grants at once: its tokens stop working

Reference

GET /v1/oauth/authorizations/{id}

A pending sign-in request from an MCP client, for the consent screen.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: signed in, console only
ParameterInTypeRequiredNotes
idpathstringyes1 to 64 characters

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
expiresAtstring (date-time)yes
clientobjectyes
client.namestringyesat least 1 characters
client.kind"registered" · "metadata"yes
client.hoststring or nullyes
client.recognizedstring or nullyes
client.homepageHoststring or nullyes
redirectobjectyes
redirect.originstringyesat least 1 characters
redirect.hoststringyes
redirect.schemestringyesat least 1 characters
redirect.localbooleanyes
resourceobjectyes
resource.namestringyes
resource.urlstringyes
requestedAccess"read" · "write"yes
userobjectyes
user.namestringyes
user.emailstringyes
workspacesobject[]yes
workspaces[].idstringyesat least 1 characters
workspaces[].namestringyesat least 1 characters
workspaces[].slugstringyesat least 1 characters
workspaces[].role"owner" · "admin" · "builder" · "member" · "viewer"yes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

POST /v1/oauth/authorizations/{id}/decision

Allow or refuse an MCP client: the answer says where to send the browser next.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: signed in; member of the workspace; console only
ParameterInTypeRequiredNotes
idpathstringyes1 to 64 characters

Request body (application/json)

An empty object: {}.

Response 200

FieldTypeRequiredNotes
outcome"allowed" · "denied"yes
redirectTostringyesat least 1 characters

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/oauth/grants

The apps and agents you have signed in to this workspace (never their tokens).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: member, own grants; console only
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
clientNamestringyesat least 1 characters
clientKind"registered" · "metadata"yes
clientHoststring or nullyes
recognizedstring or nullyes
access"read" · "write"yes
createdAtstring (date-time)yes
lastUsedAtstring (date-time) or nullyes
expiresAtstring (date-time)yes
revokedAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

DELETE /v1/workspaces/{ws}/oauth/grants/{grantId}

End one of your grants at once: its tokens stop working.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: member, own grants; console only
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
grantIdpathstringyes1 to 64 characters

Response 200

FieldTypeRequiredNotes
oktrueyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

Type to search. Up and down to choose, Enter to open, Esc to close.