MCP & AI Access
Formtress runs a Model Context Protocol (MCP) server so AI clients can work with your workspace: list forms, search submissions, check webhook deliveries, report on usage, create new forms, and manage per-form integrations (email notifications, webhooks, Mailchimp, HubSpot). No glue code required: point any MCP-capable client at the endpoint and your agent can answer questions about your forms.
Access is workspace-scoped and can be revoked at any time. Reads are always available; account-scoped (“All workspaces”) connections can also create workspaces via the create_workspace tool, and form creation is supported via create_form (subject to the plan’s form limit). Integrations are managed via add_integration, update_integration, and delete_integration; Mailchimp and HubSpot require the workspace’s Mailchimp/HubSpot connection to be set up in the dashboard first.
Endpoint
Section titled “Endpoint”https://app.formtress.com/api/mcp- Transport: Streamable HTTP (stateless, JSON responses)
- Server name:
formtress - Methods:
POST,GET,DELETE(plusOPTIONSfor CORS preflight) - CORS: enabled, so browser-based clients work too
Authentication
Section titled “Authentication”There are two ways to authenticate, depending on your client:
- OAuth (recommended): supported natively by Claude connectors, ChatGPT Desktop, and most clients that follow the MCP authorization spec. Nothing to create or paste; you just sign in to Formtress and pick the workspace to expose.
- API tokens: the fallback for scripts, CLIs, and clients without OAuth. MCP requests are authenticated with the same tokens as the public API. Create them in your dashboard under Connect → MCP & AI.
- Go to Connect → MCP & AI in your workspace dashboard.
- Click New token and give it a descriptive name (e.g. “Claude desktop”).
- Copy the token immediately; it is shown only once.
Send the token as an Authorization header:
Authorization: Bearer fmt_live_xxxxxxxxxxxxxxxxxxxxFor MCP clients that cannot set custom headers, you can pass the token as a query parameter instead: https://app.formtress.com/api/mcp?token=fmt_live_.... The token is part of the URL in that case, so treat the link like a password.
Connecting a client
Section titled “Connecting a client”Works with claude.ai, the Claude Desktop app, and Claude mobile via OAuth (no token needed).
- Open Claude → Settings → Connectors.
- Click + Add → Add custom connector.
- Fill in the information: Name:
Formtress, MCP server URL:https://app.formtress.com/api/mcp, then Continue. - Claude opens a Formtress sign-in. Authenticate, then pick the workspace to expose. Auth completes automatically.
ChatGPT Desktop connects via OAuth too: no token needed.
- Open ChatGPT → Plugins, click Add → Add custom MCP server.
- Fill in the information: Name:
Formtress, Server URL:https://app.formtress.com/api/mcp, check the checkbox, and create the plugin. - ChatGPT opens a Formtress sign-in. Authenticate, then pick the workspace to expose. Auth completes automatically.
The Claude Code CLI accepts remote HTTP servers natively:
claude mcp add --transport http formtress https://app.formtress.com/api/mcp --header "Authorization: Bearer fmt_live_..."Replace fmt_live_... with one of your tokens. Add --scope user to make the server available in every project, or leave it out to scope it to the current project.
The OpenCode CLI accepts remote HTTP servers natively:
opencode mcp add formtress --url https://app.formtress.com/api/mcpFormtress supports OAuth, so after adding the server, complete the sign-in:
opencode mcp auth formtressThis opens a Formtress sign-in in your browser; authenticate and pick the workspace to expose. OpenCode stores the tokens securely for future requests. (OpenCode also detects the auth requirement automatically the first time it uses a tool, so the manual auth step is only needed if you want to sign in upfront.)
Manual configuration
Section titled “Manual configuration”For clients configured via config files rather than OAuth, here are copy-paste snippets.
Cursor / VS Code / other
Section titled “Cursor / VS Code / other”Any client that supports manual MCP config works with a standard HTTP entry. For Cursor, add to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your repo:
{ "mcpServers": { "formtress": { "type": "http", "url": "https://app.formtress.com/api/mcp", "headers": { "Authorization": "Bearer fmt_live_..." } } }}Claude Desktop config file
Section titled “Claude Desktop config file”Claude Desktop supports OAuth natively for remote servers; try the connector flow above first. If you’d rather use a token, add this to claude_desktop_config.json (requires mcp-remote via npx):
{ "mcpServers": { "formtress": { "command": "npx", "args": [ "-y", "mcp-remote", "https://app.formtress.com/api/mcp", "--transport", "http-only", "--header", "Authorization:${FORMTRESS_MCP_AUTH}" ], "env": { "FORMTRESS_MCP_AUTH": "Bearer fmt_live_..." } } }}Available tools
Section titled “Available tools”The agent can call any of these tools once your token is configured. It’ll typically call list_forms first to discover ids, then use them for follow-up queries.
| Tool | Description |
|---|---|
list_workspaces | Workspaces this connection can reach (one row for single-workspace connections). |
get_workspace | Workspace id, name, slug, allowed URLs, and plan. |
create_workspace | Account-scoped (“All workspaces”) connections only. Create a new workspace with a name and 1-5 allowed submission URLs; optional billing email, “for client” flag, and retention window. |
create_form | Create a form in the workspace: name, fields (all field types incl. select/radio options and checkboxGroup choices), optional redirect URL, and optional ban rules. Subject to the plan’s form limit. |
update_form | Update a form: rename it, change its redirect URL, and/or fully replace its fields and ban rules. Omitted lists are left unchanged. Field renames (kept field id, changed name) propagate to historical submissions. |
delete_form | Permanently delete a form and all of its submissions and uploaded files. Requires confirm: true. Cannot be undone. |
get_usage | Current billing-period submission count vs plan limit, percent used, remaining, and period dates. |
list_forms | All forms in the workspace (id, name, field count, redacted integration summaries). |
get_form | Full form details - fields, ban rules, and configured integrations. Webhook URLs are redacted to host-only so secret paths are never exposed. |
list_integrations | All integrations configured on a form with their full configs (nothing redacted) — use this before managing integrations. |
add_integration | Add an integration to a form: email notifications, webhooks (Zapier/Make/custom), Mailchimp, or HubSpot. One integration per type per form; Mailchimp/HubSpot need the workspace connection set up first. |
update_integration | Update an integration by id: enable/disable it and/or replace its configuration (full replace, same arguments as add_integration). |
delete_integration | Remove a single integration from a form. Other integrations are kept. Requires confirm: true. |
list_mailchimp_audiences | Mailchimp audiences of the workspace’s connected Mailchimp account (for the audienceId argument). |
list_hubspot_forms | HubSpot forms of the workspace’s connected HubSpot account (for the hubspotFormGuid argument). |
list_submissions | Recent submissions, optionally filtered by form, type (clean, sus, spam, test), and date range. Paginated via cursor. |
get_submission | A single submission with all field data and metadata. |
search_submissions | Full-text search over submission field values and email (case-insensitive substring match). |
list_webhook_attempts | Recent webhook delivery attempts for a form, with success/failure status and HTTP response codes. |
analytics_timeseries | Daily breakdown of clean, suspicious, and bot-blocked submissions across the workspace. |
analytics_top_forms | Forms ranked by clean submission count. |
analytics_top_countries | Top submission countries (anonymised aggregate). |
analytics_top_pages | Top pages where submissions originated. |
Resources
Section titled “Resources”Forms are also exposed as MCP resources at formtress://forms/{formId}, so clients with a resource browser (Claude Desktop, Cursor) can list and attach them directly.
Example prompts
Section titled “Example prompts”Once connected, try asking your assistant things like:
- “Show me new submissions on my contact form today.”
- “Find submissions mentioning acme.com.”
- “Did my Zapier webhook fire? Any failures?”
- “Add a webhook to my contact form that fires on every new submission.”
- “Send email notifications for new contact-form submissions to team@acme.com.”
- “How close am I to my plan’s submission limit?”
- “Which form got the most submissions this month?”
Rate limits
Section titled “Rate limits”MCP requests are rate limited separately from the REST API so AI clients don’t trip on connection bursts:
| Plan | REST API | MCP |
|---|---|---|
| Free | 60 requests/min | 120 requests/min |
| Paid | 60 requests/min | 600 requests/min |
Exceeding a limit returns 429. If you’re building a heavy integration, batch your reads and cache responses where possible.
Token limits
Section titled “Token limits”Free workspaces can keep up to 2 active tokens; paid plans allow 10. MCP and the REST API are available on all plans.
Underlying REST API
Section titled “Underlying REST API”The MCP tools cover the Formtress public API (https://app.formtress.com/api/v1), which is CORS-enabled and uses the same fmt_live_ tokens. The MCP page in your dashboard links to the full API & MCP reference.