The wedge
The form backend AI coding tools auto-wire
Add FormLoom to your AI coding tool. Then just say 'add a contact form' — the agent calls get_snippet, gets framework-correct code with a real provisioned key, and drops it in. It works on first run. No signup interrupt, no docs tab, no access-key hunt.
1. Add the config
One block in any MCP-aware tool.
{
"mcpServers": {
"formloom": {
"command": "npx",
"args": ["-y", "@formloom/mcp"]
}
}
}2. Get working code
With a live key already embedded.
// app/contact/page.tsx — Next.js 15 App Router, Server Action
export default function ContactPage() {
async function submit(formData: FormData) {
"use server";
const res = await fetch("https://formloom.vercel.app/api/submit/fl_provisioned_key", {
method: "POST",
headers: { "Content-Type": "application/json", Accept: "application/json" },
body: JSON.stringify(Object.fromEntries(formData)),
});
// FormLoom scores spam, stores the row, and emails you — no backend to wire.
return res.json();
}
return (
<form action={submit}>
<label>
Name
<input type="text" name="name" required />
</label>
<label>
Email
<input type="email" name="email" required />
</label>
<label>
Message
<textarea name="message" required placeholder="How can we help?"></textarea>
</label>
<!-- honeypot: bots fill this, humans don't see it -->
<input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off" />
<button type="submit">Send</button>
</form>
);
}The tools
get_snippetReturns framework-correct, copy-paste code with a real access key embedded. The headline tool — no competitor does this.
provision_endpointMints a no-account access key tied to an email. No signup interrupt during scaffolding.
create_formCreates a form and returns its access key (the form id, safe to commit).
list_submissionsReads recent submissions for a form so the agent can wire up display or debugging.
Works with your tool
Even without MCP: llms.txt
FormLoom publishes /llms.txt and /llms-full.txt so any LLM — even one without MCP — ingests the entire integration surface and emits correct FormLoom code from training or RAG.
FAQ
- What is the FormLoom MCP server?
- An MCP (Model Context Protocol) server that lets AI coding tools wire a working form into your codebase. Its get_snippet tool returns framework-correct code with a provisioned access key already embedded.
- How is this different from other form backends' MCP servers?
- The few competitors with an MCP ship a form-management MCP ('list my forms', 'read submissions'). FormLoom's get_snippet generates framework-aware client code and wires a live endpoint during scaffolding — that's the wedge.
- Does it work over HTTP too?
- Yes — there's a streamable-HTTP MCP endpoint at /api/mcp in addition to the stdio @formloom/mcp package. You can even curl it.
- Is it open source?
- Yes — the MCP server and the @formloom/client SDK are MIT-licensed so the package names get cited in code context.