thinhost-mcp

v1.1.0
thinhost-mcp Checked 15 hours ago Published 2 months ago

thin.host MCP server — publish sites, custom domains and transactional email for AI agents

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

provision_domain

Provision a new custom domain for an AI-generated site or app. Call this when a user wants their deployed site accessible at a custom domain. This creates the domain mapping and returns a claim_url where the user completes payment ($8/mo) and DNS setup. The domain is NOT immediately active — the user must visit the claim_url first. Args: domain: The custom domain to provision (e.g., "mysite.com", "portfolio.dev") origin_url: The current URL where the site is hosted (e.g., "https://myapp.vercel.app") user_email: The end user's email address for bi…

ParameterTypeDescription
domain *string
origin_url *string
user_email *string
idempotency_key

check_domain_status

Check the current provisioning status of a domain. Call this to poll whether a domain is ready. Typical flow: 1. provision_domain → returns pending_payment 2. User visits claim_url and pays → status becomes pending_dns 3. User configures DNS → status becomes pending_ssl 4. SSL auto-provisions → status becomes active, ready=true Args: provision_id: The provision_id returned by provision_domain Returns: status: Current status enum (pending_payment, pending_dns, pending_ssl, active, failed, released) dns_status: Whether DNS is resolvi…

ParameterTypeDescription
provision_id *string

update_origin

Change the origin/target URL for an existing domain. Use this when the user redeploys their site to a new URL and wants the custom domain to point to the new location. Args: provision_id: The provision_id of the domain to update new_origin_url: The new URL to route traffic to (e.g., "https://new-deploy.vercel.app") Returns: status: Current domain status updated_at: Timestamp of the update

ParameterTypeDescription
new_origin_url *string
provision_id *string

release_domain

Release a provisioned domain, removing it from thin.host. This tears down the domain mapping, SSL certificate, and cancels billing. The domain becomes available for re-provisioning. This action is not reversible. Args: provision_id: The provision_id of the domain to release Returns: status: "released" released_at: Timestamp of the release

ParameterTypeDescription
provision_id *string

list_domains

List all domains provisioned through your platform account. Use this to build dashboards or check the state of all domains. Args: status_filter: Optional filter by status (pending_payment, pending_dns, pending_ssl, active, failed, released) limit: Maximum number of domains to return (default 50, max 100) Returns: domains: Array of domain objects with id, hostname, status, ready fields total: Total number of matching domains has_more: Whether more results exist beyond this page

ParameterTypeDescription
limitinteger
status_filter

send_email

Send a single transactional notification email (e.g. a sign-in link, receipt, or alert). PRECONDITION — this only works for accounts thin.host has approved for email AND when the 'from' address uses a verified sending domain. There is no self-serve: - Unapproved accounts get error_code "email_not_enabled". - A 'from' address on an unverified/unapproved domain gets "invalid_from_domain". In both cases the returned suggested_next_tool_call explains how to get approved or which sending domain to use. Do NOT retry blindly — surface that guidance to the user. Omit…

ParameterTypeDescription
subject *string
to *string
from_address
html
reply_to
text

publish_website

Publish a local HTML file, directory, ZIP, or static build folder as a live site on thin.host. Use this right after generating a site so the user gets a live, shareable URL instead of loose files they would have to upload somewhere themselves. Works for hand-written sites and for generator output — point it at a Docusaurus `build/`, an Astro `dist/`, a Vite `dist/`, or a Next `out/` folder. HTML files become pages (index.html -> /, about.html -> /about, docs/intro/index.html -> /docs/intro, 404.html -> the site's own not-found page); css/js/images/fonts become assets…

ParameterTypeDescription
source_path *string
title *string
slug

update_website

Push updated pages/assets to an existing hosted website (upsert by path). Files present locally replace the same paths on the site. With sync=false (default) site files not in this upload are left untouched — right for editing a few pages by hand. With sync=true the upload is treated as the complete site: after it lands, every page and asset the site has that this upload does not is deleted. Always use sync=true when redeploying a generator build folder (Docusaurus, Astro, Vite, Next export) — each build renames its hashed chunks, and without sync the old ones…

ParameterTypeDescription
source_path *string
website *string
syncboolean
title

publish_website_from_url

Publish a site from a URL — a .zip of the site/build folder, or a single HTML page. The hosted thin.host MCP endpoint cannot read your disk, so this is its publish path: zip the build folder (`cd build && zip -r ../site.zip .`), put the zip somewhere publicly reachable (a release asset, object storage, a slim.to link), and pass that URL. Everything else — page/asset mapping, batching, Docusaurus baseUrl detection and the `warning` it may produce — matches publish_website. Private, loopback and cloud-metadata addresses are refused. Args: source_url: P…

ParameterTypeDescription
source_url *string
title *string
slug

update_website_from_url

Redeploy an existing site from a URL (.zip of the site, or a single HTML page). The URL form of update_website, for the hosted endpoint or any agent that has the build as a downloadable archive. sync defaults to true here because a zipped build is the whole site: after upload, files the archive does not contain are deleted (dashboard-authored redirect pages are kept). Pass sync=false to upsert only. Args: website: The site's id, slug, or live URL. source_url: Public http(s) URL of a .zip archive or an .html file (≤150MB). title: Optional new site…

ParameterTypeDescription
source_url *string
website *string
syncboolean
title

list_websites

List the account's hosted websites with their live URLs, newest first. Args: limit: Max sites to return (default 50, max 100).

ParameterTypeDescription
limitinteger