Menu
Using weird with an AI assistant
Give an AI assistant its own limited key through the CLI's local MCP server; confirmations, acknowledgements, and what an agent can never do.
The weird command line includes an MCP server (Model Context Protocol) that runs on your own computer, so an AI assistant such as Claude Code, Cursor or VS Code can work with your domains, DNS, storage, tunnels, P2P apps and servers. The server talks to the assistant over standard input and output; it never uses your own sign-in, only a key made for the agent.
Set it up#
You need to be signed in (weird login) with an authenticator set up.
$ weird mcp setupThis creates an API key just for the agent, limited to the permissions the chosen toolsets need, stores it in your weird configuration, and prints how to add the server to Claude Code, Cursor and VS Code. For Claude Code it prints:
claude mcp add --scope user weird -- weird mcpFor Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"weird": {
"command": "weird",
"args": ["mcp"]
}
}
}For VS Code (.vscode/mcp.json):
{
"servers": {
"weird": {
"type": "stdio",
"command": "weird",
"args": ["mcp"]
}
}
}Choose what the agent may do#
Tools come in toolsets. By default the agent gets the product areas: credits, domains, dns, storage, locked, tunnels, p2p and servers, plus the guide that is always there.
$ weird mcp setup --toolsets dns,storage$ weird mcp setup --read-only$ weird mcp setup --add server-volumes
--toolsetschooses exactly which.--read-onlymakes a key that can change nothing.--add <toolset>widens the existing agent key: keys cannot be edited, so a new key is created and the old one revoked.- Opt-in toolsets (server volumes, snapshots and keys, apps, support, notifications, legal, oauth, referrals, grants) 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 are shown what the agent could then do, and you confirm with a fresh code from your authenticator.
weird mcp --read-only or weird mcp --tools dns,storage narrows what one run of the server exposes, without changing the key. The full list is in the MCP reference.
Confirmations#
Every tool description says what it costs: free, a small credit charge per successful request, "COSTS CREDITS" with its contract, or "BILLS HOURLY".
- Tools that spend credits up front or bill by the hour, and tools that cannot be undone, require
confirmed: true. Called without it they do nothing and answer the current credit charge, so the agent can tell you and ask first. - Reading your products is a small credit charge per successful request and needs no confirmation; a failed call is free.
- Charged creates take an optional
idempotency_keyand answer the one used, so a retry of the same create is never made or billed twice.
Acknowledgements#
Orders that start at once — a top-up, registering, renewing or transferring a domain — need your own acknowledgement of a text about your right of withdrawal. Called without it, the tool orders nothing and answers the text and its version. The agent must show you the text word for word and pass the acknowledgement only if you accept it. A confirmation alone never stands for it.
What an agent can never do#
These steps stay yours, in a terminal or the application:
- adding credits: paying a checkout (a top-up tool only answers the checkout address for you);
- accepting the terms;
- setting up your authenticator, or proving it — when the API needs a code, the agent must ask you for it;
- creating API keys and widening its own permissions (it asks you to run
weird mcp setup --add <toolset>); - generating an SSH key pair, opening a server console, revealing an app's password, minting TURN or mailbox credentials for a P2P app;
- seeing a password, a share link's secret or a private key of locked content: password steps answer the terminal command for you to run, and a share link goes to a private file whose path alone is answered;
- turning the newsletter or marketing on.
No tool result ever contains a secret (a token, a password, a private key). Uploads and downloads run inside the weird mcp process from and to local paths, so file contents never pass through the conversation.
A restriction after a review (an account suspended, content or a hostname blocked) is a decision, not an obstacle: the agent is told never to work around it with another hostname, content, account or key, and to give you the contact. See Abuse reports and restrictions.
Guides for the agent#
The server sends the agent short instructions when it connects, and weird_guide explains each area in more depth; weird_status shows what the connection can do right now. The same texts are in the MCP guides, and weird help <area> prints them in a terminal.
$ weird help storageReference#
- Commands: weird mcp
- MCP: toolsets and tools
- API keys and permissions: the permissions table