MCP tools: API keys
The tools of the MCP server under API keys. Credentials for agents: account-wide keys from the console, inbox-scoped keys from the API.
inboxes_keys_create
Tool for inboxes.keys.create: POST /v1/inboxes/{inboxId}/api-keys
A key that reads and operates exactly one inbox, including its stream and sending, and gets 403 on inbox, key and webhook management. The token is returned once; 20 may be active per inbox. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403
forbidden. - Annotations
readOnlyHint: false,destructiveHint: false,idempotentHint: false,openWorldHint: false. The tool changes something.- One-time secret
- The answer can carry a key's token or a signing secret that is shown once. The server adds a notice to store it now.
Input
inboxIdstringrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7znamestringoptionalA label, at most 100 characters. Example:
Orchestrator
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the path parameter inboxId |
{
"name": "inboxes_keys_create",
"arguments": {
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"name": "Orchestrator"
}
}inboxes_keys_list
Tool for inboxes.keys.list: GET /v1/inboxes/{inboxId}/api-keys
The inbox's active keys, oldest first. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403
forbidden. - Annotations
readOnlyHint: true,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
inboxIdstringrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7z
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the path parameter inboxId |
{
"name": "inboxes_keys_list",
"arguments": {
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z"
}
}inboxes_keys_get
Tool for inboxes.keys.get: GET /v1/inboxes/{inboxId}/api-keys/{keyId}
One active key of the inbox, without its token. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403
forbidden. - Annotations
readOnlyHint: true,destructiveHint: false,idempotentHint: true,openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
inboxIdstringrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zkeyIdstringrequiredThe key. Example:
key_01jc5c0z9y8x7w6v5t4t3s2r1q
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the path parameter inboxId |
keyId | the path parameter keyId |
{
"name": "inboxes_keys_get",
"arguments": {
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"keyId": "key_01jc5c0z9y8x7w6v5t4t3s2r1q"
}
}inboxes_keys_revoke
Tool for inboxes.keys.revoke: DELETE /v1/inboxes/{inboxId}/api-keys/{keyId}
The key stops authenticating on its next request and the stream connections it opened are closed with 4001. OAuth: not available to apps.
- Offered to
- API keys only. A connected agent is never offered this tool. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403
forbidden. - Annotations
readOnlyHint: false,destructiveHint: true,idempotentHint: true,openWorldHint: false. The tool changes something; can remove something, or replace a secret that stops verifying at once; calling it again with the same input has no further effect.
Input
inboxIdstringrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zkeyIdstringrequiredThe key. Example:
key_01jc5c0z9y8x7w6v5t4t3s2r1q
Inputs that are not fields of the request body
| Input | Sent as |
|---|---|
inboxId | the path parameter inboxId |
keyId | the path parameter keyId |
{
"name": "inboxes_keys_revoke",
"arguments": {
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"keyId": "key_01jc5c0z9y8x7w6v5t4t3s2r1q"
}
}
