Falkenstein, Germany · Hetzner Online GmbH
FormHaven

A contact form Cursor's agent sets up for you

Ask Cursor's agent to add the form. It writes the code and gives you a link to switch it on. Add our MCP server to Cursor and it can change every setting afterwards.

Or let Cursor start without an account: it sends you the link.

Paste into Cursor's agent
Add a working contact form to this site with FormHaven.
Read https://formhaven.net/llms.txt and follow
"Start without an account". Then give me the link
to switch the form on.

Set it up

  1. 1

    Ask the agent

    Paste the prompt into Cursor's agent in your site's project. It reads https://formhaven.net/llms.txt and reserves a form.

  2. 2

    Review the change

    The agent sets your form's action to the new address, names every input and adds the hidden spam trap.

  3. 3

    Press Activate

    Open the link the agent gives you, create an account or log in, and press the button.

  4. 4

    Add the MCP server

    Put the entry below in .cursor/mcp.json with the key, and the agent can change settings and read submissions.

Add FormHaven to .cursor/mcp.json

Cursor reads MCP servers from .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project. Keep the key in an environment variable so it stays out of the repository.

.cursor/mcp.json
{
  "mcpServers": {
    "formhaven": {
      "url": "https://formhaven.net/mcp",
      "headers": {
        "Authorization": "Bearer ${env:FORMHAVEN_KEY}"
      }
    }
  }
}

Questions about this setup

Where does Cursor read the MCP config from?
From .cursor/mcp.json in the project, or ~/.cursor/mcp.json in your home folder, according to Cursor's MCP documentation (cursor.com/docs/context/mcp). ${env:NAME} is filled in from your environment.
Which key goes in the config?
The setup key the agent got when it reserved the form, for 30 days after you have pressed Activate, or a key you create on the API keys page of the dashboard, which does not expire.
Does Cursor need an account with you first?
No. The agent starts the form without one; you create the account when you press Activate.
Where is the data stored?
On our server at Hetzner in Falkenstein, Germany, for as long as you set per form, or not at all. A data processing agreement covers every account.

More to read

Form backend for AI agentsEvery REST route and MCP tool Astro contact formA Contact.astro component for a static Astro site HTML form to emailOne line in the action, every message in your inbox Static site contact formOne form for Astro, Hugo, Eleventy, Jekyll or plain HTML Hugo contact formA partial and a shortcode for a static Hugo site Lovable contact formOne prompt for a site built with Lovable GDPR compliant contact formEU storage, a DPA and retention you set Kontaktformular nach DSGVOAuf Deutsch: gespeichert in Deutschland, mit AVV JavaScript contact formA fetch script that keeps the visitor on the page Vercel contact formFor plain HTML, Astro or Next.js hosted on Vercel FormSubmit not workingThe usual causes of a silent FormSubmit form Web3Forms not workingThe usual causes of a silent Web3Forms form Eleventy contact formAn include for a static Eleventy (11ty) site Formspree not workingThe usual causes of a silent Formspree form Export from FormspreeEvery Formspree submission, as a file Export from FormsparkEvery Formspark submission, as a file EmailJS not workingThe usual causes of a silent EmailJS form Claude Code contact formOne prompt, then press Activate Contact form privacy policyThe paragraph to copy, in 8 languages GitHub Pages contact formFor user, organisation and project sites on github.io Cloudflare Pages contact formFor sites on pages.dev or your own domain Netlify contact formFor sites on netlify.app or your own domain React contact formOne component for Vite and other React apps Next.js contact formA client component that works with output: export Send form submissions to multiple emailsUp to 5 confirmed addresses per form, plus yours SvelteKit contact formOne Svelte 5 component, any adapter Nuxt contact formOne Vue component for Nuxt 4 and 3 Gatsby contact formOne component for a Gatsby 5 site HTML form webhookSigned JSON to your endpoint for every message Jekyll contact formAn include for Jekyll, on GitHub Pages or any host Angular contact formA standalone component that posts with HttpClient Contact form spamWhy forms get spam, and the layers that stop it Contact form honeypotThe hidden field that catches bots, and how to hide it Contact form without PHPFor hosts with no PHP, or mail() that lands in spam HTML form mailtoWhy action="mailto:" fails on webmail visitors, and the one-line fix Contact form templateThe same form in plain HTML Pricing€1 per form a month, €0.50 from the 11th

Get your form address in a minute

14 days free, no card. Then €1 per form a month, €0.50 from the 11th form.

Start your 14-day trial