Get a server account
One account, by id or name. Another member’s personal account answers 404, the same as a missing one. A name two accounts share answers 409 with details.code: "account_name_ambiguous" and both ids in details.accountIds.
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Path Parameters
ID of the hosted project that contains the server.
ID of the server inside the project.
The account's id, or its name. A well-formed account id is matched as an id; anything else is a name, matched ignoring case.
Response
The account.
One account a saved server signs in with. METADATA ONLY: no account response carries a token, a vault id, an email or any other recorded profile field.
Never changes, including while the account needs reconnecting. An eval suite's saved account choice stores it.
Your own label, or null for an account nobody named. Nothing checks it against who the token belongs to.
project accounts belong to a server shared with the project; project admins manage them.
personal, project The effective default: the account marked as default, else the oldest. Runs with no saved account choice act as it.
The issuer rejected a refresh, or the token expired with no refresh token stored. Upload a fresh token to restore it; the id stays.
Hosted runs use the account, and no local app, browser or sandbox receives its token. True for accounts written by PUT .../accounts/{account} and for project accounts.
When the access token expires, epoch milliseconds.

