SnapHost
Server Details
Send a live, private link to a client from Claude. Updates in place, viewers by email.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- snaphost-ai/snaphost
- GitHub Stars
- 0
- Server Listing
- SnapHost
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 68 tools
Despite 68 tools, the boundaries are unusually well drawn: allowlist tools (list/add/remove/set), link tools (set_link_expiry/set_link_status/create_share_link), and visibility tools are explicitly cross-referenced with 'use X instead of Y' guidance. The remaining friction is in a few clusters that still require careful reading — create_bundle_upload/upload_bundle_part/upload_blob, and the rename/slug pairs (rename_site vs set_site_slug, rename_folder vs set_folder_slug).
Overwhelmingly a consistent snake_case verb_noun pattern across resource families (list_sites, get_site, publish_site, update_site, delete_site, add_custom_domain, remove_custom_domain, verify_custom_domain). Minor deviations exist in the upload family (create_bundle_upload, upload_bundle_part, upload_blob) where the verb/noun ordering is not uniform.
68 tools is far past the point where an agent can hold the surface in mind; the hosting domain is genuinely broad, but many operations (three upload paths, four allowlist tools, two slug tools, two rename tools, separate add_/set_ external origin tools) could be consolidated. The count forces reliance on the very long descriptions to pick correctly.
The lifecycle is covered end to end: publish/update/rollback/preview-promote, visibility, allowlist and access requests, link expiry and passwords, folders and slugs with forwarding, custom domains plus verification, data collections with schema/access/records/export, webhooks, brand kit, and tracking with consent. Almost no dead ends remain for the stated hosting purpose.
Publisher details
- Operator
- SnapHost · Publisher source
- Operator website
- https://snaphost.ai · Publisher source
- Vendor relationship
- First-party · Publisher source
- Documentation
- https://snaphost.ai/docs/mcp-server · Publisher source
- Privacy policy
- Not provided
- Trust center
- https://snaphost.ai/security · Publisher source
- Restrictions
- Free plan included. Private sharing, custom domains and the data layer require a Pro plan. OAuth 2.1 with dynamic client registration, no custom OAuth app needed.
Available Tools
68 toolsadd_custom_domainAdd custom domainAIdempotentInspect
Use when the user wants the site on their own domain (owners and admins who edit the site). Points "deck.acme.com" at SnapHost. With site_id the domain shows that one site (Pro); with target: "workspace" (a Pro workspace) it becomes the workspace’s sharing domain, where every site and folder link opens. Returns required_dns_records: a pointing record and a TXT ownership record, both needed. Relay them exactly; live once both resolve. mode "viewer" (default) shows the site in the SnapHost viewer. mode "website" makes the site a public website at the domain, for good: only an owner can, it needs a team workspace on a paid plan and an HTML site, and it removes every share and makes the site public. Make one only after the person confirms. A shared-page address already added for this site becomes the website when you call again with the same host, site_id and mode "website". mode "redirect" sends visitors to the site’s website (up to 3 redirect addresses). listed (website only, default true) lets search engines list it. A domain on another site: remove_custom_domain there first. A view password, link expiry or allowlist must be removed first: ask the person before removing any.
Inputs: host (required), mode, listed, target, +2 more.
add_external_originsAdd external originsAIdempotentInspect
Trust one or more external https origins for a site, adding to (never replacing) its CSP allowlist. This is the follow-up when publish_site / update_site reports origins the security policy will block and the owner confirms trusting them. Only pass origins the owner has explicitly approved. Each entry must be a bare https://host[:port] with no path. This is a paid capability. To remove or replace origins, use set_render_options instead. Returns the full updated render options.
Inputs: origins (required), site_id (required), workspace_id.
add_to_allowlistAdd to allowlistAIdempotentInspect
Use when the user wants to let one more person in, invite a client, or share it with the team. Adds email and/or domain entries to a private site's allowlist WITHOUT removing anyone already on it; use this to share with more people. Entries already present are left untouched (the call is idempotent), and everyone previously allowed keeps their access. To replace the entire list instead, use set_allowlist; to take someone off, use remove_from_allowlist. Email entries work on every plan (a Free page can name up to 3 people, Pro has no limit); domain entries need Pro. A plan_limit refusal names the plan, and where one lapsed, how to get it back. The site must be allowlist (private); make it private first with set_visibility if it is public. Each newly-added email receives an invite email; the optional message is included in it as a personal note from the owner.
Inputs: site_id (required), allowlist (required), message, workspace_id.
add_website_editorAdd website editorAIdempotentInspect
Make a workspace member an editor of a website, by email. Editors can change the website, see its previews and put them live. The person must already be a member of the workspace with a role that can edit; to add someone new, invite them to the workspace first. Only a workspace owner can change the editors.
Inputs: email (required), site_id (required), workspace_id.
apply_data_templateApply data templateAIdempotentInspect
Use when the user wants a contact form, waitlist, RSVP, guestbook, counter, or leaderboard on the page. Adds a ready-made data feature to a site: provisions the recipe's collection (access mode + schema) and returns the HTML block to insert into the page (then publish with update_site). Needs Pro; scoped to a site you can edit. See list_data_recipes for ids.
Inputs: site_id (required), recipe_id (required), workspace_id.
approve_access_requestApprove access requestAIdempotentInspect
Approve a pending access request: the requester is added to the site's allowlist and can then view it. Use list_access_requests to find the request_id. For anyone who may edit the site; rejected requests (forbidden, plan_limit, not_found) make no change.
Inputs: site_id (required), request_id (required), workspace_id.
clear_view_passwordClear view passwordADestructiveIdempotentInspect
Remove a site's view password so viewers with the link can open it without a password. Needs edit access to the site (its creator or an editor grant, in a role that can edit); rejected requests (forbidden, not_found) leave the stored password unchanged.
Inputs: site_id (required), workspace_id.
create_bundle_uploadCreate bundle uploadAInspect
To update a site with photos without resending its unchanged files, pass site_id and manifest: the answer lists the files it lacks. Otherwise, start a bundle upload for bytes that html or files cannot carry: a site with images, fonts or other binaries (a built React site), or a single binary file (a PDF, a .docx, .pptx or .xlsx, an image, a video, an audio), sent as it is under its filename, given here once. Text goes as html or files, with no upload. Returns an upload_id to send the bytes against, then publish_site or update_site with that upload_id instead of html/files/zipBase64. Sending the bytes needs a shell that makes the SnapHost tool calls itself. A shell here is a coding agent in a terminal (Claude Code, Cursor, Codex CLI); a chat app's code sandbox does not count, since its output would have to be retyped into the call. Without a shell, do not open an upload and do not build base64. Ask the person to drop the file (downloaded from the chat if it lives there; a .zip of the built folder with index.html at its root for an app) on the dashboard, after switching the dashboard to the workspace you name: the drive (https://app.snaphost.ai/) for a new site, or the site's own page (https://app.snaphost.ai/sites/<site_id>, "Upload a new version") to keep an existing link; the site_id comes from list_sites or the publish result. Then list_sites shows it (a new site is the newest, named after the file) and every sharing tool applies. With a shell, two ways to send it. Send it with upload_bundle_part, one numbered part per call: a tool call on this connection, so it works even with no network of its own. Or PUT the .zip to upload_url (HTTP PUT, Content-Type application/zip; above max_part_bytes, to upload_url/parts/0, /parts/1, ... in order), which is fewer, larger requests when your shell can reach that host; storage_url is the same PUT straight to the storage host, one request, up to the bundle cap. Tool calls and your shell do not share a network: a PUT that is refused (a 403 naming the host, or a connection that never leaves) says nothing about upload_bundle_part, so switch to it without asking the owner to change network settings. The upload is single-use and expires 15 minutes after it opens. It belongs to the workspace this call acts in: pass the same workspace_id to every upload_bundle_part and to the publish.
Inputs: site_id, filename, manifest, workspace_id.
create_folderCreate folderAInspect
Create a folder to organize sites. space is the drive: personal (default) or shared (Pro workspaces only). Pass parent_id (from list_folders) to nest it; omit for a top-level folder. A nested folder must share its parent’s drive. A shared folder starts restricted: addressable at its slug but visible only to the creator and members they invite. Pass open_to_team: true to open it to everyone in the workspace, including members who join later. The marketing and blog folders and any folder inside them are always open to the workspace, and open_to_team: false is refused there. Returns the new folder, with the slug derived from its name; in the SnapHost marketing workspace the landing-page folder must end up slugged marketing, so check the returned slug.
Inputs: name (required), space, parent_id, open_to_team, +1 more.
define_collection_schemaDefine collection schemaAIdempotentInspect
Define (or clear, with schema=null) a JSON Schema on a collection in a site's data store. A schema validates every appended record server-side, turning the collection into a typed backend. Defining a schema requires Pro. Scoped to a site you can edit.
Inputs: schema (required), site_id (required), collection (required), workspace_id.
delete_collectionDelete collectionADestructiveIdempotentInspect
Delete an entire collection: every record in it plus its access-mode and schema settings. Irreversible. Scoped to a site you can edit.
Inputs: site_id (required), collection (required), workspace_id.
delete_folderDelete folderADestructiveIdempotentInspect
Delete a folder. Its sites and any sub-folders are kept and moved up to the deleted folder’s parent (the drive root if it was top-level), a sub-folder or a page taking the next free slug there when the parent already holds its own, so no content is lost; each page's old workspace-host address forwards to its new one until another page takes it. Only someone who can manage the folder may delete it. In the SnapHost marketing workspace the Marketing folder is never deleted; a folder inside it may be, and its pages keep serving one level up at shorter /lp addresses, so the result names every address that ended and every one that started.
Inputs: folder_id (required), workspace_id.
delete_siteDelete siteADestructiveIdempotentInspect
Delete a site by id: marks it deleted, purges its content and version history, deletes the records and collections it holds (a waitlist or contact form included), makes the share link non-viewable and stops its old addresses forwarding. This cannot be undone and nothing can read any of it back afterwards, so read what matters first: list_site_collections for what it holds, then get_site_content and export_site_data. Not a way to fix a broken address: create_share_link puts a page back on its address without destroying any of this. On a website, only an owner; the domain then answers not available and can only ever be a website again.
Inputs: site_id (required), workspace_id.
delete_site_recordDelete site recordADestructiveIdempotentInspect
Delete one record from a collection (moderation). Records are otherwise append-only and immutable. Scoped to a site you can edit.
Inputs: site_id (required), record_id (required), workspace_id.
delete_webhookDelete webhookADestructiveIdempotentInspect
Removes a webhook and everything queued for it; nothing is posted to it again. To stop a disabled webhook for good, or to replace an endpoint (register the new one first). Workspace owners and admins only.
Inputs: webhook_id (required), workspace_id.
deny_access_requestDeny access requestADestructiveIdempotentInspect
Deny a pending access request: the requester is not added to the allowlist and stays unable to view the site. Use list_access_requests to find the request_id. For anyone who may edit the site; rejected requests (forbidden, plan_limit, not_found) make no change.
Inputs: site_id (required), request_id (required), workspace_id.
export_site_dataExport site dataARead-onlyIdempotentInspect
Export the records in a collection, up to 5000 (the store holds far more; a bigger collection comes back cut off, and the result says so with truncated: true). It is also the only call that reports a total: count is how many came back, so while truncated is false it is the whole collection. query_site_records reads at most 200 records and cannot page past them, so it can never total a collection. Use for backup or analysis. Scoped to a site you can edit.
Inputs: site_id (required), collection (required), workspace_id.
get_brand_kitGet brand kitARead-onlyIdempotentInspect
The active workspace's brand kit, if it has one. Call it BEFORE building or restyling any page, report, deck or dashboard, with the workspace_id you were asked to publish in. A workspace kit (kind: "workspace") carries the palette by role, the heading and body fonts and where they come from, the logo and mark URLs (null until the workspace adds a logo), the language and locale, the tone and the phrases never to use, the rules a page follows, and tokens_css: paste it as the first rule of the page's own and set every colour and font through var(--brand-*). The website workspace kit (kind: "website") is SnapHost's own: --sh-* tokens injected on delivery, the voice, the plan prices and the landing-page steps. Either kit, and a workspace with no kit, may carry guidelines: the brand guidelines as a page or PDF URL the owner set; read it before building and follow it where the kit is silent, and let the kit win where they disagree. A workspace kit with pending: true was saved before the guidelines last changed: build from it, tell the person once, and offer /snaphost:brand to update it. Fix every brand_warnings entry a publish returns before reporting done; warnings never block. A workspace with no kit returns has_brand_kit: false and how to create one.
Inputs: workspace_id.
get_design_guideGet design guideARead-onlyIdempotentInspect
How an A+ report, presentation or dashboard is built: the brief questions to ask, the build-and-review procedure, the rules for rhythm, type, numbers, tables, charts, navigation, responsive layout, accessibility, locale and the SnapHost viewer, and the rubric to score the page against in writing before calling it done. Call it BEFORE building any of the three, with the kind and the traits the brief needs: printable (a downloadable PDF that keeps the look), live (numbers that update on their own), kiosk (an office screen). Then compose from the document recipes (list_page_recipes), publish with document_kind and printable, and fix every design_warnings entry.
Inputs: kind (required), traits, workspace_id.
get_page_recipeGet page recipeARead-onlyIdempotentInspect
The HTML of one page recipe by id (see list_page_recipes), with links already absolute for this site. Paste it into the page, keep the token references, and replace the copy with what this page is about.
Inputs: recipe_id (required), workspace_id.
get_preview_linkGet preview linkARead-onlyIdempotentInspect
Get a link to a website’s waiting preview, to give to the person for review. It works for one hour for anyone who has it, and ends sooner if the editor is removed or the preview is replaced. Make a preview first with update_site and preview: true. Editors only.
Inputs: site_id (required), workspace_id.
get_siteGet siteARead-onlyIdempotentInspect
Get a single site's status, visibility, current version metadata, detected content kind, its old addresses that still forward to it (old_addresses), SPA fallback, allowed external origins, whether its page offers the uploaded file for download (original_included) and whether that can be changed (original_withholdable), link expiry (link_expires_at, ISO or null) with its derived link_status, whether a view password is set (has_view_password), view count, the allowlist it is currently shared with (who can view a private site) by id (view_count, allowlist, old_addresses, spa_fallback, viewer_update, auto_refresh, external_origins and original_withholdable are null for a reader who may only view it), and files: every stored file of the live version as {path, byte_size}, partials included. content_hash names the live version: pass it as base_content_hash to update_site. website_host is the address of a website. Pass a path from files to get_site_content to read that file.
Inputs: site_id (required), workspace_id.
get_site_contentGet site contentARead-onlyIdempotentInspect
Fetch a stored file of a site by id so you can edit it and push the result back with update_site: the read half of the round-trip get_site and list_sites omit (they return only metadata, never the body). Without path returns the entry document. With path (e.g. _partials/header.html) returns that stored file as text; the site’s file list is in get_site. Read every file you will change before sending it in changes; never guess a path. A binary file or one over 256 KB is refused with a plain sentence. Without path, returns the live document inline as UTF-8 (encoding: "utf-8") for HTML/Markdown/text/SVG/JSON, or base64 (encoding: "base64") for binary content like PDFs and images, alongside content_type, content_kind, and content_hash (the version you read: pass it as base_content_hash to update_site). A site whose content_kind is not html was rendered from a file (Markdown, a notebook, a Word, PowerPoint or Excel file, a CSV, a PDF, an image, a video, an audio, a Mermaid diagram, a text file or a React component): what comes back is its rendered page, not the file, and the result says so in note. To change such a site, send the source again to update_site: a text source (Markdown, CSV, Mermaid, notebook, code, component) as files, a binary one as an upload_id (which needs a shell that makes the SnapHost tool calls itself; without a shell, update_site says where the person drops it); sending edited HTML turns it into an HTML site. Pass original true to fetch the uploaded file itself when the page offers it for download (get_site reports original_included); refused when it does not.
Inputs: site_id (required), path, original, workspace_id.
list_access_requestsList access requestsARead-onlyIdempotentInspect
List pending access requests for an allowlist site: people who asked to view it and are waiting for approval. Each entry has an id, the requester_email, an optional message, its status, and when it was created. Approve one with approve_access_request (adds them to the allowlist) or reject it with deny_access_request. For anyone who may edit the site; requires a plan with access requests enabled (plan_limit otherwise).
Inputs: site_id (required), workspace_id.
list_allowlistList allowlistARead-onlyIdempotentInspect
Show who a site is currently shared with: its visibility and the email and/or domain entries on its allowlist. On a public site the allowlist is not consulted (anyone with the link can view); entries from before it went public are still listed, and set_allowlist with an empty array clears them. Call this before adding or removing people so you can see the existing list rather than overwriting it.
Inputs: site_id (required), workspace_id.
list_custom_domainsList custom domainsARead-onlyIdempotentInspect
List custom domains with their verification status and what each one serves (mode and serves: the SnapHost viewer, a website with its listing choice, a redirect to the website, or the sharing domain): pass site_id for the domains bound to one site, or omit it for the workspace’s sharing domain. A domain that is not live shows its ownership_record to someone who may manage it: it needs that TXT record and the record that points it here; relay them to the owner exactly as returned. Without site_id the list also names, with status "set_aside", each domain of the workspace that another workspace added before either proved it; relay its note.
Inputs: site_id, workspace_id.
list_data_recipesList data recipesARead-onlyIdempotentInspect
List ready-made data features (contact form, waitlist, waitlist with a public signup count, RSVP, guestbook, scoreboard, clock-in, leaderboard). Use with apply_data_template to add one to a site end-to-end. accessMode is what the recipe asks for; on the marketing site every collection is created append_only whatever it says, so a recipe that reads its own collection shows nothing there until the owner asks for public_read by name. No site needed.
Inputs: workspace_id.
list_foldersList foldersARead-onlyIdempotentInspect
List the folders in the workspace (the person's personal space, or a workspace they belong to via workspace_id) with their ids, names, parent folder, and drive (space: personal or shared). Use a folder's folder_id with move_site_to_folder or publish_site to file a site into it; a site's own folder_id (from get_site / list_sites) reports where it currently lives. In the website workspace, the Shared-drive folder slugged marketing is the one served at snaphost.ai/lp.
Inputs: workspace_id.
list_page_recipesList page recipesARead-onlyIdempotentInspect
List the ready-made documents and parts to build from. For a report, presentation or dashboard (every workspace): report-shell, key-figures, data-table, chart-figure, callout, presentation-shell, dashboard-shell, tile and status-bar, styled through the --brand-* tokens of get_brand_kit with neutral fallbacks, their copy in [brackets] to replace. Read get_design_guide first. In the website workspace only, for a landing page: a page shell (start every page from it), hero with call to action, feature grid, comparison table, FAQ, testimonial band, waitlist form. Each is self-contained HTML styled through the --sh-* brand tokens with fallbacks, with absolute links, so it drops into any page. Fetch one with get_page_recipe and edit its copy; the shell and the testimonial ship with placeholder copy (title, description, sample quote) that the brand check reports until replaced. The waitlist recipe saves through the SnapHost data SDK, and publishing or updating the page provisions its waitlist collection append-only from the form itself, and keeps it so in this workspace even if the page reads it back or set_collection_access asks otherwise (a public page reading it would publish the signups; its reads are refused, the SDK call rejects). Count signups in a second collection whose rows say only that a signup happened; the "signup-count" data recipe writes exactly that, so opening it publishes a number and nothing about anyone. apply_data_template is optional and only adds the field schema. A landing page lives by the website kit’s frame rules (no viewport units, no fixed/sticky positioning, no height animation, sized images): that frame grows to fit the page, while a document recipe is served in the ordinary viewer, which fills the window. The blog-post recipe is not a section but a whole document, and follows the opposite rules: the blog renders it inline through a fixed tag allowlist, so it carries no styling (which would be stripped) and its links are root-relative. The blog-hero recipe is not HTML at all: it is the SVG a post ships as hero.svg beside its document.
Inputs: workspace_id.
list_site_collectionsList site collectionsARead-onlyIdempotentInspect
List a site's data collections with their schema, access mode, paused state, whether the people who run the site are told about each new record (notify), and for a website the mailboxes each new record is emailed to (forward_to, each with its state: receiving, stopped by its reader, or not_sending because its domain is not admitted now: the website is not live on a verified domain, forward_domain null, or its parent domain is not confirmed), the mail domain of the website itself (forward_domain), and for a website on a subdomain its parent (forward_parent_domain: the domain, proof, and the TXT record to add at that domain itself). proof is proven, missing (the record was not found: give the person the record), or unreachable (DNS did not answer: do not tell the person the record is wrong; try again in a minute). It can be up to a minute old: after the person says they added the record, confirm by sending the list with the address to set_collection_access, which checks afresh, once; a record added a moment ago can take minutes to show. Addresses not sending are kept and send again once their domain is admitted; the messages themselves are always kept in the collection. A site with no forward_domain key never had a website domain with addresses. Scoped to a site you can edit.
Inputs: site_id (required), workspace_id.
list_sitesList sitesARead-onlyIdempotentInspect
List the non-deleted sites in one workspace (the one named by workspace_id, the personal space when omitted; sites live in exactly one workspace) with their ids, slugs, titles, statuses, visibilities (public or allowlist, i.e. private), share URLs, detected content kind (content_kind), SPA fallback (spa_fallback), what open viewers do about a new version (viewer_update, auto_refresh), allowed external origins (external_origins), link expiry (link_expires_at, ISO or null) with its derived link_status (no_expiry, active, expiring_soon, or expired), and whether a view password is set (has_view_password). Narrow the results with the optional visibility, status, link_status, and expires_within_days filters; all combine with AND.
Inputs: status, visibility, link_status, workspace_id, +1 more.
list_versionsList versionsARead-onlyIdempotentInspect
List a site's published versions newest-first with their content hash, content kind, entry path, size, file count, and timestamp. The version the site serves now is marked live: true. On a website, the version waiting as a preview is marked waiting_preview: true; it has never been live, so rollback_site refuses it and set_live_version puts it live. The version to undo to is the first one below live: true that is not waiting_preview.
Inputs: site_id (required), workspace_id.
list_webhooksList webhooksARead-onlyIdempotentInspect
List the webhooks registered in this workspace: address, events, whether each is active or was disabled after repeated failed deliveries, and how many deliveries in a row have failed. Secrets are never listed. Workspace owners and admins only.
Inputs: workspace_id.
list_websitesList websitesARead-onlyIdempotentInspect
Use first when the user says "update our website". Lists the websites of the workspace that you may edit: the host, the site_id, the status (live; offline, taken down with set_link_status; waiting_for_dns, the domain does not answer yet; plan_lapsed, the plan no longer includes custom domains so the domain answers "not available" until the plan is upgraded), the live version, the version waiting as a preview (if any, with who saved it and when, and stale: true when the live website changed after it was made), whether search engines may list it, its redirect addresses and its editors. A website you may not edit is not shown, and is not a reason to make a new one. To change a page, follow the steps in the update_site description.
Inputs: workspace_id.
list_workspacesList workspacesARead-onlyIdempotentInspect
List the workspaces this connection can act in. A connection belongs to the person who authorized it and reaches their personal space plus every workspace they are a member of, whichever workspace was open when they connected. Each entry has a workspace_id (pass it as workspace_id to any other tool to act there), a handle, the display name, a kind (personal or team), and the caller’s role (owner, admin, member, or viewer). Omit workspace_id on a read to act in the person's personal space; a write without it is refused when more than one workspace is listed. A missing workspace means the person is not a member of it, or the result carries a note saying the connection is an older, single-workspace one and how to widen it.
Inputs: workspace_id.
move_folderMove folderAIdempotentInspect
Re-parent a folder. A shared-drive folder whose slug was taken where it landed gets the next free one, which the result names, and comes back under it. Every page inside gets a new workspace-host address and its old one forwards there until another page takes it. In the SnapHost marketing workspace, a folder moved into the Marketing folder puts every public, published page in it live on snaphost.ai/lp at once (and opens the folder and its pages to the whole workspace as editors, whatever they were), and one moved out or within it ends or changes their addresses; the result names every address that ended (move it back to restore them, then set the slug back if it changed) and every one that started; the Marketing folder itself is never moved. Pass its folder_id and the destination parent_id (both from list_folders); omit parent_id to move it to the drive root. A folder cannot be moved into itself or its own descendant. Returns the updated folder.
Inputs: folder_id (required), space, parent_id, workspace_id.
move_site_to_folderMove site to folderAIdempotentInspect
File a site into a folder, keeping its share link. Pass the destination folder_id from list_folders; omit folder_id to move the site back to the drive root. Moving a site between a personal and a shared (workspace-wide) folder reconciles who can see it. Only the site’s creator can move it. The site’s old workspace-host address forwards to its new one until another page takes it. If the slug is already held in the folder it would land in (by a page or a sub-folder) or the address still forwards to another site, the site gets the next free numbered slug and the result says so. Returns the updated site read model with its new folder_id. In the SnapHost marketing workspace the Shared-drive marketing folder is served publicly at snaphost.ai/lp/ (a site filed one folder deeper at /lp//), so filing a site there makes it a landing page and moving a landing page CHANGES its /lp address; the result reports the new one.
Inputs: site_id (required), space, folder_id, workspace_id.
publish_sitePublish siteAInspect
Use when the user wants to put a page online, share this with a client or teammate, or get a link they can send. Publishes a document or bundle to SnapHost and returns its stable share URL. Provide exactly one of html (one document, as text), files (text files as {path, content}: a page with its CSS/JS/JSON/SVG, or one Markdown, CSV, Mermaid, notebook, code or .tsx/.jsx component file), zipBase64 (a bundle with binaries that fits the request body, an Office file, or a one-entry zip holding a PDF, image, video or audio) or upload_id from create_bundle_upload (large or binary bundles; a lone binary file with filename). html and files need no shell and no network of your own: the routes from a chat window. Each renders to a sandboxed site; an Office file shows as its page alone (no notes, hidden slides, sheets or comments) and downloads only with include_original; render_notices says what the page could not show. The content kind is detected on publish and returned as content_kind. Pass a slug to make the publish idempotent: later calls with the same slug update the same URL. Optionally set status (draft hides it until published) and an allowlist (on every plan). The result reports link_expires_at and has_view_password; manage them with set_link_expiry / set_view_password / clear_view_password. A new site lands in the publisher's own My drive, addressed on the workspace subdomain as /~/, unless folder_id (from list_folders) or space "shared" files it on the Shared drive, where it is addressed by its slug or folder path. visibility "public" opens it to anyone with the link (a landing page must be). Publish also scans the page for window.SNAPHOST data usage: a collection the page queries is set up as public_read, one it only appends to stays owner-only, and on the marketing site nothing is opened (the owner asks by name, only for records with no personal detail); the result says what was configured; relay it and confirm with the owner. The page is also scanned for external references (CDN scripts, font stylesheets, embeds) that the site's security policy will block: the result lists each blocked origin. Ask the owner whether to trust it (add_external_origins) or vendor the asset. Missing relative references are reported too; add the files and republish. Reports, decks, dashboards: pass document_kind.
Inputs: title (required), html, slug, files, +12 more.
query_site_recordsQuery site recordsARead-onlyIdempotentInspect
Use when the user asks who signed up, what was submitted, or wants to see the responses. Queries a collection's append-only records (newest-first by default). Filter with where (field/value equality), set order (asc|desc) and limit. Each record carries its server-stamped actor. Records carry created; filter by date yourself and page with limit. Scoped to a site you can edit.
Inputs: site_id (required), collection (required), limit, order, +3 more.
register_webhookRegister webhookAInspect
Use when the user wants their own system told when someone opens a site in this workspace. Registers an https endpoint SnapHost posts to on each subscribed event (today: site.viewed). The result carries the signing secret ONCE: show it to the user and tell them to store it, it is not shown again. Workspace owners and admins only. Each delivery is a JSON POST with a SnapHost-Signature header of the form t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 over <t>.<raw body> with the webhook's secret; SnapHost-Event names the event and SnapHost-Delivery the delivery id (the same id is retried, so receivers can deduplicate). A site.viewed body carries data.site_id, data.site_title, data.share_id, data.viewer_email (empty for an anonymous open of a public site) and data.opened_at. An answer outside 2xx is retried five times over about fifteen hours; a webhook whose deliveries keep failing is disabled.
Inputs: url (required), events, workspace_id.
remove_custom_domainRemove custom domainADestructiveIdempotentInspect
Detach a custom domain from its site so it shows nothing any more. Owner only for a website domain; an owner or admin who can edit the site for an ordinary site. Removing a website domain stops the site being a website: the site is kept, private to its editors, and the domain can only ever serve a website again; it can never be used for private sharing. Confirm in words first.
Inputs: domain_id (required), workspace_id.
remove_from_allowlistRemove from allowlistADestructiveIdempotentInspect
Remove specific email and/or domain entries from a private site's allowlist, leaving everyone else on it. Entries that are not present are ignored. To clear the whole list, use set_allowlist with an empty array.
Inputs: site_id (required), allowlist (required), workspace_id.
remove_site_forwardStop an old address forwardingADestructiveIdempotentInspect
Stop an old address forwarding to a site, leaving the address free for any site to take. The old addresses are the old_addresses of get_site, and what set_site_slug reports after a rename. Links to the address stop opening the site, and nothing restores them but putting the site back on that address, so confirm with the user first.
Inputs: site_id (required), old_address (required), workspace_id.
remove_website_editorRemove website editorADestructiveIdempotentInspect
Take a person off a website’s editors, by email. They can no longer change it or open its previews; a preview link they hold stops working at once. Workspace owners always edit every website and cannot be removed here. Only a workspace owner can change the editors.
Inputs: email (required), site_id (required), workspace_id.
rename_folderRename folderAIdempotentInspect
Rename a folder. Pass its folder_id (from list_folders) and the new name. The slug, and with it every address under the folder (a landing page's /lp address included), stays as it is; only what the dashboard calls the folder changes. Only someone who can manage the folder may rename it. Returns the updated folder.
Inputs: name (required), folder_id (required), workspace_id.
rename_siteRename siteAIdempotentInspect
Rename a site's display title by id. Cosmetic only: the slug, the nanoId permalink, and every existing link keep working; only what viewers and the dashboard call the site changes; the heading and tab of a landing page do not, unless its document declares no of its own. To change the site's link path, use set_site_slug. A landing page's visible title (tab, link preview, heading) is the in its own document: change that with update_site. Returns the updated site.
Inputs: title (required), site_id (required), workspace_id.
rollback_siteRoll back siteADestructiveIdempotentInspect
Use when the user wants to undo the last update or go back to the previous version. Restores a prior version's content as the site's current content (records a new version). Content only: the slug, folder, visibility and any /lp address stay as they are now, so a rollback after a rename does not change the address (the old one keeps forwarding to the current one; set_site_slug puts it back). The share URL is unchanged and open viewers are offered a Refresh to it (a landing page shows it on its next load). Use list_versions to find the version_id. On a website this changes the public site now; ask first. A waiting preview must then be made again.
Inputs: site_id (required), version_id (required), workspace_id.
set_allowlistSet allowlistAIdempotentInspect
Use when the user wants to set exactly who can view, replacing the current list. REPLACES a site's entire allowlist with the provided email and/or domain entries. This OVERWRITES the existing list, so anyone not in the entries you pass loses access. To add people without dropping the current ones, use add_to_allowlist instead; to take specific people off, use remove_from_allowlist. Pass an empty array to clear it. Each email that was not already on the list receives an invite email. Email entries work on every plan (a Free page can name up to 3 people, Pro has no limit); domain entries need Pro. Clearing the list works on every plan and on a public page.
Inputs: site_id (required), allowlist (required), workspace_id.
set_brand_guidelinesSet brand guidelinesAIdempotentInspect
Link the active workspace's brand guidelines: the https URL of a public web page or PDF that says what the kit cannot hold (logo clear space, imagery, how charts are drawn, how the brand speaks). SnapHost checks that it answers with a page or a PDF, and every build in the workspace reads it from then on, through get_brand_kit. Replaces guidelines the workspace has; a PDF that is not online is uploaded on the General page of the dashboard instead. The workspace owner only, on Pro, in a team workspace (the website workspace included, whose kit is otherwise fixed). Confirm the link with the person before calling this.
Inputs: url (required), workspace_id.
set_brand_kitSet brand kitAIdempotentInspect
Save the active workspace's brand kit, replacing the one it has: the palette by role, the heading and body fonts, the logo and mark, the language and locale, the tone and the phrases never to use, and the look (style: radius, density, emphasis, cover and surfaces, each from a small set, read off the site the way the colours are). Build it from what the person gives you (a brand guideline PDF, their website, or answers), show it to them as a table and get a yes BEFORE calling this. Colours are #rrggbb for every role: primary, primaryStrong, secondary, accent, ink, muted, line, surface, surfaceTint, onPrimary, onSecondary, positive, negative (positive and negative, the green and red for a change for the better or the worse, may be left out and get sensible defaults). Fonts are one family name each, a system family or a Google Fonts family name (font_source: "google"; publishing then allows Google Fonts on the site). logo_url and mark_url are https URLs of a PNG, SVG or WebP under 1 MB on a public site (the customer's own website is the usual source): SnapHost fetches and hosts them, so the kit's asset URLs are SnapHost's, never the source. A kit saves without a logo (a guideline PDF rarely gives a file you can reach): its assets.logo is then null, pages set the brand name in type, and the person adds the logo later on the Brand page. A later save keeps the assets the kit has unless given new ones. Relay every warnings entry (low contrast is the usual one) and offer to fix it. Owner or admin only, on Pro. The brand guidelines themselves (a page or PDF) are set apart, with set_brand_guidelines.
Inputs: name (required), locale (required), tokens (required), language (required), +11 more.
set_collection_accessSet collection accessAIdempotentInspect
Set who can read a collection from the published page and pause/resume writes. access_mode: 'public_read' (anyone reads: a scoreboard/guestbook) or 'append_only' (visitors append but only the owner reads: a contact form / waitlist; submissions are never readable by other visitors). On the marketing site public_read means anyone on the internet, so it is refused unless you pass records_carry_no_personal_detail true, which you answer with the owner, and the waitlist collection stays append_only there whatever is asked. writes_paused stops new appends. notify true tells the people who run the site about each new record. forward_to sends each new record of a website's form to mailboxes on the website's own domain, or on its parent domain once the parent holds the workspace's form-mail TXT record. The collection name is a name from list_site_collections, or a new name: a collection is created on its first write. Needs Pro; scoped to a site you can edit.
Inputs: site_id (required), collection (required), notify, forward_to, +4 more.
set_folder_slugSet folder slugAIdempotentInspect
Rename a folder's link slug, its path segment in folder-path addresses like .snaphost.ai//. Shared-drive folders only: personal (My drive) folders are organisational and never appear in links. The slug stays unique among sibling folders and the pages beside them. Pro workspaces only (slug addressing rides on the workspace subdomain). Every page inside gets a new workspace-host address and its old one forwards there until another page takes it. In the SnapHost marketing workspace the Marketing folder keeps its slug (it is the /lp address space); a folder inside it may change, and the result names every /lp address that ended (set the slug back to restore them) and every one that started. Returns the updated folder.
Inputs: slug (required), folder_id (required), workspace_id.
set_link_expirySet link expiryAIdempotentInspect
Use when the user wants the link to stop working after a date, or to keep it up indefinitely. Sets or clears an expiry on a site's share link. Pass expires_at as an ISO 8601 timestamp (e.g. "2026-12-31T23:59:00Z") to make the link stop working after that moment (a landing page's /lp address and campaign links stop with it), or null to remove any expiry so the link works indefinitely. Setting an expiry is Pro only and works on a public page as it is; clearing one works on every plan. Needs edit access to the site (its creator or an editor grant, in a role that can edit); rejected requests (forbidden, plan_limit, validation_failed, not_found) leave the stored expiry unchanged.
Inputs: site_id (required), expires_at (required), workspace_id.
set_link_statusSet link statusAIdempotentInspect
Use when the user wants to take it down, unpublish it, pause the link, or bring it back. Takes a site offline or brings it back. enabled: false unpublishes it (the link returns "not available" for everyone, a landing page's /lp address answers 404 inside the marketing chrome, and any custom domains are suspended) without deleting it; enabled: true republishes it. This is the single way to take a site offline; there is no separate unpublish tool. A website is public or offline, so this is the way to take one down at its domain; to hide it from search only, use set_search_listing. A website: Bringing it back online is limited to 10 times an hour; taking it offline never is.
Inputs: enabled (required), site_id (required), workspace_id.
set_live_versionPut preview live or discard itAInspect
Act on the waiting preview. action "put_live" (the default) puts it live. It replaces the whole live website, so first confirm with the person, in words, that they have looked at the preview (get_preview_link) and want it live. Pass the version_id from the preview publish or from list_versions; only the version marked as the waiting preview is accepted, and a preview that was replaced since is refused. It is refused too if the live website changed after the preview was made (list_websites shows waiting_preview.stale: true): discard it, then send the same change again with update_site, changes, base "live" and preview true. action "discard" removes the waiting preview and leaves the live website as it is; version_id is not needed. To bring back an earlier version instead, use rollback_site. Editors only.
Inputs: site_id (required), action, version_id, workspace_id.
set_render_optionsSet render optionsAIdempotentInspect
Configure how a site is delivered, without touching its sandbox. spa_fallback (free on every plan) serves the entry page for unknown in-app routes so client-side navigation and shared deep links resolve, but real missing files (scripts, images, styles) still 404. document_kind and printable say what the site is as a document (see publish_site). viewer_update (free on every plan) says what a viewer that is open when a new version is published does about it: "prompt" (the default) offers a Refresh the reader presses when they choose; "on_navigation" also moves them to the new version on the next page they open inside the site, with nothing lost mid-read, which suits a multi-page site; "immediate" reloads the page at once, which suits a dashboard or a status screen and loses a reader mid-document their place. auto_refresh is the older switch for the same setting: true is "immediate", false is "prompt". external_origins extends the site's content-security policy to allow specific https origins it calls at runtime (fonts, images, APIs, embeds); this is a paid capability (Pro) and each entry must be a bare https://host[:port] with no path. Pass an empty array to clear the list, or use add_external_origins to add origins without replacing the list. include_original false stops a Word, PowerPoint or Excel site offering its file for download, by rendering the page again from the file it holds as a new version; true is refused, since a withheld file was never kept: update_site with the file and include_original true instead. Omit a field to leave it unchanged. Needs edit access to the site (its creator or an editor grant, in a role that can edit); rejected requests (forbidden, plan_limit, validation_failed) leave the stored options unchanged.
Inputs: site_id (required), printable, auto_refresh, spa_fallback, +5 more.
set_search_listingSet search listingAIdempotentInspect
Choose whether a website is listed in search engines. Listed (the default): pages can be indexed and the website has a sitemap. Not listed: every page says noindex, robots.txt disallows everything and there is no sitemap. The website stays public either way. The change reaches visitors within a minute or two; pages a search engine has already indexed stay in its results until it crawls the site again. Editors only.
Inputs: listed (required), site_id (required), workspace_id.
set_site_dataSet site dataAIdempotentInspect
Use when the page should read a setting or value the owner controls (a price, a deadline, a switch). Sets a key-value item in a site's data store (SnapHost Data). KV is mutable config/state the published page reads. value is any JSON. Scoped to a site you can edit.
Inputs: key (required), value (required), site_id (required), namespace (required), +1 more.
set_site_slugSet site slugAIdempotentInspect
Change a site's slug, the last segment of its address on the workspace host and, for a landing page, of its snaphost.ai/lp address. The share permalink (nanoId) keeps working, and the old address on the workspace host forwards to the new one until another site takes it or remove_site_forward stops it; an /lp address and any campaign link to it stop. Normalised to lowercase letters, digits and hyphens; refused when another site in the same folder (or among the same My-drive pages) or a folder beside it holds it, and when the new address is an old one still forwarding to another site: ask the user, then retry with replace_forward to stop that forward. Needs a workspace on Pro, which publishes on its own host.
Inputs: slug (required), site_id (required), workspace_id, replace_forward.
set_view_passwordSet view passwordAIdempotentInspect
Use when the user wants to put a password on the page. Protects a site behind a view password. Anyone with the link must enter this password before they can view the content. The password is hashed at rest; it is never returned, logged, or echoed back. Re-run with a new value to change it. Pro only; on a plan without it the refusal names the plan, and where one lapsed, how to get it back. Needs edit access to the site (its creator or an editor grant, in a role that can edit); rejected requests (forbidden, plan_limit, validation_failed, not_found) leave the stored password unchanged.
Inputs: site_id (required), password (required), workspace_id.
set_visibilitySet visibilityAIdempotentInspect
Use when the user says only certain people should see it, make it private, or open it to anyone with the link. Sets a site's visibility. public lets anyone with the link view; allowlist restricts to verified people on the allowlist, on every plan. A website is always public, so this is refused on one: take a website down with set_link_status instead. Email entries work on every plan (a Free page can name up to 3 people, Pro has no limit); domain entries need Pro.
Inputs: site_id (required), visibility (required), workspace_id.
set_website_trackingSet website trackingAIdempotentInspect
Add Google Tag Manager or Google Analytics to a website, and the cookie banner that asks visitors first. google_tag_id takes a container (GTM-XXXXXXX) or a Google tag (G-XXXXXXXXXX, AW-, DC-), or a pasted snippet it is read from; null removes it; leave it out to keep it. It is live on the website right away, with no preview. SnapHost loads the tag on every page and allows Google's hosts: remove any GTM or gtag snippet a page already has (while the banner is on such a snippet is held back until consent). A first tag turns consent_banner on unless you pass false; with it on, nothing loads until a visitor accepts analytics or marketing, Google tags follow the choice through Consent Mode, and Reject all is as plain as Accept all. A tag from another vendor inside GTM (Meta pixel, LinkedIn, Hotjar) must be set in Tag Manager to require the matching consent: marketing grants ad_storage, ad_user_data and ad_personalization, analytics grants analytics_storage, and every choice pushes the event snaphost_consent with analytics and marketing true or false. It also needs its https hosts added with add_external_origins (paid plans; wss:// cannot be allowed). The banner keeps no record of each choice and writes no cookie policy; do not tell the person they are legally covered. Look: it follows the page's --brand-* tokens and font; site CSS can restyle .snaphost-consent and .snaphost-consent-open, or set --consent-accent (and --consent-on-accent), --consent-surface, --consent-ink, --consent-radius on both, not :root. It speaks Icelandic on a lang="is" page, else English. A page's becomes its Read more link. Own wording or markup: publish _partials/cookie-consent.html with buttons marked data-consent-action="accept-all" and "reject-all" (required: a website publish is refused without them), "choose" and "save", and checkboxes data-consent-category="analytics" and "marketing" inside an element marked data-consent-choices; keep it position: fixed. A page script, inline or src, waits for consent written . A in every page's footer, visible at every width, reopens the banner; without one a pinned Cookie settings button (.snaphost-consent-open) does. A choice keeps the visitor in place. Call with only site_id to read. Editors only; websites only.
Inputs: site_id (required), workspace_id, google_tag_id, consent_banner.
set_workspace_domain_rootSet sharing domain home pageAIdempotentInspect
Choose what the bare / of the workspace’s sharing domain does (e.g. share.acme.com/). With site_id it shows that site, which must be a published site of the Shared drive. With website_site_id it sends people to one of the workspace websites (a site id from list_websites): a permanent redirect from the bare / to the website domain, while the website is online; if the website goes offline or is removed, the bare / shows the workspace’s default page (its logo and name) again. Omit both to clear it. Every other path keeps resolving folder and site links as before. Owners and admins of the workspace.
Inputs: domain_id (required), site_id, workspace_id, website_site_id.
update_siteUpdate siteAIdempotentInspect
Use when the user wants to push the new version or update the page while keeping the same link. ON A WEBSITE (list_websites): send changes with base "live", only the files that change (no shell needed), and the content_hash you read as base_content_hash. Save every change as preview: true unless the person asked you to publish it right away; then get_preview_link and, once the person agrees, set_live_version. Sending html, files, zipBase64 or upload_id replaces every page, so an update that would remove pages is refused: call get_site for the file list and send just that page with changes; replace_all true only when the person wants the whole website replaced. A photo added or changed, with a shell: create_bundle_upload with site_id and manifest, then upload_id here with preview: true (no base_content_hash). Before editing a header or footer, check _partials/. Ship a 404.html, keep existing paths, redirect a moved address in a root _redirects (/old /new), include shared parts with , and register a form’s collection with set_collection_access and notify true. OTHERWISE: replaces a site's content in place by id. Accepts the same inputs as publish_site (html, files as text, a bundle, or a single document such as Markdown, .ipynb, PDF, .docx, .pptx, .xlsx, CSV, an image, a video, an audio, a Mermaid diagram or a text file, which is re-rendered; pass filename for a lone non-zip file, and include_original as on publish_site); the detected content_kind may change, and the result warns when html has replaced a site that was rendered from a file. Preserves the URL, visibility, allowlist, link expiry, and view password, and records a new version. Without a shell, a binary the client cannot send as bytes is dropped by the person on the site's own page, https://app.snaphost.ai/sites/<site_id> ("Upload a new version"), never on the drive, which would make a second site. Open viewers are offered a Refresh to the new content (set_render_options viewer_update changes that). Like publish_site, the result reports the collections set up from its window.SNAPHOST use, external references the security policy will block (relay them to the owner, then add_external_origins or vendor the assets), and relative references to missing files (include them and republish).
Inputs: site_id (required), base, html, files, +12 more.
upload_blobUpload blobAIdempotentInspect
Send one file the site lacks into an upload opened by create_bundle_upload with a manifest, named by its sha256, its bytes base64-encoded in this call. Send only the hashes that create_bundle_upload listed as missing. Its bytes travel inside the call, so it suits small files: a photo goes faster as a PUT from your shell to blob_upload_url, and this tool is for when that PUT is refused. A file of at most 1 MB goes whole and is checked at once: refused, with nothing stored, unless its bytes match its sha256 and size. A larger one goes as numbered parts 0, 1, 2, ... of at most 1 MB, with no gaps, joined and checked only when update_site is called; re-sending an index replaces it. It needs a shell that makes the SnapHost tool calls itself. Pass the same workspace_id as create_bundle_upload did.
Inputs: sha256 (required), upload_id (required), dataBase64 (required), part, +1 more.
upload_bundle_partUpload bundle partAIdempotentInspect
Send one numbered slice of a .zip, or of a single non-zip file, into an upload opened by create_bundle_upload, encoded as base64 in this call. This is the route that needs no network beyond the one carrying this tool call, so it works even where the shell's own network is blocked, for a bundle with binaries or a lone PDF, Word, PowerPoint, Excel, image, video or audio file; it needs a shell that makes the SnapHost tool calls itself, and text never comes this way (html or files carry it with no upload). Split the file into slices of at most 1 MB, base64 each slice on its own, and send them as part 0, 1, 2, ... with no gaps; part 0 must be the opening bytes of the archive unless filename names a single non-zip file. Nothing is published until publish_site or update_site is called with the upload_id, which joins the parts in index order and verifies the bytes, so a rejected or damaged part costs only that part: send that index again, the others still stand. Re-sending an index replaces it. Pass the same workspace_id as create_bundle_upload did.
Inputs: part (required), upload_id (required), partBase64 (required), filename, +1 more.
verify_custom_domainVerify custom domainAIdempotentInspect
Re-check a custom domain's DNS and activate it once both records resolve: the one that points it here and its TXT ownership record. Call after adding the DNS records that add_custom_domain returned. Relay any required_dns_records to the owner exactly as returned. For a website on a subdomain it checks the optional parent-domain record afresh too: parent_mail says it is confirmed; otherwise optional_parent_mail_record is the record, optional_parent_mail_state says whether it is missing or could not be checked, and optional_parent_mail_note says how to offer it. It is never needed for the domain to go live. On an ordinary site, an owner or admin who can edit it.
Inputs: domain_id (required), workspace_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Publish what Claude makes (HTML, PDF, small site) to a private link only chosen people can open.
Turn AI-built work into tracked, gated share links your clients can open.
Publish pages straight from Claude as private, branded, tracked links.
Share docs, decks, HTML and Claude artifacts as tracked links and data rooms. See who read them.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables publishing and updating Claude artifacts or HTML to private, access-controlled links directly from Claude.1AGPL 3.0
- AlicenseNot gradedqualityCmaintenancePublish the pages you build with AI - as a private, tracked, secure link.MIT
- AlicenseAqualityBmaintenanceLets AI assistants share HTML they generate as a private, end-to-end encrypted link, and update the page later at the same link. The page is encrypted locally before upload, the key stays in the link, and no account is needed.21MIT
- AlicenseNot gradedqualityCmaintenanceTurns Claude and Codex JSONL transcripts into sanitized, unlisted links with explicit approval, exposing share management via OAuth-protected MCP endpoints.1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.