# miow

miow hosts small business websites. You build one by writing its pages as data.

To build a site: ask your human what the business is, what it offers, where and when, and how customers reach it. create_site with its name, then write_site with every page. Give your human the site's url to see it and the claim_url to own it.

To move an existing site (Squarespace, Wix…): create_site, then import_site, then poll get_site until the job ends.

To change a site: get_site, then read_page for each page you change. Change part of a page with update_block, insert_block, move_block or remove_block, by the block ids read_page gives, which leave the rest of it as it is; rewrite a page with write_site, sent whole. Never resend a page you have not read. search_site finds the pages that mention something.

To read any site miow hosts: get_site, read_page or search_site with its address as `site`, and no token.

Use only facts your human gave you. Every write can be undone with history and undo.

Needed something this server does not have, or found something wrong? Call send_feedback: the maintainers read every report.

## Connect

MCP over streamable HTTP at https://miow.me/mcp. In Claude Code:

    claude mcp add --transport http miow https://miow.me/mcp

create_site needs no key, and nor do get_site, read_page and search_site given a live site's address as `site`. create_site returns a site token: send it as `Authorization: Bearer miow_…` or as each tool's `token` argument. An owner can mint more tokens in the site's settings. Limit: 60 requests per minute per IP.

## Tools

- **create_site**: Make a new, empty site, live at once at https://<slug>.miow.me. Returns its token (pass it to every other tool as `token`) and a claim link. Give the claim link to your human: opening it on their phone saves a passkey that makes them the owner. An unclaimed site is deleted after 30 days; its free 14 days start when it is claimed. Then fill the site with write_site.
- **get_site**: A site's name, theme, header, address and every page by path and title, plus its status: a running or failed job (from import_site), its `domain`: none (no domain is asked for), pending (waiting on DNS), live (it serves the site); `hosting`: unclaimed (nobody owns it yet), trial (in its free days), paying (paid for), unpaid (a payment lapsed, and it pauses unless paid), paused (down until paid for), free (never billed); and `payments`: ready (Buy, the cart and donations show), none (its owner has not connected Stripe, so they are hidden), pending (Stripe is still checking the account, so they are hidden), off (miow takes none here). Call before changing a site you did not just create; write_site replaces the header whole, so change it from this one. With `site` and no token, any live site's name, address and pages as it lists them, a wiki's being its articles outside hidden categories, without its status.
- **read_page**: One page whole, in the shape write_site takes, so you can change it and send it back. Read every page you mean to change first: write_site replaces a page whole. With `site` and no token, the page as its address shows it: at a wiki's address, the article there; a sold product without its price.
- **search_site**: The site's pages that hold some words, best first: titles starting with them, then titles holding them, then descriptions and page text; a question no page holds word for word is matched in English, stems and all. Each with its path, url, title, description and the passage the words are in, the first 20 of `total`: the same rows as the site's search page and /search.json?q=.
- **write_site**: Create or replace pages, each sent whole, and delete others; optionally rename the site, change its theme, or set its header, replaced whole. A page you do not send is left as it is; to change part of one, update_block, insert_block, move_block and remove_block leave the rest of it as it is. Every write can be undone (history, undo). The input schema gives every block's fields. The reply's notes say what the write changed of what you sent.
- **update_block**: Change some fields of one block on a page, by its id from read_page, and leave the rest of it and every other block as they are: the way to change a price, a line of text or a picture without resending the page. A block keeps its type. On a wiki, the block tools change its footer; save_wiki_page changes its articles.
- **insert_block**: Add one block to a page, after or before a block named by its id (in a column, when that block is in one), or at the end. Returns the new block's id. The input schema gives every block's fields, and write_site's description says what each is for. Images: upload_image first.
- **move_block**: Move one block on a page, as it is, to after or before another block named by its id (into a column, when that block is in one), or to the end of the page. Nothing else on the page changes.
- **remove_block**: Take one block off a page, by its id from read_page; in a column, it leaves the column. Every other block stays as it is, and history and undo put it back.
- **history**: The last 30 changes to the site, newest first: what each did, who made it and when. Pass a change id to undo to put the site back as it was before that change.
- **set_wiki**: Give the site a wiki, or change its tree: the whole site, or with `at` a path of a site of pages, as "docs" for a help section at /docs beside its pages. A wiki's pages live in its categories, each with a version and a history of every save, and are written with save_wiki_page, not write_site. The tree is sent whole: each node's slug is its path segment, and its metadataKeys are the facts a page under it carries, a select key becoming a filter on the category's page. A wiki keeps its place when `at` is left out.
- **read_wiki_page**: One wiki page whole: its title, blocks, metadata, version and how many revisions it has. Pass its version as base_version when you save it back.
- **save_wiki_page**: Create a wiki page, or change one, as one revision of its history. Send the blocks whole, with base_version from read_wiki_page: a save over a page someone changed since is refused, and you read it again. A change to blocks or title moves its version (major for added, moved or removed blocks, minor for changed words); a metadata-only change moves nothing.
- **wiki_history**: A wiki page's revisions, newest first: version, kind of change, message, who and when, and what each changed block by block. Pass a revision id to restore_wiki_page to put the page back as it was.
- **restore_wiki_page**: Put a wiki page back as one of its revisions had it. The restore is a revision of its own, so it can be undone the same way.
- **delete_wiki_page**: Delete a wiki page and its whole history. This cannot be undone, and restore_wiki_page cannot bring it back: read it first with read_wiki_page if it may be wanted. A category's hub article is its category's path.
- **get_stats**: The site's visitors, engaged visitors (who kept a page open fifteen seconds or clicked, scrolled or typed on it), agents, page views and bounce rate (one-page visits never engaged with) over the last `days` days, the same figures for the same number of days before, visitors and agents by day, the agents by name, its most visited pages, entry pages, sources (a referring host or a link's utm_source), countries (ISO codes) and devices, and what visitors searched the site for and found nothing. A visitor is one browser on one day, counted without cookies. An agent (an AI crawler, an MCP client, or anything reading the site's markdown, llms.txt or .well-known files) is counted the same way and never among the visitors.
- **undo**: Put the site back as it was before a change, undoing it and every change since. Take the change id from history. The undo is itself a change, so it can be undone too.
- **import_site**: Replace the site's pages with an existing website's (Squarespace, Wix or anything else: its sitemap, or failing that its home page's links, says which pages), word for word, at the same paths, with its images copied across. A Wiki.js wiki becomes the site's wiki: the whole site, or with `at` the wiki under that path beside its pages, so a site and its wiki on two hosts come together as one. Runs in the background for a minute or two: poll get_site until `job` is null, or read its error.
- **upload_image**: Copy an image from a URL into miow's store and get back the URL to use in a pictures block. Up to 10 MB. JPEG, PNG, GIF, WebP and AVIF are kept as they are; an SVG is drawn as a PNG at twice its size, and refused if it holds a script or links to other files. Use it for an image on someone else's server, which may move or vanish.
- **set_domain**: Put a site nobody owns yet on a domain your human already has; once someone owns the site, its domain is set only from its settings. Returns the DNS records they must set where they bought it: first a TXT record proving the domain is theirs, then the records that point it here. The site moves to the domain once those records are seen; call domain_status to check.
- **domain_status**: Where the domain from set_domain stands, checked again now: `kind` is none (no domain is asked for), pending (waiting on DNS), live (it serves the site); while it is pending, `records` holds the DNS records still missing. DNS can take an hour to be seen; call again later rather than in a loop.
- **invite_link**: A link that makes whoever opens it the owner of a site nobody owns yet, after saving a passkey. Works once, for 14 days. Give it to the person who should own the site, never post it. Once the site has an owner, they invite others from its settings.
- **send_feedback**: Tell the maintainers of miow what you needed and did not find, what is wrong, or what broke. One issue per call, in 300 characters at most. Reports are read, not published.

## Prompts

Each starts a job with its calls in order:

- **build_a_site**: Build a website for my business
- **move_my_site**: Move my Wix, Squarespace or other website to miow
- **change_my_site**: Change something on my site
- **how_is_my_site_doing**: Who visits my site, and what do they look for?
- **what_can_you_do**: What can miow do for my website?

## Reading a site

Any site, on its own address, serves these without a key:

- `/llms.txt`: Every page of the site, linked, with its description
- `/{path}.md`: A page as markdown; the home page is /index.md
- `/search.json`: Every page as {path, title, description, text}; with ?q=, the pages holding those words, best first, as search_site gives them
- `/sitemap.xml`: Every page, with when it last changed
- `/og.png/{path}`: A page's share card, 1200x630
- `/mcp`: The site's own MCP server: its search and read tools, with no key

Agent card: https://miow.me/.well-known/agent-card.json. OpenAPI: https://miow.me/openapi.json. Tools as a manifest: https://miow.me/.well-known/mcp.json. Registry name: me.miow/miow.
