Menu

MCP: server-keys

Saving and deleting SSH keys

Toolsetserver-keys (opt-in)
Tools2
Permissions granted by weird mcp setupvps:read, vps:write
With --read-onlyvps:read
Turn it onweird mcp setup --add server-keys

weird_servers_ssh_key_add#

Save an SSH key. Save an SSH public key (one OpenSSH line) for new servers. Free. Generating a key pair is the user's own step (weird servers ssh-keys generate): a private key must never pass through an agent.

Changes somethingyes
Needs confirmed: trueno
The person runsweird servers ssh-keys generate
CallscreateSshKey

Arguments:

  • name, string, required — a name for the key
  • public_key, string, required — one OpenSSH public key line

weird_servers_ssh_key_delete#

Delete an SSH key. Delete a saved SSH key: new servers can no longer use it; existing servers keep it. Free. Irreversible (save it again to restore it).

Changes somethingyes
Needs confirmed: trueyes (cannot be undone)
CallsdeleteSshKey

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 saved key's id

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