Menu
MCP: server-keys
Saving and deleting SSH keys
| Toolset | server-keys (opt-in) |
| Tools | 2 |
Permissions granted by weird mcp setup | vps:read, vps:write |
With --read-only | vps:read |
| Turn it on | weird 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 something | yes |
Needs confirmed: true | no |
| The person runs | weird servers ssh-keys generate |
| Calls | createSshKey |
Arguments:
name, string, required — a name for the keypublic_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 something | yes |
Needs confirmed: true | yes (cannot be undone) |
| Calls | deleteSshKey |
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 saved key's id
This page is generated from the weird CLI; it changes when the CLI does.