Menu
MCP: keys
API keys
| Toolset | keys (sensitive, opt-in) |
| Tools | 2 |
Permissions granted by weird mcp setup | api-keys:read, api-keys:write |
With --read-only | api-keys:read |
| Turn it on | weird mcp setup --add keys |
weird_api_keys#
API keys. List the user's API keys with their scopes and last use (never their secrets). Free. Creating a key is the user's own step: weird keys create (its secret must not pass through an agent).
| Changes something | no (read-only) |
Needs confirmed: true | no |
| The person runs | weird keys create |
| Calls | listApiKeys |
Arguments:
include_revoked, boolean — also revoked keys
weird_api_key_revoke#
Revoke an API key. Revoke one of the user's API keys; whatever uses it stops working at once (revoking this agent's own key ends its access). Free. Irreversible.
| Changes something | yes |
Needs confirmed: true | yes (cannot be undone) |
| Calls | revokeApiKey |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequenceidempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key usedkey_id, string, required — the key, from weird_api_keys
This page is generated from the weird CLI; it changes when the CLI does.