Menu
The MCP server
weird's local MCP server for AI agents: its toolsets and tools, which need a confirmation, and what it tells the agent.
weird mcp is a local MCP server (over stdio) that lets an AI agent act on a weird account. It runs inside your own weird program, with the agent's own API key, limited to the toolsets you chose, never your session. Setting it up is in using weird with an AI assistant; this reference is generated from the CLI's own tool definitions.
$ weird mcp setup# creates the agent's own key, prints the editor configuration$ claude mcp add --scope user weird -- weird mcp
The rules every tool follows#
- Every description says what the tool costs: "Free", "COSTS CREDITS" with the contract, "BILLS HOURLY", or a small credit charge per successful request.
- A tool that costs credits up front or cannot be undone needs
confirmed: true: the agent describes the action and its cost and asks you first, every time. Metering per successful request alone needs no confirmation. - Orders that start at once (a top-up; registering, renewing or transferring a domain) need your own acknowledgement: called without it, the tool answers the text, which the agent shows you word for word.
- A charged create that is keyed takes an optional
idempotency_keyand answers the one used, so a retry never creates or bills twice. - No tool takes or answers a secret the API marks as one, a password, a share link's key or a private key. Uploads and downloads run from and to local paths: file bytes never pass through tool arguments.
- Some steps are yours alone: paying, accepting the terms, setting up the authenticator, creating API keys. A tool answers the exact command for you to run.
Toolsets#
The default toolsets are on unless you choose otherwise; opt-in ones are added by name (weird mcp setup --add <toolset>); sensitive ones act on the account itself and need a fresh authenticator code at setup.
| Toolset | Kind | Tools | Need confirmed | What |
|---|---|---|---|---|
guide | always on | 4 | 0 | Guide and status |
credits | default | 5 | 0 | Credits: balance, history and credit charges |
domains | default | 16 | 12 | Domains: availability, registration, renewal, transfers |
dns | default | 20 | 9 | DNS zones and records |
storage | default | 28 | 12 | Storage: uploads, downloads, pins, hostnames |
locked | default | 4 | 1 | Locked albums and files: encrypted on this computer |
names | default | 6 | 2 | Free names: a site from storage under weird's own domains |
tunnels | default | 8 | 3 | HTTPS tunnels |
p2p | default | 10 | 3 | P2P apps: signaling, relay, TURN, mailbox |
servers | default | 15 | 5 | Servers: create, power, hostnames, actions |
server-volumes | opt-in | 5 | 3 | Server volumes (extra disks) |
server-snapshots | opt-in | 3 | 2 | Server snapshots |
server-keys | opt-in | 2 | 1 | Saving and deleting SSH keys |
stats | opt-in | 9 | 2 | Traffic statistics of the user's sites |
apps | opt-in | 3 | 1 | One-click server apps |
support | opt-in | 4 | 1 | Support tickets |
notifications | opt-in | 6 | 0 | Notifications and email preferences |
legal | opt-in | 3 | 0 | Terms and privacy notice |
oauth | opt-in | 2 | 1 | Applications the user authorised |
referrals | opt-in | 6 | 4 | Gifts and referral rewards |
grants | opt-in | 7 | 4 | Access shared on domains |
account | sensitive, opt-in | 15 | 3 | Account: profile, email addresses, sessions, closing |
security | sensitive, opt-in | 2 | 0 | Second factor |
billing | sensitive, opt-in | 9 | 4 | Billing profiles, top-ups, invoices |
withdrawals | sensitive, opt-in | 2 | 0 | Withdrawing from top-ups, refunds |
data-export | sensitive, opt-in | 3 | 2 | A copy of the account's data |
keys | sensitive, opt-in | 2 | 1 | API keys |
transfers | sensitive, opt-in | 5 | 1 | Handing servers to other accounts |
What the server tells the agent#
These are the server's own instructions, sent when the agent connects. The guides go deeper into each area.
weird runs a customer's internet presence: domains, DNS, storage, tunnels, peer-to-peer apps and servers, all spending one prepaid credit balance.
How the pieces fit:
- Credits: everything spends prepaid credits; the only thing bought with money is credits. weird_credits_balance shows the balance; weird_credits_charges lists what each action spends, in credits, by charge key. Only the user can add credits (they run
weird credits topup). - Domains: a domain is registered (or transferred) through weird, or stays where it is and only uses weird for DNS.
- DNS zones: a zone holds a domain's records. Each zone gets its own pair of nameservers; the domain must point at them before the records take effect. Tunnels, storage domains, apps and servers write their records into the user's zones automatically.
- Storage: files and folders kept by content address, with as many copies as the user chooses (each spends credits), and served on the user's own domains. A site's own _redirects and _headers files are checked with weird_storage_check_site before uploading (sites guide).
- Free names: a name under one of weird's own domains, lent to the user to serve a site from their storage without a domain of their own (weird_names_claim, then weird_storage_domain_attach). Released when nothing is attached for a while; no mail, no other records.
- Statistics (stats toolset, opt-in): traffic of the user's sites; detailed statistics are switched on per site, bill hourly, and need the user's acceptance of the controller terms.
- Tunnels: put something running on the user's computer on the internet under a hostname of theirs, with HTTPS.
- P2P apps: give a browser or device app the relay, signaling and offline mailbox it needs, under the user's hostname.
- Servers: cloud servers billed by the hour while they exist, plus volumes and snapshots.
Rules:
- Every tool description says what it costs: "Free", "COSTS CREDITS" with the charge key, "BILLS HOURLY", or a small credit charge per successful request. Tools that cost credits up front (COSTS CREDITS, BILLS HOURLY) or cannot be undone need confirmed: true — describe the action and its cost to the user and ask first, every time.
- Reading products (listing and showing domains, zones, storage, tunnels, apps, servers) has a small per-request credit charge, charged only when the call succeeds; failed calls are free. Those tools need no confirmed; avoid needless repeats.
- Orders that start at once (a top-up, registering, renewing or transferring a domain, a change of holder) need the user's own acknowledgement of a text about their right of withdrawal, and switching detailed statistics on needs their acceptance of the controller terms. Call the tool without it to get the text, show it word for word, and pass it only if the user accepts it; never on your own.
- A restriction after a review (an account suspended, content or a hostname blocked) is a decision, not an obstacle: never work around it with another hostname, content, account or key. Tell the user the contact; they may contest it.
- Refusals are not dead ends: each one says what happened and the next step. Some steps only the user can take, in a terminal: adding credits, accepting the terms, proving their authenticator, widening this agent's permissions. Ask them to run the exact command given, then retry.
- This agent acts with its own limited key. If a tool is refused for a missing permission, ask the user to run
weird mcp setup --add <toolset>. - weird_guide(topic) explains each area in more depth; weird_status shows what this connection can do right now.