Skip to main content
Glama
formward-mcp

formward-mcp

Official

@formward/mcp

Formward as an MCP server for your coding agent. Pair once from the Formward dashboard, then let Claude Code, Codex, Cursor or any other MCP client create forms, fetch the paste-ready snippet, add webhooks and confirm a test submission against your workspace.

Formward is a form backend hosted in the EU (Sweden). This package talks to it over HTTPS with a key that is pinned to one workspace and can never read what your visitors submitted.

Pairing

  1. In Formward, open Dashboard > Connected agents and create a pairing code. Codes are single use and expire after 10 minutes.

  2. In your project, run:

npx @formward/mcp pair ABCD-EFGH
  1. Approve the claim in the dashboard. The CLI stores the key for your user (never printed) and shows how to register the server:

claude mcp add formward -- npx -y @formward/mcp      # Claude Code
codex mcp add formward -- npx -y @formward/mcp       # Codex CLI
{ "mcpServers": { "formward": { "command": "npx", "args": ["-y", "@formward/mcp"] } } }

The key lives for 30 days and can be revoked in the dashboard at any time. Pairing works on every plan, including Free; the forms the agent creates follow your plan's limits like any other form.

Related MCP server: formslist-mcp

What the agent can do

Tool

What it does

list_forms

Forms in the workspace with endpoint and hosted page URLs

list_templates

Field lists of the built-in templates

create_form

Create a form from fields or a template, optionally with a hosted page

get_form_snippet

Paste-ready markup for html, react, vue, svelte, astro, nextjs, nuxt, tailwind, shopify or webflow

get_form_stats

Submission counts and the time of the latest one, nothing else

list_webhooks, add_webhook

Webhook destinations (Professional plan and above)

send_test_submission

Posts one test submission to the form endpoint from your machine

The agent never sees submission content. After a test it checks the count with get_form_stats; you read the message in the dashboard.

Before pairing, the server still starts: it answers initialize and tools/list from a built-in copy of the tool list, and every tool call returns the pairing instructions. So you can register it in your agent first and pair when the owner has a code ready.

Commands

formward-mcp pair <CODE> [--name "Agent name"]   claim a code and wait for approval
formward-mcp                                      serve MCP over stdio (what the agent runs)
formward-mcp status                               paired workspace and key expiry
formward-mcp logout                               forget the stored key

Environment: FORMWARD_API_KEY uses a key directly (CI, or a classic Professional API key) and takes precedence over a paired key, FORMWARD_API_URL points at another API origin, FORMWARD_AGENT_NAME sets the name the workspace owner sees.

A running server re-reads the stored key when the API rejects the current one and while it is unpaired, so pairing again (or for the first time) in another terminal takes effect without a restart.

Credentials are stored in ~/.config/formward/credentials.json (%APPDATA%\formward\credentials.json on Windows), readable by your user only.

How it works

The server is a stateless stdio bridge: each JSON-RPC message from the client is forwarded to https://formward.eu/api/v1/mcp with your key, and the answer is written back. Only send_test_submission runs locally, because the test should come from the machine that will host the website.

No dependencies beyond Node.js 18.17 or newer.

Development

npm install
npm test

A Dockerfile is included for directory checks: docker build -t formward-mcp . && docker run -i --rm formward-mcp.

License

MIT. See LICENSE.

Available Tools

8 tools
add_webhookB

Add a webhook (generic, Slack or Discord) that fires on each submission. Professional plan and above; https URLs to public hosts only.

Inputs: url (required), formId (required), name, type, +1 more.

create_formA

Create a form. Returns the endpoint URL to POST submissions to. The notification address gets a verification email automatically; notifications are held until the owner confirms it. Pass either fields (array of {name,label,type,required}) or a template slug, or neither for name/email/message.

Inputs: name (required), notifyEmail (required), orgId, fields, +5 more.

get_form_snippetB

Paste-ready form markup for one form with its real endpoint. tech is one of: html, react, tailwind, shopify, webflow, vue, svelte, astro, nextjs, nuxt.

Inputs: formId (required), tech.

get_form_statsA

Submission counts and the time of the latest submission for a form. Use after sending a test to confirm it arrived. Never returns submission content.

Inputs: formId (required).

list_formsA

List the forms in this workspace with their endpoint URLs and hosted page URLs. No submission data.

Inputs: no named parameters.

list_templatesA

Form templates (contact, feedback, registration, ...) with their field lists. Pass a template slug to create_form to start from one.

Inputs: category.

list_webhooksB

Webhook destinations configured on a form (no secrets).

Inputs: formId (required).

send_test_submissionA

Send one test submission to a form's endpoint from this machine, exactly like the website will (JSON body, Accept: application/json). Counts as one submission against the plan. Then call get_form_stats to confirm it arrived; the dashboard shows the content. Pass values matching the form's fields (include _consent: "on" for consent-gated forms), or omit it for name/email/message defaults. The honeypot and redirect controls are always stripped.

Inputs: formId (required), values.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: forms (list/create/snippet/stats), templates (list), webhooks (list/add), and test sending. The only near-neighbors, list_forms and list_templates, are clearly separated by descriptions (workspace forms vs. reusable templates). No two tools compete for the same job.

    Naming Consistency5/5

    Every tool follows a strict snake_case verb_noun pattern (send_test_submission, list_forms, create_form, get_form_stats, add_webhook, etc.). Verb choice is also semantically consistent: list_* for enumeration, get_* for single-resource lookups, create_/add_ for mutations.

    Tool Count5/5

    Eight tools is well-scoped for a form-building service: form lifecycle, templates, snippets, stats, testing, and webhooks each get dedicated tools with no filler. Nothing appears redundant or gratuitously split.

    Completeness3/5

    Creation, listing, embedding, and stats are covered, but the lifecycle has real holes: no update_form or delete_form, no get_form detail tool, and no way to remove or modify a webhook once added. Submission content is also unreadable programmatically (stats only), which limits the surface for agents.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      MCP server for FormsList, a form-backend SaaS. Enables creating form endpoints, reading submissions, configuring auto-responses, and generating embed snippets via natural language.
      7
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Exposes an Auth0 Form as an MCP server, enabling AI models to interact with the form via natural language. It uses a stateless HTTP MCP transport with Auth0 authentication.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Form backend an AI agent can run end to end: register the account, provision a site's forms in one bootstrap_site call, get the snippet with spam protection, and verify HMAC-signed webhooks. 26 tools over streamable HTTP (OAuth or bearer token) or stdio via npx @furrowforms/mcp.
      1
      MIT