Menu
MCP: the guides the server gives
The guides an agent reads with weird_guide or as weird://guide resources, word for word.
An agent reads these with the weird_guide tool or as the resources weird://guide/<topic>. They are the server's own words.
agent-key#
Resource weird://guide/agent-key.
This agent uses its own API key, created by the user with weird mcp setup and limited to the toolsets they chose. It cannot see or use the user's own sign-in. To add a toolset the user runs weird mcp setup --add <toolset>; to stop the agent they revoke the key with weird keys revoke.
agents#
Resource weird://guide/agents.
How an AI agent uses weird:
- The user runs
weird mcp setupin a terminal. It creates an API key just for the agent, limited to the toolsets chosen, stores it on that computer, and prints the lines to add the weird server to the agent's editor (Claude Code, Cursor, VS Code). The agent never sees the user's own sign-in. - Default toolsets cover the products: credits, domains, DNS, storage, free names, tunnels, P2P apps and servers. Opt-in toolsets are added by name:
weird mcp setup --add support(also notifications, legal, oauth, stats, apps, server-volumes, server-snapshots, server-keys, referrals, grants). Adding stats grants stats:write, which no wildcard covers: setup says so and asks. - Sensitive toolsets act on the account itself: account, security, billing, keys, transfers, withdrawals, data-export. Setup shows what the agent could then do and asks for a fresh authenticator code; referrals and grants ask too when they may write.
- Tools that cost credits up front or cannot be undone need confirmed: true, and the agent asks the user first, quoting the credit charge. Product reads cost a small credit charge per successful request and need no confirmation. A few actions need a code from the user's authenticator app in the request itself (withdrawing from a top-up, removing the authenticator, changing the login address, closing the account, sharing a domain, handing a server over or taking one): their tools do nothing but answer the exact command, and the user runs it in their own terminal. Never ask the user for such a code.
- Some steps stay the user's own, in a terminal: adding credits, accepting the terms, setting up the authenticator, creating API keys, console access and passwords.
- Stop the agent any time:
weird keys revoke <key id>(the id is printed by setup).
apps#
Resource weird://guide/apps.
One-click apps deploy an app on a new server at a name inside one of the user's DNS zones (weird_apps_catalog, weird_apps_deploy). The server bills by the hour like any other. The app's root password is never given to the agent; the user reveals it with weird servers apps password.
credits#
Resource weird://guide/credits.
Everything on weird spends credits from one prepaid balance; the only thing bought with money is credits (a top-up).
- Reads of products (and a few small writes) cost a small credit charge per successful request, by the charge key their tool names; failed calls are free. The requests are added up and taken from the credits every hour.
- One-off actions (registering a domain, creating a DNS zone, writing records) are charged when they happen, by the charge key their tool names. weird_credits_charges lists every charge key and its cost.
- Hourly things (servers, volumes, snapshots) are charged by the hour while they exist; deleting them stops the charge.
- A refused or failed charged action is refunded automatically.
- Only the user can add credits: ask them to run
weird credits topup. weird_credits_balance shows the balance and roughly how many days it lasts at the current pace. - A top-up (weird_topup_start, billing toolset) needs the user's acknowledgement: they ask for the service to start at once, within the 14-day withdrawal period, and confirm what that does to their right of withdrawal. Call the tool without it: it answers the text and its version. Show the text word for word; only if the user accepts, call again with immediate_start_requested and withdrawal_terms_acknowledged true and that acknowledgement_version. A changed text is refused: get it again and ask again.
- Withdrawing (withdrawals toolset): within 14 days of paying, the user may withdraw from a top-up; when no acknowledgement was recorded with the order, the period is 12 months longer (extended_period, as weird_withdrawals shows it with withdrawal_until). weird_withdrawals shows what each would refund (its unused credit, VAT included, to the original payment; credit already used is not refunded) and how that is computed. Show that to the user. Withdrawing always needs the user's authenticator code in the request, so weird_withdraw only answers the command the user runs (
weird credits withdraw <order>); it cannot be undone. The credit is set aside at once and the refund is checked by weird's team (that the payment isn't disputed and the request isn't a duplicate); it is paid by its pay_by (14 days from the request) at the latest, and the check never refuses a withdrawal made in time nor delays it past that day: weird_withdrawals shows it "being checked" with pay_by. A refund not made (rejected, e.g. a disputed payment) says why (rejection), and the credit is back in the balance. The user can also withdraw by writing to weird by email or by post; no code is needed then. - The low-balance warning (notifications toolset): weird_credit_warning shows when the user is warned and the projected spend per hour by product; weird_credit_warning_set changes it; turning it off silences the user's own safety emails, so it needs confirmed after their explicit agreement.
dns#
Resource weird://guide/dns.
A DNS zone holds a domain's records. Each zone has its own pair of nameservers, shown when it is created; until the domain points at them, the records are not visible on the internet. Writing records costs credits per change. Records that tunnels, storage domains, apps and servers create are managed for the user; change those through the feature that made them.
domains#
Resource weird://guide/domains.
Domains can be registered or transferred through weird and renewed automatically. A domain registered elsewhere can still use weird DNS: create a zone for it and point the domain at the zone's nameservers at its registrar. Registration, renewal and transfer cost credits (see their charge keys).
- An order may include promotional credits (its allowance field: credits per year, years, days each grant lasts). weird_domains_check shows what a registration includes now (allowance) and, for a taken name, what a transfer in would include (transfer_allowance); weird_domains_get shows what a renewal would include per year renewed (renewal_allowance). Tell the user before they confirm the order; the answers show what it included. Promotional credit is given, not sold: spent before other credits, it expires, and it is never refunded or paid out. Tell the user when an order includes it.
- Each of these orders, and a change of holder (weird_domains_trade_start), also needs the user's acknowledgement: they ask for it to be sent to the registry at once and confirm that, once the registry completes it, it can no longer be withdrawn from. Call the tool without it to get the text and its version, show the text word for word, and pass immediate_start_requested, withdrawal_terms_acknowledged and acknowledgement_version (and acknowledgement_lang, as the tool names it) only when the user accepts it. --yes or confirmed alone never stands for it.
first-site#
Resource weird://guide/first-site.
The first website, two ways. Both need storage enabled once (storage guide) and a folder with index.html at its root; check its _redirects and _headers first with weird storage check-site <folder> (weird_storage_check_site).
- On a free name, no domain needed:
weird names check ana, thenweird names publish ana ./siteclaims the name, uploads the folder and puts it on the name (an agent: weird_names_check, weird_names_claim, weird_storage_upload, weird_storage_domain_attach with the full name). Free names exist only under the bases the platform has opened (weird names bases, weird_names_bases); a base not open refuses the claim (free-names-not-ready, its charge refunded): try later, or put the site on a domain instead. - On the user's own domain: a hostname is attached only inside a live zone, and a zone goes live only once the domain points at the zone's nameservers. The steps:
- a zone:
weird domains register <domain> --with-dnsregisters the domain and creates its zone (weird_domains_register with with_dns); for a domain registered elsewhere,weird dns create <domain>(weird_dns_zone_create). - the nameservers: a domain registered with weird is pointed at its zone by weird itself (the register answer's hosting.delegation says delegated, or pending while the registry processes it); when it says failed, or the zone still waits for the switch,
weird domains nameservers <domain> --use-weird-dns(weird_domains_set_nameservers); for a domain registered elsewhere, set the zone's nameservers at its registrar. - wait until the zone is live:
weird dns check <domain>(weird_dns_zone_check) checks at once and says when it is; a registry change can take from minutes to a few hours to show, and the zone is checked again automatically.weird dns records <domain>shows its state. - upload and attach:
weird storage add ./site, thenweird storage domains attach www.<domain> <cid>(weird_storage_upload, weird_storage_domain_attach). An attach refused because the zone is pending means step 3 is not done yet; one refused because the zone waits for the registry to publish its nameservers is retried a few minutes later.
- a zone:
- A new version later: publish the folder again on the free name, or upload it and
weird storage domains retarget <hostname> <cid>(weird_storage_domain_retarget).
locked#
Resource weird://guide/locked.
Locked albums and files are encrypted on the user's computer before upload; weird and the storage providers store only ciphertext, never the password or a key. weird still sees sizes, counts, the stored name and the hostnames, and serves the viewer page that opens an album (weird storage lock viewer verify checks it).
- An agent never sees, asks for, types or passes a password, a share link's key or a private key. Do not ask the user for one.
- weird_storage_lock_upload locks for people's public keys (weirdpk1...) and the user's own keys by name, then uploads. A share link, if asked for, is written to a private file and only its path is answered: never read that file or repeat the link.
- weird_storage_lock_show says what anyone can see without a key; weird_storage_lock_contents lists the files after opening with one of the user's own keys by name; weird_storage_download opens locked content with a key name too.
- Anything needing a password, a link or a recovery kit is the user's step: weird_storage_lock_command answers the exact command they run in their own terminal.
- Removing a way in does not take back what someone already opened; only locking everything again under a new key does. An expiry date is advisory.
names#
Resource weird://guide/names.
A free name is a name under one of weird's own domains (a base), such as ana.<base>, for a site from the user's storage when they have no domain, or do not want to use one.
- It is lent, not sold: the user may use it while a site is on it, but it is not theirs the way a registered domain is; with nothing attached for the idle period it is released (the user is told before); closing the account, an abuse decision or the platform releases it too; after any release nobody may claim it for the quarantine period. weird_names_bases gives these periods: tell them to the user before claiming.
- Only a site from the user's storage goes on it: no other DNS record, no mail.
- The name is claimed under its own charge key (see weird_credits_charges); the site behind it is billed as storage (hourly per MB kept, per MB served), and attaching it spends a DNS change.
- To publish a folder on a free name: weird_names_check; weird_names_claim (confirmed, after telling the user the facts and each credit charge); weird_storage_upload of the folder (index.html at its root); weird_storage_domain_attach with the full name as hostname and the CID. A name already serving takes new content with weird_storage_domain_retarget.
- A refused claim says why (reserved, not allowed, taken, recently released with the date it frees up, the account's limit, a base with no room for new names right now, too many claims now or an account too new, with when to try again): suggest another label, never a near-copy of a reserved or taken one. A base whose free addresses are not open refuses every claim (free-names-not-ready; the charge is refunded): try again later.
- weird_names_release gives a name back: its site stops being served (the content stays stored); it cannot be undone. To keep a site for good, serve it at a hostname of a domain the user holds.
overview#
Resource weird://guide/overview.
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.
p2p#
Resource weird://guide/p2p.
A P2P app gives browser and device apps signaling, a relay, TURN and an offline mailbox, under a name of the p2p domain and the user's own hostnames. An app bills by the hour while it exists.
- weird_p2p_protocol is the protocol the app's clients speak; read it before writing client code.
- weird_p2p_app_update REPLACES origins and settings whole: read them with weird_p2p_apps first and send the complete new value.
- weird_p2p_mailbox deposits or replays a room directly. Credentials for the app's clients (TURN, mailbox tokens) are secrets the user mints in a terminal (weird p2p turn, weird p2p mailbox token): they never pass through an agent.
refusals#
Resource weird://guide/refusals.
Every refusal says what happened and the next step. Common ones:
- not signed in / key refused: the user runs
weird mcp setup. - terms not accepted: the user runs
weird terms. - not enough credits: the user runs
weird credits topup(what it needs is in the refusal). - blocked (closing the account, removing the authenticator): the refusal lists what to settle first.
- a code or link expired: start the flow again.
- missing permission: the user runs
weird mcp setup --add <toolset>. - profile incomplete: the user completes personal details, phone and billing profile (
weird whoamishows what is missing). - rate limited: wait the time given, then retry.
- acknowledgement missing or changed: show the user the text the tool returns (a changed one comes with the refusal, with its new version) and ask them; never accept it for them.
- a step needing the user's authenticator code in the request: the tool answers the command (run_in_terminal); the user runs it themselves.
- account suspended, hostname or content blocked: a decision after a review. Do not work around it (no other hostname, content, account or key for the same thing). Tell the user the reason and the contact; weird_account_restrictions shows the decision, and weird_support_open with abuse_decision_id contests it.
- not confirmed: describe the action and cost to the user, then call again with confirmed: true if they agree.
restrictions#
Resource weird://guide/restrictions.
After a report and a review, weird may restrict an account or block content or a hostname.
- A suspended account can still be read, open and answer support tickets, and ask for a copy of its data; every other change is refused (account-suspended). Blocked content or hostnames are refused too (content-blocked, hostname-blocked). Product reads show a restriction on what is held.
- This is a decision, not an obstacle: never try to work around it (another hostname, other content, another account or key for the same thing).
- Tell the user what was refused, the neutral reason and the contact address the refusal gives. weird_account_restrictions (account toolset) lists the decisions with their reference; the user may contest one with weird_support_open and its abuse_decision_id, or by writing to the contact.
- Anyone may report abuse hosted on weird with weird_abuse_report (support toolset), in the user's words and only if they state it is made in good faith. The answer's reference means the report was received, also when acknowledgement is none with an address given (that address already got a few confirmations this hour).
servers#
Resource weird://guide/servers.
Servers are cloud machines billed by the hour from creation until deletion, including while powered off; the credit charge per hour of each size is in weird_servers_catalog. Volumes and snapshots are billed per GB per hour.
- Creating needs a saved SSH key (weird_servers_ssh_keys). Creation and power actions run in the background: follow them with weird_servers or weird_servers_actions.
- Deleting a server, volume or snapshot is irreversible; rebuilding erases the disk.
- Volumes, snapshots, saving SSH keys and one-click apps are separate toolsets the user adds (server-volumes, server-snapshots, server-keys, apps); handing servers to another account is the sensitive transfers toolset.
- Console access and revealing an app password are the user's own steps in a terminal (weird servers console, weird servers apps password): those credentials never pass through an agent.
sites#
Resource weird://guide/sites.
A website folder (index.html at its root) may carry its own rules in two plain-text files at its root, uploaded like any other file.
- _redirects: one rule a line, from, to and an optional status. 301 (the default), 302, 303, 307 or 308 redirect; 200 serves another page of the site under the address asked for; 404, 410 or 451 serve a page of the site with that status. A :name segment matches one path segment and a trailing * the rest (:splat in the target). Rules apply only to paths that name nothing in the folder (an existing file always wins), the first match wins, and the visitor's query is kept. A forced rule (marked !) is refused.
- _headers: a path pattern at the start of a line (/path, /*, /:name/x, one * anywhere), then indented Name: value lines, or ! Name to remove a header; every matching rule applies, in order. Only allowed headers are applied; the rest are dropped and the file otherwise applies. The commonest snippets:
- a single-page app (every unknown path serves index.html), in _redirects: /* /index.html 200
- a custom not-found page, in _redirects: /* /404.html 404
- a moved page, in _redirects: /old-page /new-page 301
- caching, in _headers: a line /assets/* then an indented Cache-Control: public, max-age=31536000, immutable
- a content security policy, in _headers: a line /* then an indented Content-Security-Policy: default-src 'self'
Where they apply: on the user's own domain, on a free name and on the content's own address (<cid>.ipfs.…); never on the shared gateway address or under a path map.
What differs by address: a free address cannot redirect to another site (refused there unless the platform allows it). Strict-Transport-Security, Access-Control-Allow-Credentials, Clear-Site-Data and Origin-Agent-Cluster apply on the user's own domain only; Access-Control-Allow-Origin, -Methods, -Headers and -Expose-Headers are ignored on the content's own address (it keeps its own); X-Content-Type-Options stays nosniff; Set-Cookie, Location and other headers outside the allowed list are never applied.
Limits (documented defaults; the platform may set others): _redirects at most 64 KiB, 1000 rules, 8 placeholders a rule; _headers at most 64 KiB, 500 rules, 32 headers a rule, 2000 characters a line, 8 KiB of headers added to one answer. A file that breaks one or does not parse makes the gateway answer an error for the pages it decides.
Billing: a redirect is not charged as traffic; a page served through a rule (another page under the address asked for, or a custom error page) is charged as the content it serves.
Before publishing:
weird storage check-site <folder>(for an agent, weird_storage_check_site) reports every problem with its line, on this computer;weird storage addandweird names publishrun it first, as a warning (--strict stops on an error).
stats#
Resource weird://guide/stats.
Traffic statistics of the user's own sites, pins and content (stats toolset, opt-in: the user runs weird mcp setup --add stats).
- The daily summary is part of storage: per UTC day requests, traffic, cache share, status classes and requests per hour (weird_stats_summary), today so far (weird_stats_today), top and missing pages (weird_stats_pages). It holds nothing about visitors. Every read has a small per-request credit charge.
- Detailed statistics are switched on per hostname by its owner (weird_stats_detail_on, with the domain_id from weird_stats_settings): visitors and visits per day, referring hosts, countries (name the source given in geo), browsers, systems, devices, entry and missing pages, crawlers and fast clients. Daily visitor counts use a key new each day and per site, so their sum is not a count of people.
- Switching on is charged once, then bills hourly per site while on; a site already on is not charged again. Quote both credit charges from weird_credits_charges, tell the user what is kept and what is not, and ask (confirmed: true).
- It is also the user's legal act: they become controller of their visitors' data, which weird processes for them under its data processing agreement (the terms name its version; the user reads it with
weird legal show dpa). The acceptance is kept: it is due the first time and again when the text or the data processing agreement changes. Sites whose detailed statistics were paused because a new agreement took effect (dpa_paused of weird_stats_settings) start again once the user accepts it withweird legal accept-dpa; nothing collected is lost and the paused hours are not charged. While it is due, the tool answers the terms when called without controller_terms_acknowledged; show them word for word and pass it, with acknowledgement_version, only if the user accepts. A changed text is refused with the new one: ask again. - Refusals: detailed statistics not available; the data processing agreement not published yet (nothing is charged); only the site's owner may switch; a suspended or unpaid account; a detached hostname. weird_stats_detail_off stops collection and the charge at once, free, always allowed.
storage#
Resource weird://guide/storage.
Storage keeps files and folders by content id (CID) as at least two copies at independent providers, served at a gateway address and at the user's own hostnames.
- Enable once: call weird_storage_location_notice, show its text to the user word for word, and only if they agree call weird_storage_enable with that notice_version (credits are taken once).
- Upload with weird_storage_upload (a local path; a folder is served as a website with index.html at its root). It runs inside the user's own weird program: bytes never pass through tool arguments. It answers the CID, content id and gateway address, and whether the CID computed locally matches.
- Download with weird_storage_download to a local path; folders are unpacked and files checked against their content id.
- Storage bills hourly per MB kept (every copy) and per MB served. While storage is unpaid nothing new can be stored; weird_storage_status says when serving stops. Only the user can add credits.
- Serve content at a hostname of a live zone, or at one of the user's free names (names guide), with weird_storage_domain_attach (it spends the credits of a DNS change).
- A site's own rules: a _redirects file (redirects, a single-page app fallback, a custom not-found page) and a _headers file (caching, a content security policy) at the root of the folder, uploaded like any file. Check them with weird_storage_check_site before uploading (it runs on this computer); the sites guide explains them.
tunnels#
Resource weird://guide/tunnels.
A tunnel puts a service running on the user's computer on the internet under one of their hostnames, with HTTPS. In a live zone the user holds (or one shared with them) the record is written automatically; any other hostname needs the records the tunnel answers added where its DNS is managed: the address record (dns_target or dns_cname_target) and, when hostname_verified is false, the TXT record dns_txt_name holding dns_txt_value, which proves the name is the user's. The tunnel runs while the user's agent program runs on their computer.
This page is generated from the weird CLI; it changes when the CLI does.