Tool reference

Sentway MCP tool reference

Sentway exposes 39 tools over MCP. This index and every tool page below are generated directly from the running server, so the parameters listed here are the parameters the server accepts.

Getting started

Sites

  • list_sites

    List Sentway sites in the current account, newest-created first.

  • get_site

    Return one Sentway site's slim overview: site identity and status, selected draft-or-published page count, total version count, access-mode summary, and the latest persisted draft block summary when present.

  • create_site

    Create a new draft site for the caller's account and return the generated subdomain slug.

Pages

  • list_pages

    List the selected draft-or-published pages for one Sentway site.

  • get_page

    Return one page from the selected draft-or-published version of a Sentway site by path, including its stored source.

  • save_page

    Author or replace a single page in the site's current draft, opening a draft from the published version if none exists.

  • patch_page

    Literal find/replace edits on a draft page (auto-opens from published).

  • remove_page

    Remove a single page from the site's current draft, opening a draft from the published version if the path only exists there.

Publishing

  • list_versions

    List every version of one Sentway site, newest-created first, with status, label, timestamps, page count, and whether it is the site's current published version.

  • render_page

    JPEG screenshot of a published page as an image content block plus metadata.

  • publish_site

    Promote the site's current draft to a new published version and return the report.

Access and gates

  • get_gate_design

    Return the site's published gate design cell, draft gate design cell (null when no draft is in flight), whether unpublished design changes exist, a compact theme summary, and a short-lived gate preview URL when a preview signing secret is configured and the gate mode is not public.

  • set_gate_access

    Configure the site's visitor access gate: mode (public, email_capture, allowlist, password), the credentials the chosen mode requires (allowlist entries, lead-capture fields, plaintext password), optional email-verification flag (email_capture only), and optional expiry.

  • set_gate_design

    Replace the site's gate design in one call (FULL REPLACE, not merge).

Assets

  • get_upload_result

    Poll the status of an upload session by its token.

  • search_assets

    Plain-text search of the account's asset library across name, description, tags and format (exact).

  • list_assets

    List the account's assets, newest first, with keyset pagination.

  • get_asset

    Fetch one asset by id.

  • request_asset_upload

    Mint a Sentway upload session and return the URL a human should open in a browser to attach files.

  • upload_asset_from_url

    Ingest an image asset directly from a public https URL.

  • update_asset_metadata

    Update name / description / tags on an existing asset.

  • delete_asset

    Permanently delete an asset from the account, including its stored bytes and thumbnail.

Analytics

  • get_submissions

    List form submissions for one site the credential can access, newest first.

  • get_visitor_activityPro

    Return one visitor's interaction timeline for a site, newest first, with keyset pagination.

  • get_analytics

    Return aggregate site metrics summed from the site_stats rollup for one of today | 7d | 30d | all.

Responses and visitors

  • list_visitorsPro

    List visitors on one site (Pro).

  • list_plan_progressPro

    List action-plan task completion for one site, grouped by (visitor_id, plan_key).

  • list_worksheet_answersPro

    List worksheet answers for one site.

  • list_visitor_uploadsPro

    List one visitor's uploads.

  • list_site_uploadsPro

    List every visitor upload on one site.

  • get_visitorPro

    Return identity fields (first/last seen, email, verification, returning_gap) and rollup counters (submissions, plan_tasks_completed, worksheets, doc_uploads) for one visitor on one site.

  • erase_visitor

    Permanently erase one visitor from the caller's account: identity, submissions scrub, interactions, worksheets, uploaded documents (rows + Storage objects).

Site lifecycle

  • check_slug_available

    Check whether a subdomain slug is available for a site in the caller's account.

  • duplicate_site

    Duplicate an existing published site inside the caller's account.

  • archive_site

    Archive a site so it stops serving traffic.

  • restore_site

    Restore an archived site.

  • change_slug

    Change a site's subdomain slug.

  • delete_site

    Permanently delete a site and all of its content (pages, versions, interactions, submissions, assets under this site's prefix, gate configuration).