AI tools · Checked November 22, 2026

How to add a form backend in Cursor (and have the agent do it)

Cursor's agent will happily write a contact form. The part it cannot do by itself is give the form somewhere to send to, so you often end up with a form that looks right and does nothing. Here are three ways to fix that, from quickest to most permanent.

1. One prompt

In Cursor's agent chat, in your project, paste: "Read https://formtango.com/ai.md and add a working form to this site."

The agent reads the instructions, creates a form with one request (no account or key), writes the form in your project's own style with the working address in it, and gives you a link. Open the link to see your submissions and get email alerts.

2. A rule, so you never have to ask

Cursor reads AGENTS.md in your project. Add these few lines once and the agent uses a form backend whenever a form needs one, in this project, without being told. This is the option to choose if you build sites regularly.

3. An MCP server

For work after the form exists, such as reading submissions or checking that a test arrived, connect the FormTango MCP server in Cursor's settings. It signs in through your FormTango account. The steps are on the AI tools page, and the Cursor guide has a ready prompt.

Check that it worked

  • The form's action (or the fetch address) starts with https://formtango.com/f/ and does not contain YOUR_FORM_ID.
  • Submitting the form shows a success message.
  • The submission is in your inbox after you open the claim link.

Other services

The rules-file approach works with any form backend, and several have MCP servers. The difference is whether the agent can create the form before you have an account. We compare them in form backends with an MCP server.

Written by the FormTango team. Facts about other services were read from their own pages on November 22, 2026. Spotted something out of date? Tell us and we will fix it.

Keep reading