Skip to content
Connect an agent
Connections

List the accounts you can connect an agent as

Your own account, unless an organisation you belong to asks that agents connect to it, and each organisation where you may publish (every role but reader).

GET/user/mcp/accounts

TL;DR

QuestionAnswer
What does it do?List the accounts you can connect an agent as.
What does it take?Nothing.
What does it return?Status 200 with a body of type ConnectableAccounts.
What can go wrong?401 not signed in; 429 too many requests. Every failure uses the one error envelope.

What it does

Your own account, unless an organisation you belong to asks that agents connect to it, and each organisation where you may publish (every role but reader). The approval checks the same rules again.

Responses

StatusMeaningBody
200The accounts.ConnectableAccounts
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse

Response body

A 200 answer has the type ConnectableAccounts.

FieldTypeRequiredDescription
personalobjectyes
personal.allowedbooleanyesFalse when an organisation you belong to asks that agents connect to it, and your address is on one of its verified domains.
personal.requiredByobject[]yesThe organisations that ask it. Empty when allowed is true.
personal.requiredBy[].idstringyes
personal.requiredBy[].slugstringyes
personal.requiredBy[].namestringyes
organisationsobject[]yesThe organisations where your role may publish (every role but reader), so an agent can be connected to them. Ordered by name.
organisations[].idstringyes
organisations[].slugstringyes
organisations[].namestringyes
organisations[].role"owner" | "admin" | "member" | "reader"yes

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools