---
title: "List Mcp Tokens"
method: GET
path: "/api/v1/auth/mcp-tokens"
tags: ["mcp"]
---

# List Mcp Tokens

`GET /api/v1/auth/mcp-tokens`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/auth/mcp-tokens`
- Auth: none declared

Every credential this user has issued, revoked ones included.

Revoked rows are kept and returned: "I revoked that last week" is the
question a user actually has, and hiding the row makes it unanswerable.

## Headers

- `authorization` string, nullable
- `x-dev-user-id` string, nullable
- `x-app-version` string, nullable

## Response `200`

Successful Response

- MCPTokenInfo[]
  - `jti` string, required
  - `name` string, required
  - `client_id` string, nullable: The client's CIMD URL, for a token minted through the OAuth flow. `name` is the client's own claim about itself; this is the part that was verified.
  - `scopes` string[], required
  - `created_at` string, date-time, required
  - `expires_at` string, date-time, nullable, required
  - `last_used_at` string, date-time, nullable, required
  - `revoked_at` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
