Beta

For your agent

What your agent can do.

When your AI app connects to Stets at https://stets.app/mcp, it gets these 36 tools. You talk; your agent picks the tools. Each one says whether it only reads, prepares a change you confirm on stets.app, or acts at once. Publishing always waits for your yes.

Sites and building 11

list_sitesread

Lists the sites on this Stets server with their preview and production URLs, 100 at a time (page), oldest first; q finds sites by id, title or own domain. access: your role on each (owner or editor), or admin for someone else's site, …

q?, page?

create_sitedirect

Creates a new site from the Stets starter (one page, Tailwind, the standard head) and builds revision 1.

site, title, description, language?

get_site_contextread

Call this first. Returns the head revision, URLs, tags, recent history, site.json, every file with its size, the media library and the guide topics.

site

read_filesread

Returns the contents of up to 30 files, from the head revision or an earlier one.

site, paths, revision?

search_filesread

Searches the site files for plain text (case-insensitive) and returns matching lines with line numbers.

site, query, path_prefix?

apply_changesdirect

Writes, replaces or deletes site files in one batch, builds the site in the sandbox, and on success makes a new revision with a preview URL.

site, base_revision, message, changes

rebuild_sitedirect

Builds the head revision again, for example after uploading media or changing alt text, and makes a new revision.

site, message?

get_historyread

Lists recent revisions with their messages, tags, URLs and which one is published.

site, limit?

diff_revisionsread

Lists the files added, changed and removed between two revisions (default: published → head).

site, from?, to?

restore_revisiondirect

Makes a new head revision with the files and build of an earlier revision or tag.

site, revision, message?

tag_revisiondirect

Names a revision (default: head), like "v1" or "before-redesign", so you can restore or publish it by name later.

site, tag, revision?

Publishing 2

publishafter a yes

Points the production site at a revision (default: head).

site, revision?, user_confirmed

unpublishafter a yes

Takes the site off production: its address (and own domains) show a "Coming soon" page again.

site, user_confirmed

Media 4

get_upload_instructionsread

Returns the HTTP endpoint and token for uploading images, video, music, fonts and PDFs to a site's media library, with ready-to-run curl commands.

site

add_fontdirect

Adds an open-licence web font (the Google Fonts and more, from Fontsource) to the site's media library by family name, and returns the @font-face block for the layout and the font-family for CSS or Tailwind @theme.

site, family, weights?, styles?, subsets?

list_mediaread

Lists the media library, one line per item: id, size, file name and alt text.

site, query?, offset?, limit?

update_mediadirect

Sets the alt text or title of a media item.

site, id, alt?, title?

Domains 4

connect_domaindirect

Connects a domain name the user owns (like www.example.com) to the site, and returns the DNS records the user must add at their DNS host: first a TXT record that proves the name is theirs (it stays), then the record that moves the name …

site, hostname

check_domainread

Asks Cloudflare, and looks up the TXT record, for the current status of the site's domains (or one): pending (waiting for the DNS; "reason" says when only the TXT record is missing or wrong), active, or failed with a reason; with the …

site, hostname?

set_primary_domaindirect

Makes one of the site's domains the primary, when the user asks: once it is active, the site's other domains and its Stets address redirect to it, and the site's pages name it in canonical links and the sitemap at once (no rebuild).

site, hostname

disconnect_domainafter a yes

Takes a domain off the site at once.

site, hostname, user_confirmed?

Forms 5

list_form_messagesread

Lists the messages visitors sent through the site's forms (newest first, kept 30 days), one line each: #id, time (UTC), form, page, [preview], [spam: why], then label: value pairs.

site, since_id?, before_id?, spam?, include_previews?, limit?

update_form_messagesdirect

Marks form messages as spam or not spam, or deletes them (for good), by #id from list_form_messages.

site, ids, as

set_form_maildirect

Sets the address the site's form messages are mailed to (Site plan only), or sends a test mail there.

site, to?, test?

list_signupsread

Lists the e-mail addresses on the site's lists (forms with data-list), oldest first, one line each: #id, address, confirmed (date) or waiting, form, then the form's other fields.

site, form?, waiting?, after_id?, limit?

update_signupsdirect

Takes addresses off the site's lists (for good), or clears one list form entirely.

site, form?, remove?, clear?

People 5

list_peopleread

Who has the site (each email and role: owner or editor) and who is invited, as its people page shows them, with what the user can change.

site

invite_to_siteprepare

Prepares sharing the site with someone as an editor.

site, email

remove_from_siteprepare

Prepares taking someone off the site.

site, email

leave_siteprepare

Prepares the user leaving the site.

site

withdraw_invitationdirect

Takes back what still waits on the site for someone (list_people's waiting list): an invitation for their yes, or a share for their first sign-in.

site, email

Billing 2

get_planread

Returns the site's plan (free or the Site plan), where it comes from, its price incl. VAT and what the plan includes, with the page where an owner manages it.

site

redeem_codedirect

Puts a discount code the user gave you on one of their sites.

site, code

Statistics 1

get_site_statsread

Page views of the published site per day (UTC), with the top pages, referring sites and visitors' countries, plus the site's storage, revisions and recent build times.

site, days?, questions?

Guides and feedback 2

read_guideread

Returns a Stets guide: start (how it works), design, migrate (rebuilding an existing site), content (collections), media, seo, forms (contact forms), domains (the user's own domain name).

topic

send_feedbackdirect

Sends feedback about Stets itself to the Stets team: one of its tools fails or does the wrong thing, the build or the engine misbehaves, a guide is wrong, a page of stets.app is broken, something is missing, or something worked …

summary, kind, goal?, about_site?, tool?

Talk to your agent. Get a website.