Servers
More ways to use this page
Read a server
GET/v1/
TypeScript account
Python account
PHP $account->servers->get(
Java account
Key ak_… an account key
Parameters
idin pathstring (uuid)requiredThe server id.
Responses
Every field of a response is always present. A field that can be null says so in its type.
200A server of the account: an isolation boundary with its own keys, streams, log, suppressions and webhooks.
Example
{
"serverId": "7c1e4d2a-0b9f-4a3e-8d6c-5e2f1a9b8c70",
"name": "Invoicing",
"mode": "live",
"createdAt": "2026-09-20T12:00:00.000Z"
}serverIdstring (uuid)The id every server key, stream and message of the server refers to.
namestring (at least 1, at most 100 characters)The name given at creation, unique within the account.
mode"live" | "test"live delivers; test goes through everything but delivery, so nothing reaches a recipient. Fixed when the server is created.
createdAtstring (date-time)
Errors
Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.
| Code | Status | Meaning |
|---|---|---|
unauthorized | 401 | The key is missing, malformed or revoked. |
wrong_ | 403 | The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes. |
not_ | 403 | A connected app called an operation that no tool of the MCP server calls. An API key can. |
read_ | 403 | A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting. |
test_ | 403 | A connected app may create a secret, or do what cannot be undone, on a test server only. |
not_ | 404 | No such server of this account. |
WWW-Authenticateheader on 401"Bearer"Always Bearer: send the key as Authorization: Bearer <key>.