---
title: "List agent connections and their state"
method: GET
path: "/mcp/connections"
tags: ["connections"]
---

# List agent connections and their state

`GET /mcp/connections`

## Request

- Base URL: `https://api.indraft.io`
- URL: `https://api.indraft.io/mcp/connections`
- Auth: HTTP bearer

Every agent connection, who authorized it, the scopes it holds and when it was last used, so the question of who has access and whether they are using it is answerable at any time.

## Response `200`

Success

- object
  - `connections` object[], required
    - `id` string, required
    - `workspaceId` string, required
    - `workosUserId` string, required
    - `clientId` string, required
    - `scopes` string[], required
    - `revokedAt` string, required

## Other responses

- `401`: No credential, or one that has been revoked.
- `403`: Authenticated, and this capability is not held.
- `429`: Infrastructure protection tripped. This is not a product quota.
- `500`: A defect on our side. The hint says so, and carries an incident id.

---

[API](https://skmtc.dev/indraft/apis/indraft-api.md) · [All operations](https://skmtc.dev/indraft/apis/indraft-api/llms.txt) · [OpenAPI document](https://skmtc.dev/indraft/apis/indraft-api/revisions/d9bb05346d66?raw)
