Menu

MCP: keys

API keys

Toolsetkeys (sensitive, opt-in)
Tools2
Permissions granted by weird mcp setupapi-keys:read, api-keys:write
With --read-onlyapi-keys:read
Turn it onweird 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 somethingno (read-only)
Needs confirmed: trueno
The person runsweird keys create
CallslistApiKeys

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 somethingyes
Needs confirmed: trueyes (cannot be undone)
CallsrevokeApiKey

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • idempotency_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 used
  • key_id, string, required — the key, from weird_api_keys

This page is generated from the weird CLI; it changes when the CLI does.