mcp
v1.0.0MCP server for Un-static Forms
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami Account info
Return the authenticated Un-static account: username, plan, submission limits, retention, and upload quota. Use this to advise on plan-gated features (e.g. file uploads need a paid plan).
list_forms List forms
List the form endpoints owned by the authenticated account, including status, disabled_reason and submission counts. A closed endpoint always reads status "disabled", so disabled_reason is what says which closure it was: null for a staff disable, dead_notify_address for an endpoint closed because its notification address is dead and has no account behind it, dead_notify_address_linked for one paused because the address is dead and the owner did not answer, erasure for an account being deleted.
get_form Get form
Get one form by its reference: settings (recaptcha_mode, footer, honeypot, reply-to), status, disabled_reason, and submission counts. Use status + post_count to check whether a form is activated and has received submissions. If status is "disabled", read disabled_reason to find out why and what the way back is: null means a staff disable (contact support), dead_notify_address means the notification address is dead on an endpoint with no account behind it (contact support), dead_notify_address_linked means the endpoint was paused because the address is dead and the owner did not answer (the own…
| Parameter | Type | Description |
|---|---|---|
reference * | string | The form reference (the hex id in the form action URL). |
get_submissions Get submissions
Fetch recent submissions for a form, newest first, within the plan retention window. Each submission has submission_id, timestamp, submitted_at, status, reason, http_referrer, submission_data (the fields the visitor sent) and attachments (filename, mime_type, size_bytes, download_url). status is one of: "passed" (delivered, or redelivered after a retry), "failed" (stored but not delivered: reason is inactive_address, rate_limited, attachment_storage_failed, mail_transport_error or failed_to_send), "over_limit" (held because the plan ceiling was reached: reason over_hard_limit), "test" (the onb…
| Parameter | Type | Description |
|---|---|---|
reference * | string | The form reference. |
include_spam | boolean | Include submissions the spam filter caught (status "spam"). Defaults to false. |
limit | integer | How many submissions to return, newest first. Defaults to 50, maximum 200. Keep it small: every row lands in the conversation. |
sample | boolean | Return only a small preview (up to 3 recent submissions) instead of the full list. Useful for verifying a form works while keeping submitter data exposure minimal. |
create_form Create form
Create an Un-static form endpoint. With an API token this creates an account-linked form you can manage with the other tools. Without a token it creates an anonymous form (managed via the admin link emailed to you); that path requires accept_privacy_terms=true. Either way an activation email is sent and the form accepts live submissions only after the recipient clicks it.
| Parameter | Type | Description |
|---|---|---|
email * | string | Where submissions and the activation link are sent. |
success_redirect * | string | URL to send the visitor to after a successful submit. |
accept_privacy_terms | boolean | Required true when creating without a token. |
title | string | A label for the form (used for account-linked forms). |
update_form Update form
Update settings on a form you own. Only the fields you pass are changed. Spam protection: set captcha_provider to choose the widget ("recaptcha", "turnstile", "hcaptcha", or "off" to disable). To use your own captcha keys, set captcha_provider and pass your secret in recaptcha_secret; leave recaptcha_secret as "" to use the platform (Un-static managed) keys for that provider. When you switch captcha_provider, always send recaptcha_secret too (your new secret, or "" for platform keys): changing the provider alone keeps any previously stored secret, which would then belong to the wrong provider.…
| Parameter | Type | Description |
|---|---|---|
reference * | string | The form reference. |
auto_response_body | string | |
auto_response_enabled | boolean | Send submitters an automatic confirmation email. |
auto_response_from_name | string | |
auto_response_subject | string | |
captcha_provider | string | Which captcha to require. "off" disables captcha entirely. |
captcha_site_key | string | Your own public captcha site key matching recaptcha_secret, or "" to clear. Only valid together with an own secret. |
footer_enabled | boolean | Show the "Powered by Un-static" footer in notification emails. |
honeypot_field | string | Name of a decoy field; submissions that fill it are silently dropped as spam. |
recaptcha_secret | string | "off" (disable captcha), "" (use platform keys for the selected provider), or your own captcha secret key. |
reply_to_field | string | Name of the submitted field to use as the reply-to address on notification emails. |
success_redirect | string | URL the visitor is sent to after a successful submit. |
title | string |
delete_form Delete form
Delete (soft-delete) a form you own. It stops accepting submissions.
| Parameter | Type | Description |
|---|---|---|
reference * | string | The form reference. |
get_form_snippet Form HTML snippet
Generate ready-to-paste HTML for an Un-static form given its reference and field list. Use mode "ajax" for a no-reload fetch() submit, and include_file_upload for an attachment field. No API token needed.
| Parameter | Type | Description |
|---|---|---|
reference * | string | The form reference to point the form at. |
fields | array | Defaults to name, email, message. At most 100 fields. |
include_file_upload | boolean | |
mode | string |