You can now connect AI assistants like Claude Code, Claude Desktop, Cursor or VS Code to your Deftform workspace with the new MCP server (Model Context Protocol). Ask your assistant in plain language to create forms, add and arrange fields, change settings or look at your responses, and it does the work in your workspace. ChatGPT and the claude.ai website aren't supported yet, as they require signing in via OAuth instead of using an API token.
What your assistant can do
- Build forms from scratch. Create a form and add up to 50 fields in one go, including short and long text, email, phone, number, date, dropdowns, single and multiple choice, ranking, rating, slider, time picker, address, file upload, eSignature, opt-in checkbox, hidden fields, paragraphs, dividers, spacers and page breaks.
- Edit existing forms. Update labels, options, placeholders, help texts, required status and other field settings. It can also delete fields, reorder them, or insert new fields at a specific position.
- Manage form settings. Close or reopen forms, change the submit button label, completion message, notification emails, SEO settings and more.
- Work with responses. List and filter responses, open single responses, download response PDFs, and get statistics such as response counts, conversion rates, trends and answer distributions.
- Submit responses to your forms, for example to import data or test a form.
Built with safety in mind
- Content written by your assistant is cleaned before it's saved. Labels and options are stored as plain text, and paragraph and consent texts only allow basic formatting and safe links.
- HTML/code, image and embed elements can only be added in the form builder.
- Deleting a field is marked as a destructive action, so your MCP client can ask you for confirmation first.
- Your assistant only ever sees the workspace that the token belongs to.
Getting started
Go to Settings → API + MCP, create a token and add the server to your MCP client:
{ "mcpServers": { "deftform": { "type": "http", "url": "https://deftform.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" } } }}
Read our help center article to learn more.
Read-only and read & write tokens
When you create an API token, you now choose its access level:
- Read-only access: view forms, fields and responses. This is the new default and a good fit for reporting or for trying out AI assistants.
- Read & write access: also create and change forms, fields and settings, and submit responses.
The token list shows the access level of each token. Your existing tokens keep full access, so current integrations keep working. With a read-only token, MCP tools that change data aren't offered to your assistant, and API requests that change data return 403 Forbidden.
API: manage form fields
Everything the MCP server can do with fields is now also available in the REST API:
POST /forms/{id}/fieldsadds one or more fields, optionally at a specific position.PATCH /forms/{id}/fields/{UUID}updates a field's settings.DELETE /forms/{id}/fields/{UUID}deletes a field.POST /forms/{id}/fields/ordersets the order of all fields.
Form data returned by the API now also includes more field settings, such as the custom key, read-only state, slider, time picker and phone settings, opt-in value and hidden field default. These endpoints need a token with read & write access.
Improvements
- Tightened access checks in the form builder for adding, editing and duplicating fields and for validation rules.