Skip to Content
bpms.ai
ReferenceMcp

List the caller's MCP access tokens

GET
/api/v1/mcp/access-tokens

Lists the caller's open MCP access tokens, those not revoked, newest first, without their values. Another user's tokens and the caller's internal in-app agent token are never listed.

Authorization

bearer
headerAuthorizationBearer <token>

The token of a session that createSession opened

Response Body

The caller's open MCP access tokens

application/json
  1. response
[index: integer]?

An open MCP access token of the caller, without its value

Example Request
curl -X GET 'https://bpms.bpms.work/api/v1/mcp/access-tokens'
Example Response
[  {    "id": 0,    "lastUsedAt": "2019-08-24T14:15:22Z",    "openedAt": "2019-08-24T14:15:22Z"  }]