Connect over MCP
Connect over MCP
Formcarry’s MCP does everything you would do in the dashboard for your forms and submissions: create a form, set its recipients, spam blocker and webhooks, list and search submissions, mark spam, and read where each submission was delivered. v0 connects to it as an MCP server, so it manages the form it built instead of only writing the front end.
Prerequisites
Before you start, you need:- A formcarry account. Sign up is free.
- A form in the dashboard. Its endpoint is on the form’s Setup page. The examples use
https://formcarry.com/s/AbC123xyz; put yours in its place. - The form’s name and id from its page in the dashboard, for the prompt.
1. Provide the instructions
Paste this prompt into the prompt bar, with your form’s name and id in place of the placeholders:https://formcarry.com/s/AbC123xyz, the prompt reads:
2. Check what it changed
Select the Code tab in the preview toolbar, then Toggle Diff View in the editor toolbar, and check the form against this list:- The endpoint from the Setup page in the form’s
actionor in thefetchURL. method="POST"on the form.- A
nameon every field, andemailon the address field. Accept: application/jsonwhen it posts from JavaScript.- Where the post leaves from: the browser, not a Server Action or an API route.
action and method="POST":
fetch call, look for the endpoint in the URL and Accept: application/json in the headers:
code: 200.
v0 writes Next.js and can put the post in a Server Action (a "use server" file) or an API route (app/api) instead, so it leaves from the server. To move it, reply:
3. Send a test submission
Fill the form in on the Preview tab and submit. The Preview tab runs the whole app, server code included, as it runs once published. The submission is on the form’s page in the dashboard, and the notification email arrives at your account’s address. A second test inside 15 seconds gets a429.
Send one more test after Publish to Production, because it runs the app on separate infrastructure with its own environment variables.
Where the post leaves from
Post from the browser rather than from a Server Action or an API route, because a spam blocker token has to come from the browser. A team’s Sandbox Network Policy, set in team settings, can block a post that leaves from the sandbox. The default isallow-all. If a test from the Preview tab never reaches the dashboard, check the policy.
What’s next
- What every form needs: field names, hidden inputs, limits and the answers.
- Spam protection: add a challenge once the form is live.
- Connect over MCP: let the tool manage the form, not only write it.