MCP server · VS Code
Use Formpit from VS Code
Add Formpit to VS Code and Copilot's agent mode can create forms, wire them into your pages and read new submissions for you.
How to set it up
- Create a key on your Account page under AI assistants and API. It's shown once, so copy it somewhere safe.
- Add Formpit to VS Code with the snippet below, replacing
fp_YOUR_KEYwith your key. - Ask VS Code something like "Anything new on my contact form?" to check it's connected.
Add to .vscode/mcp.json
{
"servers": {
"formpit": {
"type": "http",
"url": "https://formpit.com/mcp",
"headers": {
"Authorization": "Bearer fp_YOUR_KEY"
}
}
}
}- Open Copilot Chat in agent mode after saving the file; the Formpit tools appear in its tools list.
- Add
.vscode/mcp.jsonto.gitignoreif it holds your key.
What you can ask
- "Add a contact form to this page and connect it to Formpit."
- "Anything new on my contact form?"
- "Summarise this week's quote requests and draft replies to the two most urgent."
- "Mark the RSVP from Sam as replied."
- "How many submissions have I used this month?"
What VS Code can do in Formpit
| Tool | What it does |
|---|---|
create_form | Creates a form and returns its endpoint and a ready-to-paste HTML snippet |
list_forms | Your forms, with endpoints and unanswered counts |
list_submissions | Submissions for a form: new, replied, closed, all or spam |
get_submission | Every field of one submission, plus the email conversation so far |
reply_to_submission | Emails a reply to the visitor; their answer comes back into the conversation |
set_status | Marks a submission new, replied or closed |
get_usage | Your plan, submissions this month and replies sent today |
Safety
Replies only ever go to the address the visitor entered, your plan's daily reply limit still applies, and the assistant is told to show you each reply and wait for your go-ahead before sending. Submissions are text written by strangers, so they're labelled as visitor content: nothing in a message can make Formpit email anyone else. Revoke a key on your Account page at any time.
Questions
Does it need GitHub Copilot?
MCP tools in VS Code are used through Copilot Chat's agent mode.
Is it free?
Formpit's side is: API keys come with every plan, including Free, and the free plan covers 500 submissions a month.
Is the MCP server included on the free plan?
Yes. API keys and the MCP server come with every plan, and the free plan covers 500 submissions a month.
Other AI tools
Claude · Cursor · Windsurf · Building with Lovable, Bolt or v0? Those use a prompt instead.