Menu

MCP: servers

Servers: create, power, hostnames, actions

Toolsetservers (default)
Tools15
Permissions granted by weird mcp setupvps:read, vps:write
With --read-onlyvps:read
Turn it onon by default

weird_servers_catalog#

Server sizes and credit charges. Show what servers can be made: what is tiers (sizes with credits per hour, locations, images), charges (credits per hour, incl. volume and snapshot GB), availability, limits (the user's quota) or images. Small credit charge per successful request (charge key vps.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistVpsTiers, getVpsCharges, getVpsAvailability, getVpsLimits, listVpsSystemImages

Arguments:

  • tier_id, string — images only: the images of this size
  • what, string — tiers (default), 'charges', availability, limits or images

weird_servers#

Servers. List the user's servers (and those shared with them), or show one by server_id: state, addresses, credits per hour, unpaid hold. Small credit charge per successful request (charge key vps.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistVpsInstances, getVpsInstance

Arguments:

  • include_deleted, boolean — list deleted servers too
  • server_id, string — show this server instead of listing

weird_servers_create#

Create a server. Create a server of a size (tier) with the user's saved SSH keys, optionally pointed at a hostname of theirs; poll weird_servers until running. BILLS HOURLY: the size's credits per hour (weird_servers_catalog) from creation until deletion, also while powered off; the first hour is charged at once. Charge keys (see weird_credits_charges): recurring.vps-hourly at tiers.{tier_id}, every hour while it exists.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
CallscreateVpsInstance

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
  • image, string — one of the size's images (default its first)
  • location, string — one of the size's locations (default its first)
  • name, string, required — 1-42 of a-z, 0-9 and dashes
  • notify_on_outcome, boolean — email the user the outcome of a queued create
  • queue_if_unavailable, boolean — without capacity now, queue the create (charged only once created)
  • ssh_key_ids, null or array of strings, required — 1 to 10 saved SSH key ids (weird_servers_ssh_keys)
  • subdomain, string — with zone: the name inside it
  • tier_id, string, required — the size's id (weird_servers_catalog)
  • zone, string — with subdomain: a DNS zone of the user's to point at it

weird_servers_delete#

Delete a server. Destroy a server and its disk; its hourly billing stops and its hostname records are removed. Free. Irreversible: nothing on it can be recovered.

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

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
  • server_id, string, required — the server's id

weird_servers_power#

Power a server. Run a power action on a server: on, off (cut the power), shutdown (clean), reboot (clean) or reset (hard); follow it with weird_servers_actions. Free. A server that is off is still billed by the hour; off and reset can lose unsaved work, which cannot be undone.

Arguments:

  • action, string, required — on, off, shutdown, reboot or reset
  • server_id, string, required — the server's id

weird_servers_rebuild#

Rebuild a server. Reinstall a server from a system image of its size or from snapshot:<id>; it keeps its size, addresses and credit charge. Free. Irreversible: everything on its disk is lost.

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

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
  • image, string, required — a system image of its size, or snapshot:<id>
  • server_id, string, required — the server's id

weird_servers_resize#

Resize a server. Move a powered-off server to another size; its disk grows for good. BILLS HOURLY: the new size's credits per hour from the next hour (weird_servers_catalog). Power it off first with weird_servers_power. Charge keys (see weird_credits_charges): recurring.vps-hourly at tiers.{tier_id}, every hour while it exists.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
CallsresizeVpsInstance

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
  • server_id, string, required — the server's id (powered off)
  • tier_id, string, required — the new size's id

weird_servers_rdns_set#

Set reverse DNS. Set the reverse DNS name of one of a server's addresses, or reset it to the default (no hostname). Free.

Changes somethingyes
Needs confirmed: trueno
CallssetVpsInstanceRdns

Arguments:

  • hostname, string — the reverse name; empty resets it to the default
  • ip, string, required — one of its addresses
  • server_id, string, required — the server's id

weird_servers_queue_notify#

Queued create email. Switch whether the user is emailed when a queued server is finally created or given up. Free.

Changes somethingyes
Needs confirmed: trueno
CallssetVpsQueueNotify

Arguments:

  • enabled, boolean, required — email the outcome or not
  • server_id, string, required — the queued server's id

weird_servers_hostnames#

Server hostnames. List the hostnames pointing at a server, each with the records it needs. Small credit charge per successful request (charge key vps.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistVpsInstanceHostnames

Arguments:

  • server_id, string, required — the server's id (from weird_servers)

weird_servers_hostname_connect#

Point a hostname at a server. Point a name inside one of the user's DNS zones at a server (its address records are written, replacing those of the same name). Free. The agent key needs the dns toolset too.

Changes somethingyes
Needs confirmed: trueno
CallsconnectVpsInstanceHostname

Arguments:

  • server_id, string, required — the server's id
  • set_rdns, boolean — also make it the server's reverse name
  • subdomain, string, required — the name inside the zone (never blank)
  • zone, string, required — a DNS zone of the server's owner

weird_servers_hostname_disconnect#

Release a server hostname. Release a hostname from a server and remove the records written for it. Free. Irreversible (connect it again to restore it).

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

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • connection_id, string, required — the connection's id (weird_servers_hostnames)
  • 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
  • server_id, string, required — the server's id

weird_servers_ssh_keys#

Saved SSH keys. List the user's saved SSH public keys (used when creating servers and tunnels), or show one by key_id. Small credit charge per successful request (charge key vps.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistSshKeys, getSshKey

Arguments:

  • key_id, string — show this key instead of listing

weird_servers_actions#

Server actions and activity. Show one action (action_id), a server's actions (server_id), or the activity across everything the user owns (neither; filters and paging with before). Small credit charge per successful request (charge key vps.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsgetVpsAction, listVpsInstanceActions, listVpsActivity

Arguments:

  • action_id, string — show this action
  • before, string — activity: older than this time (the previous answer's next_before)
  • limit, integer — activity: page size, 1 to 200
  • server_id, string — this server's actions (or narrow the activity to it)
  • state, string — activity: queued, running, succeeded, failed or cancelled
  • type, string — activity: one kind of action

weird_servers_metrics#

Server metrics. Read a server's CPU, disk, network or traffic metrics over a time range. Small credit charge per successful request (charge key vps.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsgetVpsInstanceMetrics

Arguments:

  • end, string — until (ISO 8601)
  • server_id, string, required — the server's id
  • start, string — from (ISO 8601)
  • step, string — seconds between points
  • type, string — a comma list of cpu, disk, network, traffic

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