v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Credentials

Store MCP OAuth token from an agent container

Store MCP OAuth token from an agent container. Accepts a JSON request body when defined and returns the resulting resource or action status.

post/api/projects/{projectId}/credentials/mcp

Path parameters

projectIdstring required

Project identifier used to scope the request.

Request body

urlstring required

URL for a browser or API client to use.

accessTokenstring required

access Token value for the mCPToken Request object.

refreshTokenstring

refresh Token value for the mCPToken Request object.

expiresAtinteger

expires At value for the mCPToken Request object.

Response

Token stored

idstring

Stable identifier for the object.

providerstring

Provider name or key.

namestring

Human-readable name.

descriptionstring

Optional human-readable description.

authTypestring

auth Type value for the credential object.

configuredboolean

configured value for the credential object.

agentVisibleboolean

agent Visible value for the credential object.

inactiveboolean

inactive value for the credential object.