# weird documentation > How to use weird: guides, the API, the weird command line and its MCP server, and the formats. weird (weird.ro) is a Romanian hosting platform: .ro domains, DNS hosting, storage on IPFS served at your own domain, HTTPS tunnels, P2P apps and servers in the EU. The only thing bought is credits (VAT is charged when credits are bought); every product spends credits, and every price is in the price book (`weird credits charges`, or `GET /credits/charges`): read it, never quote a price from memory. Use the `weird` command line or its local MCP server (`weird mcp`); ask the person before anything that spends credits or deletes something. The whole documentation as one text file: https://docs.weird.ro/llms-full.txt ## Start - [weird documentation](https://docs.weird.ro/): How to put things online with weird, and the full reference of its API, its command line and its MCP server. ## Guides - [Guides](https://docs.weird.ro/guides/): How each part of weird works, in plain words, with the commands to use. - [Getting started](https://docs.weird.ro/guides/getting-started/): Create a weird account, accept the terms, set up your authenticator, add credits and put a first site online. - [How billing works](https://docs.weird.ro/guides/billing/): Credits are the only thing you buy; every product spends them, up front, by the hour, by use or per request. - [Domains](https://docs.weird.ro/guides/domains/): Register, renew, transfer and protect .ro domains, and what you confirm when you order. - [DNS](https://docs.weird.ro/guides/dns/): Host a domain's DNS on weird: zones and their nameservers, records by RRset, DNSSEC, and moving a live domain without interruption. - [Storage and sites](https://docs.weird.ro/guides/storage/): Store files and folders on IPFS, serve them at a gateway address and at your own hostnames, publish a new version, take it down. - [Redirects and headers for your site](https://docs.weird.ro/guides/site-files/): Two optional files at the root of your site, _redirects and _headers, give it moved pages, a single-page app's fallback, its own not-found page, caching, a content security policy and CORS. - [A free address on e-weird.ro](https://docs.weird.ro/guides/free-address/): A free name under one of weird's own domains for a site from your storage: the rules, the lifecycle, the limits, cookies between names, and moving to your own domain. - [Traffic statistics](https://docs.weird.ro/guides/traffic-statistics/): The summary every site gets (requests, data, pages, errors, the cache; nothing about visitors) and the optional detailed statistics: what is recorded, for how long and where, the privacy signal, export, charges, and your role as controller of your visitors' data. - [Locked content](https://docs.weird.ro/guides/locked-content/): Albums and files encrypted on your computer before upload, opened with a password, a share link, a recovery kit or a person's key; what locking protects and what it cannot do. - [Opening your content without weird](https://docs.weird.ro/guides/opening-without-weird/): A locked album or file opens with the published format and any IPFS gateway: no account, no sign-in, no weird address. - [Tunnels](https://docs.weird.ro/guides/tunnels/): Put an app running on your own computer on the internet, at a hostname of yours, with HTTPS. - [P2P apps](https://docs.weird.ro/guides/p2p-apps/): Signaling, a relay, TURN and an offline mailbox for browser and device apps that talk peer to peer, at your own hostnames. - [Servers](https://docs.weird.ro/guides/servers/): Cloud servers billed by the hour, extra disks, snapshots and one-command apps. - [Using weird with an AI assistant](https://docs.weird.ro/guides/ai-assistants/): Give an AI assistant its own limited key through the CLI's local MCP server; confirmations, acknowledgements, and what an agent can never do. - [Account and security](https://docs.weird.ro/guides/account-security/): Passwordless sign-in, the authenticator and backup codes, step-up, sessions, API keys, the copy of your data, closing the account and refunds. - [Abuse reports and restrictions](https://docs.weird.ro/guides/abuse-restrictions/): How to report illegal content or abuse on weird, what a restriction after a review means, and how to contest a decision. - [The status page](https://docs.weird.ro/guides/status-page/): Where weird says whether its services are working, and how to check the API yourself. - [Glossary](https://docs.weird.ro/guides/glossary/): The words used across weird's documentation, the CLI and the API, in plain terms. ## Recipes - [Recipes](https://docs.weird.ro/recipes/): Step-by-step ways to do one common thing with weird, from the folder on your computer to the address people open. - [Publishing a single-page app](https://docs.weird.ro/recipes/single-page-app/): Put an app built with React, Vue, Svelte or any router of its own online, with every address loading the app and a cache that keeps new versions showing at once. - [Moving from another host](https://docs.weird.ro/recipes/moving-from-another-host/): Bring a static site from Netlify, Cloudflare Pages or a similar host to weird: what to copy over unchanged, what differs, and the order that avoids a gap. ## The API - [The API](https://docs.weird.ro/api/): The weird API for your own software and scripts: every operation, generated from the API's public document. - [Authentication and sessions](https://docs.weird.ro/api/authentication/): Public operations, session tokens, API keys and OAuth tokens; signing in without a password; strong authentication. - [API keys and permissions](https://docs.weird.ro/api/keys-and-permissions/): Creating API keys limited to the permissions they need, the full table of permissions, and which are sensitive. - [Errors](https://docs.weird.ro/api/errors/): How the API refuses a request: the error object, its codes, and what each status means. - [Idempotency](https://docs.weird.ro/api/idempotency/): How a retry after a lost answer is made safe, for every operation that spends credits. - [Rate limits](https://docs.weird.ro/api/rate-limits/): What the API document says about limits on how often an operation may be called. - [JSON and EDN](https://docs.weird.ro/api/conventions/): How bodies and answers are written: JSON with snake_case keys or EDN with kebab-case keywords, amounts as decimal strings. - [Accounts, sign-in and keys](https://docs.weird.ro/api/auth/): Signing up and in without a password, the authenticator and step-up, sessions and devices, API keys, the personal and billing profiles, the copy of your data and closing the account. - [Credits and credit charges](https://docs.weird.ro/api/credits/): The balance, buying credits, the credit history and statement, the credit charges, the low-balance warning, withdrawals and refunds. - [Invoices](https://docs.weird.ro/api/invoices/): The invoices issued when credits are bought. - [Domains](https://docs.weird.ro/api/domains/): Availability, registering, renewing and transferring .ro domains, nameservers, registrant details, change of holder. - [DNS](https://docs.weird.ro/api/dns/): Zones, records, copying a domain's live DNS, DNSSEC, moving a domain. - [Storage](https://docs.weird.ro/api/ipfs/): Uploads, stored content and its copies, pins, gateway domains, path maps, names. - [Tunnels](https://docs.weird.ro/api/tunnels/): HTTPS tunnels to an app on your own computer, at your own hostname. - [P2P apps](https://docs.weird.ro/api/p2p/): Signalling, relay, TURN and an offline mailbox for browser and device apps. - [Servers](https://docs.weird.ro/api/vps/): Tiers, servers billed by the hour, volumes, snapshots, one-command apps, SSH keys. - [Shared access](https://docs.weird.ro/api/grants/): Sharing a domain or a part of it with another account, which spends its own credits. - [Support](https://docs.weird.ro/api/support/): Tickets and replies, and contesting a decision. - [Notifications](https://docs.weird.ro/api/notifications/): Notices of the account and the settings of the emails it gets. - [Terms and acknowledgements](https://docs.weird.ro/api/legal/): The terms in force, accepting them, and the texts an order is acknowledged with. - [Abuse reports](https://docs.weird.ro/api/abuse/): Reporting illegal content or abuse, with or without an account. - [Referrals](https://docs.weird.ro/api/referrals/): Invitations and what they give. - [Promotions](https://docs.weird.ro/api/promotions/): Promotional codes. - [OAuth provider](https://docs.weird.ro/api/oauth/): Letting another application act for an account: authorization code with PKCE. - [Contact](https://docs.weird.ro/api/contact/): The contact form. - [Unsubscribing](https://docs.weird.ro/api/unsubscribe/): Leaving an email list from its link. - [Webhooks](https://docs.weird.ro/api/webhooks/): Notifications the platform receives from the payment processor. - [Health](https://docs.weird.ro/api/health/): Whether the API answers. - [names](https://docs.weird.ro/api/names/): The names operations. - [public](https://docs.weird.ro/api/public/): The public operations. ## The weird CLI - [The weird CLI](https://docs.weird.ro/cli/): Every command of the weird command line, with its flags, exit codes and the API operations it calls, generated from the CLI itself. - [weird abuse](https://docs.weird.ro/cli/abuse/): Report illegal content or abuse on weird (no account needed). - [weird account](https://docs.weird.ro/cli/account/): Your account: who it is, and closing it. - [weird agent](https://docs.weird.ro/cli/agent/): The background helper that keeps your tunnels connected. - [weird billing](https://docs.weird.ro/cli/billing/): Billing profiles: the details printed on your invoices. - [weird completion](https://docs.weird.ro/cli/completion/): Generate the autocompletion script for the specified shell. - [weird credits](https://docs.weird.ro/cli/credits/): Your prepaid credits: balance, history, credit charges, top-ups. - [weird device](https://docs.weird.ro/cli/device/): Approve or refuse a sign-in started on another device. - [weird dns](https://docs.weird.ro/cli/dns/): DNS zones and records hosted with weird. - [weird domains](https://docs.weird.ro/cli/domains/): Check, register, renew, transfer and share domains. - [weird emails](https://docs.weird.ro/cli/emails/): Your login address and the other addresses you proved are yours. - [weird grants](https://docs.weird.ro/cli/grants/): Access other accounts shared with you on their domains. - [weird help](https://docs.weird.ro/cli/help/): Guides to each area (first-site, credits, domains, dns, storage, sites, names, stats, tunnels, p2p, servers, agents), or help for a command. - [weird invoices](https://docs.weird.ro/cli/invoices/): Your invoices: list, show, download the PDF. - [weird keys](https://docs.weird.ro/cli/keys/): Manage API keys for scripts and agents. - [weird legal](https://docs.weird.ro/cli/legal/): The terms, the privacy notice and the data processing agreement: read them, see what you accepted, accept. - [weird login](https://docs.weird.ro/cli/login/): Sign this terminal in to your weird account. - [weird logout](https://docs.weird.ro/cli/logout/): Sign this terminal out. - [weird mcp](https://docs.weird.ro/cli/mcp/): Run weird as an MCP server for AI agents (stdio). - [weird names](https://docs.weird.ro/cli/names/): Free names: put a site from your storage on a name under weird's own domains. - [weird notifications](https://docs.weird.ro/cli/notifications/): Messages from weird about your account, and which emails you get. - [weird oauth](https://docs.weird.ro/cli/oauth/): Applications you allowed to sign in with your weird account. - [weird p2p](https://docs.weird.ro/cli/p2p/): P2P apps: signaling, relay, TURN and an offline mailbox for your apps. - [weird profile](https://docs.weird.ro/cli/profile/): Your details as a domain holder (name, address, phone, ID number). - [weird referrals](https://docs.weird.ro/cli/referrals/): Gift credits to someone, and the rewards you earn for it. - [weird security](https://docs.weird.ro/cli/security/): Your authenticator app (second factor). - [weird servers](https://docs.weird.ro/cli/servers/): Cloud servers, volumes, snapshots and one-click apps. - [weird sessions](https://docs.weird.ro/cli/sessions/): List the places your account is signed in. - [weird signup](https://docs.weird.ro/cli/signup/): Create a weird account. - [weird stats](https://docs.weird.ro/cli/stats/): Traffic statistics of your sites: daily summary, top pages, opt-in detail. - [weird status](https://docs.weird.ro/cli/status/): Your account at a glance: credits, terms, authenticator, what runs and the credits it spends per hour. - [weird step-up](https://docs.weird.ro/cli/step-up/): Prove your second factor for the next 15 minutes. - [weird storage](https://docs.weird.ro/cli/storage/): Store files and folders, download them, serve them at your hostnames. - [weird support](https://docs.weird.ro/cli/support/): Talk to weird's team: your support tickets. - [weird terms](https://docs.weird.ro/cli/terms/): Read and accept the terms of service and privacy notice. - [weird tunnel](https://docs.weird.ro/cli/tunnel/): Put something running on this computer on the internet, at your own hostname, with HTTPS. - [weird tunnels](https://docs.weird.ro/cli/tunnels/): Manage your HTTPS tunnels. - [weird update](https://docs.weird.ro/cli/update/): Update weird to the latest version. - [weird version](https://docs.weird.ro/cli/version/): Show the weird CLI version. - [weird whoami](https://docs.weird.ro/cli/whoami/): Show who this terminal is signed in as. ## The MCP server - [The MCP server](https://docs.weird.ro/mcp/): weird's local MCP server for AI agents: its toolsets and tools, which need a confirmation, and what it tells the agent. - [MCP: the guides the server gives](https://docs.weird.ro/mcp/guides/): The guides an agent reads with weird_guide or as weird://guide resources, word for word. - [MCP: guide](https://docs.weird.ro/mcp/guide/): Guide and status - [MCP: credits](https://docs.weird.ro/mcp/credits/): Credits: balance, history and credit charges - [MCP: domains](https://docs.weird.ro/mcp/domains/): Domains: availability, registration, renewal, transfers - [MCP: dns](https://docs.weird.ro/mcp/dns/): DNS zones and records - [MCP: storage](https://docs.weird.ro/mcp/storage/): Storage: uploads, downloads, pins, hostnames - [MCP: locked](https://docs.weird.ro/mcp/locked/): Locked albums and files: encrypted on this computer - [MCP: names](https://docs.weird.ro/mcp/names/): Free names: a site from storage under weird's own domains - [MCP: tunnels](https://docs.weird.ro/mcp/tunnels/): HTTPS tunnels - [MCP: p2p](https://docs.weird.ro/mcp/p2p/): P2P apps: signaling, relay, TURN, mailbox - [MCP: servers](https://docs.weird.ro/mcp/servers/): Servers: create, power, hostnames, actions - [MCP: server-volumes](https://docs.weird.ro/mcp/server-volumes/): Server volumes (extra disks) - [MCP: server-snapshots](https://docs.weird.ro/mcp/server-snapshots/): Server snapshots - [MCP: server-keys](https://docs.weird.ro/mcp/server-keys/): Saving and deleting SSH keys - [MCP: stats](https://docs.weird.ro/mcp/stats/): Traffic statistics of the user's sites - [MCP: apps](https://docs.weird.ro/mcp/apps/): One-click server apps - [MCP: support](https://docs.weird.ro/mcp/support/): Support tickets - [MCP: notifications](https://docs.weird.ro/mcp/notifications/): Notifications and email preferences - [MCP: legal](https://docs.weird.ro/mcp/legal/): Terms and privacy notice - [MCP: oauth](https://docs.weird.ro/mcp/oauth/): Applications the user authorised - [MCP: referrals](https://docs.weird.ro/mcp/referrals/): Gifts and referral rewards - [MCP: grants](https://docs.weird.ro/mcp/grants/): Access shared on domains - [MCP: account](https://docs.weird.ro/mcp/account/): Account: profile, email addresses, sessions, closing - [MCP: security](https://docs.weird.ro/mcp/security/): Second factor - [MCP: billing](https://docs.weird.ro/mcp/billing/): Billing profiles, top-ups, invoices - [MCP: withdrawals](https://docs.weird.ro/mcp/withdrawals/): Withdrawing from top-ups, refunds - [MCP: data-export](https://docs.weird.ro/mcp/data-export/): A copy of the account's data - [MCP: keys](https://docs.weird.ro/mcp/keys/): API keys - [MCP: transfers](https://docs.weird.ro/mcp/transfers/): Handing servers to other accounts ## Formats - [Formats](https://docs.weird.ro/formats/): The formats weird publishes, so your data can be read without weird. - [weirdlock1: locked albums and files](https://docs.weird.ro/formats/weirdlock1/): The published format of locked content: encrypted on your device, opened with a password, a link, a recovery kit or a person's key. - [The weirdlock1 browser viewer, for implementers](https://docs.weird.ro/formats/weirdlock1-viewer/): The viewer every locked album carries — what it is made of, the rules it keeps, how it is tested, how to verify a copy and how an album embeds it. - [weirdlock1: the licence](https://docs.weird.ro/formats/weirdlock1-licence/): The Apache License 2.0 under which the weirdlock1 specification and its reference code are published.