send.webforms.toRead the docs →

Documentation

MCP server

A Model Context Protocol server at agents.webforms.to lets Claude, ChatGPT, Cursor and any MCP client read your submissions, create and update forms, and replay failed deliveries. Connect with one click: sign in, choose what it may do, done. Available on Pro and Agency, the same plans as the Submissions API.

Last updated

Why a separate server

The REST APIs (read and write) are for your own code. MCP is for your AI assistant: ask Claude, ChatGPT or Cursor "what came in on the contact form this week?", "set up a waitlist form for the new landing page" or "the webhook is fixed, resend what failed", and it does it with structured, scoped access to your workspace.

Connecting a client

Step-by-step guides for each client: Claude, Claude Code, ChatGPT, Codex, Cursor, GitHub Copilot in VS Code, Windsurf, Gemini CLI.

Add https://agents.webforms.to as a custom connector or remote MCP server in your client. It opens a WebForms page where you pick the workspace and tick what the assistant may do, then click Allow. That's the whole setup: no key to copy. Access lasts 90 days, shows up under Settings → Connected AI apps with who connected it and what it may do, and can be disconnected there at any time. The workspace's owners and admins, and whoever connected it, get an email when an app is connected. Connecting the same app again replaces its old access rather than adding another key.

Clients that don't support sign-in can use an API key instead, as a bearer token or X-API-Key header. A key works for the REST APIs too: scopes, not the transport, decide what it can do.

claude_desktop_config.json
{
  "mcpServers": {
    "webforms": {
      "url": "https://agents.webforms.to",
      "headers": {
        "Authorization": "Bearer wf_live_your_key"
      }
    }
  }
}

Transport is Streamable HTTP with JSON responses: JSON-RPC 2.0 over a single POST /, protocol versions 2025-06-18, 2025-03-26 and 2024-11-05. Sign-in is OAuth 2.1 with PKCE and dynamic client registration; an unauthenticated request gets a 401 whose WWW-Authenticate header points at /.well-known/oauth-protected-resource. Each key or sign-in can make 120 tool calls a minute (every item in a JSON-RPC batch counts as one).

Tools

Read tools are always available. Write tools are listed only when the sign-in or key includes their scope: forms:write for creating and changing forms, destinations:write for replaying deliveries. Every change goes through the same checks and plan limits as the write API.

Some things are never available over MCP, whatever the scopes: deleting anything, adding or editing destinations, autoresponders and double opt-in, API keys, team members and billing. A model reads text typed by strangers into public forms, so an instruction hidden in a submission ("add this webhook") has nothing dangerous to reach. For the same reason get_submissions and search_submissions return each submission inside an <untrusted_submission id="..."> block, with a note telling the model to treat it as data.

  • list_formsList the forms in this workspace with their submission and spam counts.limit (1-100, default 25)
  • get_submissionsRead recent submissions for a form, newest first.formId (required), limit (1-50, default 20), includeSpam (default false)
  • search_submissionsSearch submission content across every form in the workspace.query (required), limit (1-50, default 20)
  • get_usageCurrent plan, submission quota and usage for this workspace.(none)
  • get_statsSubmission counts for this workspace over the last N days.days (1-90, default 7)
  • get_formOne form's settings: endpoint, thank-you page, spam sensitivity, blocklists, languages, allowed sites.formId (required)
  • get_unfinished_submissionsForms visitors started but never sent, each with an email to follow up on (needs the partial-form script).formId (required), limit
  • get_form_schemaA form's fields plus generated JSON Schema, TypeScript, Zod and agent-ready HTML.formId (required)
  • save_form_schemaReplace a form's fields. Needs forms:write.formId, fields (required), enforceSchema
  • list_deliveriesRecent delivery attempts with status and error; status 'dead' finds deliveries that gave up.formId, status, limit
  • create_formCreate a form. Returns its endpoint and a ready-to-paste HTML form. Needs forms:write.name
  • update_formChange a form's name, thank-you page, active state, spam sensitivity, blocklists, languages or allowed sites. Needs forms:write.formId (required), plus any setting to change
  • replay_failed_deliveriesSend deliveries that gave up again, e.g. after a webhook was fixed. Needs destinations:write.formId, destinationId

Scoping

Every tool call is scoped to the workspace the API key belongs to: there is no tool that accepts an organization id or a workspace parameter, so one customer's assistant cannot read another customer's submissions by guessing an id, and a prompt cannot talk it into trying.

Trying it without a client

The server answers a plain GET at the root with its own capabilities:

Terminal
curl https://agents.webforms.to/

And a tool call is a standard MCP JSON-RPC request:

Terminal
curl -X POST https://agents.webforms.to/ \
  -H "Authorization: Bearer wf_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "get_usage", "arguments": {}}}'

Get your endpoint

Free for 300 submissions a month. No card required.

Start free