MCP server
Connect Claude, ChatGPT or Cursor to your forms and let them read, analyse and build.
Chatform runs a Model Context Protocol server at:
https://api.chatform.in/mcpPaste that link into an AI app and sign in, and it can list your forms, read responses, analyse completion rates, author a new form from a description, publish it, and manage its knowledge, webhooks and archive.
It is the same worker, the same keys and the same scopes as /v1. Nothing here can
do anything a key could not already do over HTTP, with one deliberate
subtraction: nothing can delete.
Connect with one link
Most apps need nothing but the URL. They open your browser on a Chatform page that asks Allow Claude to use Chatform? (or Cursor, or ChatGPT), you click Allow, and the app keeps itself signed in from then on. No key to create or paste. The same steps, with copy buttons, are in every form's Integrate tab under AI assistants.
- Open Connectors in Claude's settings.
- Click Add custom connector, name it Chatform and paste
https://api.chatform.in/mcp. - Click Connect, then Allow.
Free Claude plans allow one custom connector. On Team and Enterprise, an owner adds it once under Organization settings and everyone then connects it themselves.
Connecting an organization is an owner or admin decision, the same as creating an API key. Each connection appears under Connected in the AI assistants panel, where Disconnect cuts it off at once.
Use an API key instead
For a server, a script, or a client that cannot open a browser, send a secret key on every request instead. Keys need a plan with API access.
Get a key
MCP needs more than a new key is given by default. A default secret key can read
forms and responses; it cannot publish, read analytics or export, so an assistant
using one fails with insufficient_scope on the first interesting request.
In Settings → API keys, create a secret key with these scopes:
| Scope | Why |
|---|---|
form:read, form:write, form:publish | Read, edit and publish forms, and use templates |
response:read, response:write | Read responses, and submit them |
response:export | Start exports |
session:create, session:write, session:read | Drive a conversation over the REST API with the same key. No tool uses them |
analytics:read | Completion rates and per-question funnels |
webhook:read, webhook:write | Inspect and register webhooks |
file:read | Resolve file-upload answers |
Nothing on the connector runs Chatform's own model. Your assistant reads the form's building blocks and designs the form itself, on your own subscription.
GET /api/keys/scopes returns this set as the agent preset if you are building
your own key UI.
This is a secret key, so it belongs on a machine, not in a page. /mcp refuses
publishable (pk_) keys outright — their ceiling excludes reading responses and
analytics, so almost nothing would work anyway. Treat the key like a password: an
assistant that holds it can read every response you have collected.
Install with a key
claude mcp add --transport http chatform https://api.chatform.in/mcp \
--header "Authorization: Bearer $CHATFORM_SECRET_KEY"The tools
Forty-seven, each one a named job. Clients cap how many tools they will load, and that ceiling is shared with every other server you have connected.
Getting oriented
| Tool | Scope | |
|---|---|---|
whoami | — | Which org this key is, what it may do, and what it is missing |
Forms
| Tool | Scope | |
|---|---|---|
list_forms | form:read | Your forms, newest first |
get_form | form:read | One form. Defaults to the editable document, which is what to change |
list_blocks | — | Every question type, its config schema and answer contract |
choose_build_options | none | The look, format and sound a new form is built from, the same three the website asks. The assistant recommends; you confirm or change them, in a question your app shows or in chat |
create_form | form:write | Create a form, empty or fully authored, from the choices choose_build_options settled |
update_form | form:write | Replace the working document |
list_form_settings | form:read | Every setting by key: colours, fonts, presentation, tone, goal, closing, emails, embedding, with current values and plan locks |
apply_changes | form:write | Change and design a draft with ops: questions, settings, a look, placed GIFs and stickers, background, music, sounds |
describe | form:read | The build-and-design guide (workflow, design, review, assets) and the catalogue of what ops can change, one topic at a time; with a form, current values and plan locks |
publish_form | form:publish | Make the working document live |
list_templates | form:read | The official template catalogue, or one template's document |
use_template | form:write | Start a draft from a template, from the settled choices |
list_form_versions | form:read | Published versions, with the responses behind each, and diffs |
restore_form_version | form:write | Roll the draft back to a published version |
import_form | form:write | Convert a public Typeform, Google Form or Tally link into a form document. Nothing is saved until create_form |
unpublish_form | form:publish | Take a live form off the air. It keeps its version and responses |
list_archived_forms | form:read | Deleted forms that can still be restored, with when they are erased for good |
restore_archived_form | form:write | Bring an archived form back as a draft |
list_knowledge | form:read | A form's knowledge sources, their indexing status and the plan's limits |
add_knowledge | form:write | Add pasted text, a web page or a crawled site to a form's knowledge |
Design
| Tool | Scope | |
|---|---|---|
search_assets | form:read | GIFs, stickers, illustrations, icons, music and sound effects from Chatform's library, each with the url to place |
preview_form | form:read | A picture of the draft on a phone or a desktop, without publishing, plus a five-minute preview link |
review_form | form:read | A design review round in one call: previews in chat and steps, on a phone and a desktop, with the review checklist and score line |
hand_back | form:read | The last step: pictures of the first question on a desktop and a phone, behind links that need no sign-in and last a week, with the builder link, for the assistant to show you |
Responses
| Tool | Scope | |
|---|---|---|
list_responses | response:read | A page of responses; answers are opt-in |
search_responses | response:read | Find responses containing a piece of text |
get_response | response:read | One response with all its answers |
submit_response | response:write | Record a response — for imports, or answering on someone's behalf |
get_form_analytics | analytics:read | Views, completion rate, per-question funnel, distributions |
get_analytics_overview | analytics:read | The last 7 days against the 7 before, across every form |
get_followup_analytics | analytics:read | A form's follow-up recovery report: sent, clicked, recovered, lift |
get_ai_assists | response:read | The moments the AI helped a respondent on a form, with counts per kind |
list_payments | response:read | A form's payment attempts, including ones that never became an answer |
list_integrations | response:export | A form's non-webhook integrations: its spreadsheet feed |
export_responses | response:export | Start a CSV or JSON export |
check_export | response:export | Poll an export; once ready it returns the rows inline, a slice at a time |
get_file | file:read | Read a file-upload answer: images and text files come back inline, others as a download link |
create_spreadsheet_feed | response:export | A live CSV URL Sheets or Excel can re-read on a schedule |
Webhooks
| Tool | Scope | |
|---|---|---|
list_webhooks | webhook:read | Registered endpoints and their events |
list_webhook_deliveries | webhook:read | Recent attempts, statuses and errors — for "why is it quiet" |
list_events | — | Every event name a webhook can subscribe to |
create_webhook | webhook:write | Register one. The signing secret is shown once |
replay_webhook_delivery | webhook:write | Re-send one failed delivery |
retry_failed_deliveries | webhook:write | Re-send every failed delivery of one endpoint, up to 500 |
update_webhook | webhook:write | Turn an endpoint on or off. Turning it on clears its failure count |
get_webhook_stats | webhook:read | Pending, failed and delivered counts per endpoint |
What the tools do not reach
Driving a live conversation (opening a chat session and exchanging messages turn
by turn) and recording a response answer by answer are not tools. Over the REST
API they are the /v1/chat and /v1/responses routes. submit_response records
a finished set of answers directly, which is what an import or an assistant
filling a form needs.
Building a form
There is no "generate a form" tool, and that is on purpose — your assistant is
already the model. It reads list_blocks for the question-type contract, writes the
document itself, and calls create_form. Chatform spends nothing on inference, and
you are not paying twice for the same sentence.
Build me a 5-question customer onboarding form, publish it, and show me the completion rate once people start answering.
That runs choose_build_options → list_blocks → create_form → publish_form →
get_form_analytics.
Before a new form is built, the assistant settles three choices with you, the same
ones the website asks: Look (Simple or Designed), Format (Chat or Form) and Sound
(No sound or Music). It recommends each with a reason. If your app can show a
question, you confirm or change them there; otherwise the assistant asks in chat.
Anything your request already said is not asked again. create_form will not start
without them, and the form keeps them: a Simple form wears a template's look, a
Designed one is composed from a page layout. At the end, hand_back gives the
assistant pictures of the design to show you, with links that last a week.
When editing an existing form, the assistant must read the document first:
update_form replaces the whole draft, so a partial document silently removes
every question missing from it. For anything smaller ("make it navy", "add a
question about dietary needs", "make it feel like Halloween with a bat GIF and
spooky music") use apply_changes instead. It takes a batch of small ops and
changes only what they name. Each op lands on its own: one that does not fit comes
back with the reason, and a setting your plan does not include is reported without
being applied. describe("ops") lists every op, and describe("workflow") lists
the steps from a brief to a finished form. The same ops are on the REST API at
POST /v1/forms/{id}/ops, and the catalogue at GET /v1/describe/{topic}.
The design guide
How a form gets designed, not only built, is one guide the server carries in every channel a client reads, so it works in claude.ai, which ignores server instructions:
describe("workflow"): the steps from a one-sentence brief to a designed, reviewed draft, with a design intent written first and review rounds after.describe("design"): the design playbook, with the stage layout the server enforces (where the questions sit, where decor can go, what a phone keeps).describe("review"): the review checklist and the brief a fresh reviewer gets.describe("assets"): how to search the library and place what fits.
Tool results point at the next part: a new draft at the design guide, a batch of
design ops at a review_form round, and every preview carries
a one-line checklist. Clients that show prompts and resources get the same text
as the design_a_form and review_a_form prompts and the
chatform://guide/<topic> resources. The optional
designer skill is the same guide
again, for clients that load skills.
What is not here
- Deletes. No tool deletes a form, a response, an answer or a webhook, and no tool takes a path to call, so nothing reaches a delete route. Respondent free text is attacker-controlled input, and an assistant reading it should not be one confused tool call away from destroying data. Delete from the dashboard.
- Key and plan management. No key can mint keys or change a plan; see Scopes.
.xlsx. The API exportscsvandjson; the typed workbook is dashboard-only. See Spreadsheets.- Deleting responses in bulk, sending a synthetic webhook test, and moving a form
between workspaces. Each has a dashboard route and no API one yet — tracked in
tooling/check-spec-coverage.ts, which now fails the build if a new dashboard capability appears without either a/v1equivalent or a written reason.
Plan and usage
An app connected with one link works on every plan. On a plan with API access each tool call that reaches an endpoint counts as one API request; on Free, connected apps share an allowance of 1,000 calls a month. A pasted key needs a plan that includes API access. Listing the tools is free, which is why an assistant can connect and show you what it could do before the plan refuses the first call — and the refusal says which plan lifts it.
Per-question analytics needs a plan with advanced analytics. Below that,
get_form_analytics returns the headline numbers and says which sections the plan
withheld, so an assistant will not report an empty funnel as "no data".
Things to know
search_responsesis a substring match, not semantic search, and results are not ranked. Searchingunhappywill not finddissatisfied. To find themes, page throughlist_responseswith answers included and read them.- Results are paginated small — ten rows by default — and long answers are
truncated with a
truncatedflag rather than silently cut. - Exports come back inline.
export_responsesreturns an id; once it is ready,check_exportreturns the CSV or JSON Lines itself, up to 200 KB per call, with anext_offsetto read on. An assistant whose sandbox blocksapi.chatform.innever needs the download link. - Keys pinned to specific forms still are. A restricted key sees 404 for anything outside its list, through MCP as over HTTP.
Troubleshooting
| What you see | What it means |
|---|---|
| Sign-in page says "Ask an admin to connect" | Only an owner or admin can connect an organization |
| The app asks you to sign in again | It was disconnected, or unused for two months |
unauthorized on connect | No key, or the header is not reaching the server |
secret_key_required | You used a pk_ key. /mcp needs sk_ |
secret_key_in_browser | A secret key arrived with an Origin header. /mcp is server-to-server |
insufficient_scope | The key is missing the scope named in the message — mint one with the scopes above |
feature_locked | The plan does not include API access; the message carries the upgrade link |
limit_reached | The monthly request quota is spent; the message says when it resets |
Every error carries a request_id. Quote it if you contact support.