Connections
List the agents you have connected
Returns the agents that signed in with a browser and are still connected, newest first.
GET
/user/mcp/connectionsTL;DR
| Question | Answer |
|---|---|
| What does it do? | List the agents you have connected. |
| What does it take? | Nothing. |
| What does it return? | Status 200 with a body of type ConnectionList. |
| What can go wrong? | 401 not signed in; 429 too many requests. Every failure uses the one error envelope. |
What it does
Returns the agents that signed in with a browser and are still connected, newest first. The key behind a connection is never shown.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The connected agents. | ConnectionList |
| 401 | Not signed in. | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
Response body
A 200 answer has the type ConnectionList.
| Field | Type | Required | Description |
|---|---|---|---|
items | Connection[] | yes | |
items[].id | string | yes | |
items[].clientId | string | yes | The OAuth client id the agent registered with. |
items[].clientName | string | yes | The name the agent gave itself when it registered. It is a claim, not a fact. |
items[].connectedAt | integer | yes | Milliseconds since the epoch. |
items[].lastUsedAt | integer | null | yes | Milliseconds since the epoch, or null if the agent has not made a call. |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |