Menu
weird mcp
Run weird as an MCP server for AI agents (stdio).
weird mcp [flags]Runs an MCP (Model Context Protocol) server on stdin/stdout so AI agents can use weird.
First run weird mcp setup: it creates a key just for the agent, limited to the toolsets you choose, and prints the configuration for Claude Code, Cursor and VS Code. The server never uses your own sign-in.
The server starts even before setup (so your editor doesn't show it as broken) and picks the key up on the next call once you've run setup.
By default it exposes the toolsets setup made the key for (recorded in mcp_toolsets in your weird config directory), or the default toolsets.
--tools a,b,c only these toolsets or tool names (env WEIRD_MCP_TOOLS)
--read-only only tools that change nothingToolsets: credits 5 tools default Credits: balance, history and credit charges domains 16 tools default Domains: availability, registration, renewal, transfers dns 20 tools default DNS zones and records storage 28 tools default Storage: uploads, downloads, pins, hostnames locked 4 tools default Locked albums and files: encrypted on this computer names 6 tools default Free names: a site from storage under weird's own domains tunnels 8 tools default HTTPS tunnels p2p 10 tools default P2P apps: signaling, relay, TURN, mailbox servers 15 tools default Servers: create, power, hostnames, actions server-volumes 5 tools opt-in Server volumes (extra disks) server-snapshots 3 tools opt-in Server snapshots server-keys 2 tools opt-in Saving and deleting SSH keys stats 9 tools opt-in Traffic statistics of the user's sites apps 3 tools opt-in One-click server apps support 4 tools opt-in Support tickets notifications 6 tools opt-in Notifications and email preferences legal 3 tools opt-in Terms and privacy notice oauth 2 tools opt-in Applications the user authorised referrals 6 tools opt-in, authenticator to write Gifts and referral rewards grants 7 tools opt-in, authenticator to write Access shared on domains account 15 tools opt-in, sensitive Account: profile, email addresses, sessions, closing security 2 tools opt-in, sensitive Second factor billing 9 tools opt-in, sensitive Billing profiles, top-ups, invoices withdrawals 2 tools opt-in, sensitive Withdrawing from top-ups, refunds data-export 3 tools opt-in, sensitive A copy of the account's data keys 2 tools opt-in, sensitive API keys transfers 5 tools opt-in, sensitive Handing servers to other accounts
| Flag | Type | Default | Meaning |
|---|---|---|---|
--read-only | bool | expose only tools that change nothing | |
--tools | string | comma-separated toolsets or tool names to expose (default: the product toolsets) |
Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.
Subcommands: setup.
weird mcp setup#
Create the agent's own limited key and print editor configuration.
weird mcp setup [flags]Creates an API key for your AI agent, limited to the scopes the chosen toolsets need, stores it in your weird config directory (mcp_api_key) and prints how to add the server to Claude Code, Cursor and VS Code.
By default the product toolsets are included (credits, domains, dns, storage, locked, names, tunnels, p2p, servers). Choose with --toolsets; use --read-only for a key that can change nothing. --add <toolset> widens the existing agent key: a new key is created with the extra scopes and the old one revoked (keys can't be edited).
Opt-in toolsets are added by name. Sensitive toolsets (account, security, billing, withdrawals, data-export, keys, transfers) — and referrals or grants with write access — are never included unless you name them; you'll see what the agent could then do, and you must confirm with a fresh code from your authenticator app.
Creating a key needs your sign-in (weird login) and your authenticator.
Toolsets: credits 5 tools default Credits: balance, history and credit charges domains 16 tools default Domains: availability, registration, renewal, transfers dns 20 tools default DNS zones and records storage 28 tools default Storage: uploads, downloads, pins, hostnames locked 4 tools default Locked albums and files: encrypted on this computer names 6 tools default Free names: a site from storage under weird's own domains tunnels 8 tools default HTTPS tunnels p2p 10 tools default P2P apps: signaling, relay, TURN, mailbox servers 15 tools default Servers: create, power, hostnames, actions server-volumes 5 tools opt-in Server volumes (extra disks) server-snapshots 3 tools opt-in Server snapshots server-keys 2 tools opt-in Saving and deleting SSH keys stats 9 tools opt-in Traffic statistics of the user's sites apps 3 tools opt-in One-click server apps support 4 tools opt-in Support tickets notifications 6 tools opt-in Notifications and email preferences legal 3 tools opt-in Terms and privacy notice oauth 2 tools opt-in Applications the user authorised referrals 6 tools opt-in, authenticator to write Gifts and referral rewards grants 7 tools opt-in, authenticator to write Access shared on domains account 15 tools opt-in, sensitive Account: profile, email addresses, sessions, closing security 2 tools opt-in, sensitive Second factor billing 9 tools opt-in, sensitive Billing profiles, top-ups, invoices withdrawals 2 tools opt-in, sensitive Withdrawing from top-ups, refunds data-export 3 tools opt-in, sensitive A copy of the account's data keys 2 tools opt-in, sensitive API keys transfers 5 tools opt-in, sensitive Handing servers to other accounts
| Flag | Type | Default | Meaning |
|---|---|---|---|
--add | string | add a toolset to the existing agent key (replaces the key) | |
--name | string | key name (default: weird mcp on <this computer>) | |
--read-only | bool | grant only read scopes | |
--toolsets | string | comma-separated toolsets (default: the product toolsets) |
Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.
Calls: createApiKey, listApiKeys, revokeApiKey.
This page is generated from the weird CLI; it changes when the CLI does.