Sundogs

v1.0.2
gs.sundo/sundogs Checked 4 days ago Published 5 days ago

The self-hosted MCP and control plane for your sites.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_catalog Search apps and playbooks

Find apps and free playbooks (how-tos) by what the site needs, e.g. "contact form", "redirects", "404". Leave query empty to list everything. Every app has a category ({slug, name}); categories lists them all in catalog order, and category narrows the apps to one. Each app has stage ("beta": works, but things may still break; tell the owner before they buy; "stable" otherwise) and stage_note, price_text (a plain sentence like "$19 one-time, one site"), the exact amounts in cents (prices, price_list) and cloudflarePlan (the Cloudflare plan it needs: "free" means the Cloudflare free plan, not th…

ParameterTypeDescription
categorystringOnly apps in this category, by slug (e.g. "forms-and-leads"); see categories in any answer.
kindstringOnly apps or only playbooks.
querystringWhat the site needs, in plain words.

get_app App details

One app's requirements (Cloudflare plan, hosts, settings), price, versions, stage ("beta" or "stable"), what's included and agent_tools (the tools it adds to the site's own agent connection, readOnly true for reads). Tell the owner the requirements, and that the app is in beta when it is, before they buy. price_text is the price in plain words (the cents are in prices and price_list); cloudflarePlan is the Cloudflare plan the app needs ("free" = the Cloudflare free plan, not the price); plan is deprecated and repeats it.

ParameterTypeDescription
appstringApp id from search_catalog, e.g. "forms".
app_idstringSame as app (the name the account tools use). One of the two is required.

get_playbook Read a playbook

The full Markdown of a playbook: verified steps the agent can follow to build something itself on Cloudflare. "start-here" is the first-time setup check for owners not on Cloudflare yet.

ParameterTypeDescription
slug *stringPlaybook slug from search_catalog.

claim_free_app Claim a free app

Add a free app (like Forms) to the owner's account. Needs the owner signed in (browser sign-in, or an API key with the download permission). Safe to repeat: a second claim returns the same result. Accepts the app's free license (the result says which version). Paid apps can't be claimed. Pass site_domain (e.g. example.com) to record which site will run it; only the domain and app id are stored.

ParameterTypeDescription
appstringSame as app_id (the name get_app uses). One of the two is required.
app_idstringApp id from search_catalog, e.g. "forms". `app` is accepted too.
sitestringShort form of site_domain.
site_domainstringThe site this is for, as a bare domain like example.com (`site` is accepted as a short form).

list_owned What the account owns

The apps this account owns: app, license (site or all sites), where it came from (free, order, grant) and when updates end. Needs the owner signed in.

get_download Download the apps for a site

Prepare the download for one site: a zip with the shared core plus the apps this account owns that cover site_domain (or only the apps you list), their agent skills, INSTALL.md, manifest.json, a signed license.json and download.sig (run node site-apps/verify.mjs after unzipping). Always pass `apps` on a first install: name only the apps the owner asked for, since the account also holds free apps they didn't ask for. Without `apps`, every owned app that covers the domain is included (use that only to update a site that already runs them all; the answer lists what is in the zip). Free apps named…

ParameterTypeDescription
appsarrayApp ids the owner asked for (free ones not yet owned are claimed first). Always pass it on a first install. Without it, every owned app that covers the domain is included. Site Health is added either…
detailbooleantrue = also the full bundle manifest and the list of files in the zip (both are in the zip: site-apps/manifest.json). Default: the essentials (link, apps and versions, requirements, license, signature…
sitestringShort form of site_domain. One of the two is required.
site_domainstringThe site's real domain, e.g. example.com (www and apex are the same site). localhost and *.pages.dev work for testing. `site` is accepted as a short form.
withoutarrayApp ids to leave out, e.g. ["health"] when the owner doesn't want Site Health (which otherwise comes with every download).

check_updates Check for newer versions

Which of the installed apps have newer versions this site's license covers, and which aren't covered (with the fix). Each app carries changes (release notes per version since the installed one: {version, date, notes, action?}), actionNeeded (every version's action since the installed one: what the owner or you must do; empty means nothing, so report requirement changes only when it isn't empty; core has the same) and whatsNew (the same notes as one flat list); without detail, only the newest version and the newest whatsNew entry. Pass installed as {app id: version} from the site's site-apps/ma…

ParameterTypeDescription
installed *objectInstalled apps, e.g. {"links":"0.9.0","forms":"1.0.0"}.
corestringInstalled core version, e.g. "0.10.0".
detailbooleantrue = every whatsNew entry and every version in changes per app. Default: only the newest entry and the newest version, to keep the answer short.
sitestringShort form of site_domain. One of the two is required.
site_domainstringThe site's domain, e.g. example.com (`site` is accepted as a short form).

move_license Move a site license to a new domain

A site license follows one website. If the site changes domain, move its licenses here (same website only; up to 3 moves a year per license, logged). Leave app_id out to move every site license held for from_domain. All-sites and free licenses already cover every domain. Needs the download permission.

ParameterTypeDescription
from_domain *stringThe domain the license is held for now.
to_domain *stringThe site's new domain.
app_idstringOnly this app's license.

get_account Account overview

The same facts as the account dashboard's Overview: how many apps, licenses and sites, license status (active, past due, canceled), the next date updates end, what the account owns, the latest release (versions and a one-line headline per app; detail: true for every note) and the next steps for a new account. Needs the owner signed in.

ParameterTypeDescription
detailbooleantrue = every release note for the site layer and each owned app. Default: the version and a one-line headline per app, to keep the answer short.

list_sites Sites this account runs apps on

The domains this account has downloaded apps for (domain, app and version only; the registry never sees site data): per site the apps with installed (the version last downloaded for that site: the store can't see what is deployed; versions_are says so), available and latest versions, whether an update is available or needs a renewal, the agency's client_label, and when the registry last saw it. Needs the owner signed in.

get_license One license in detail

A license's type (site, unlimited or reseller), billing (once or subscription), status (active, past_due, canceled, revoked), when updates end, which versions it covers, the sites using the app, and whether a renewal or upgrade is on offer. Give license_id (from list_owned or get_account) or app_id (every license for that app). Needs the owner signed in.

ParameterTypeDescription
app_idstringAn app id, e.g. "links": returns each license for it.
license_idintegerThe license id from list_owned.

list_orders Orders and subscription payments

The account's orders (id, date, what, amount, status), subscription payments, licenses whose updates can be renewed, and upgrade offers. Receipts and invoices are emailed by Stripe; to cancel a subscription or change a card, call billing_portal_link and give the owner the link. Needs the owner signed in.

create_checkout Start a checkout for paid apps

Price a cart and open a checkout for the owner to pay in their browser. Returns checkout_url (on this registry; the owner signs in as this account, reads the license, ticks the box and pays on Stripe's page: never pay or tick for them), the total, what's already owned (not charged twice), companion prices and included apps, and the one-line license to relay. Call get_checkout until status is "paid", then get_download. A site license is for one website (site_domain required); license_kind "unlimited" covers every site the owner owns or runs themselves (not client sites). interval: only "once" i…

ParameterTypeDescription
items *arrayApp ids to buy, e.g. ["links","popups"], or objects {app_id, license, interval} to choose per app.
couponstringONE discount code the owner gave you, like TEST-7KQ2-MX9P (any case). One code per order. Only pass one the owner supplied; never guess codes.
couponsarrayNot a field: it is refused so a code is never silently ignored. Use "coupon" with a single code.
intervalstring"once" (the default and the only one sold): pay once. Subscriptions ("month", "year") are not offered yet.
license_kindstring"site" (default): one website. "unlimited": every site the owner owns or runs themselves, now and later. "reseller": client sites, only where get_app lists a reseller price.
sitestringShort form of site_domain.
site_domainstringThe site the license is for, as a bare domain like example.com (`site` is accepted as a short form). Required for site licenses.

get_checkout Is the checkout paid?

Status of a checkout from create_checkout: pending (not paid yet; payment_started says whether the owner reached Stripe), paid (the license is on the account: call get_download), confirm (a free code made it $0: the owner must still open checkout_url and tick the license box), expired or failed; held or needs_refund when a payment arrived that could not be applied as quoted (the answer says what happened and that the owner is refunded or the payment is being checked: never pay again). cannot_pay (with a pending status) means the account changed since the checkout was made and the pay button wo…

ParameterTypeDescription
checkout_id *stringThe checkout_id from create_checkout.

renew_updates Renew updates for 12 months

Open a checkout that adds 12 months of updates to paid licenses whose updates end within 90 days (or ended). Leave entitlement_ids out to renew every license that's due; ids come from list_owned. The version already installed keeps working either way. Priced at the renewal price (about half). The owner pays in the browser like any checkout. Needs the checkout:create permission.

ParameterTypeDescription
couponstringNot accepted: discount codes don't apply to renewals (a code given here is refused, not ignored).
entitlement_idsarrayLicenses to renew (list_owned shows ids). Default: all that are due.