When an agent is building your site, the form should not be a detour. With the Lanes MCP server, the agent provisions a working form endpoint itself, mid-task, and hands you a link to claim it.
The server is hosted at api.lanes.sh/mcp over streamable HTTP, so there is nothing to install and nothing to run locally. It registers under the name lanes, separate from the desktop app's Lanes Desktop MCP server, and creating or submitting to forms needs no key at all. All three Lanes MCP servers and when to use each are covered in MCP.
How it works
- Add the MCP server.
claude mcp add --transport http lanes https://api.lanes.sh/mcp, no signup. Other MCP clients point at the same URL with the equivalent JSON config. - The agent calls create_form. One tool call returns a live endpoint and a claim link. The server exposes five tools:
create_form,get_form,update_form,generate_form_snippet, andsubmit_form. Creating and submitting work anonymously; the management tools need a workspace key. See agents and MCP. - The form works immediately. Submissions are captured from the first second. While unclaimed, the form holds up to 25 submissions and forwards nothing, which fits a form born mid-task: the data waits until a human takes over. Limits are in provisioning.
- You claim it. Follow the claim link to pull the form into your dashboard when you are ready. Possession of the link is the authorization, so the agent can provision on your behalf and you still end up as the owner. Claiming releases the held submissions and turns on email forwarding. See claiming.
Why it matters
The agent stays in flow. No dashboard detour, no API keys to paste, no backend to write. The form is live before the agent moves to the next task.
The markup is covered too: generate_form_snippet emits a ready-to-paste HTML or React form wired to the endpoint, so the agent does not hand-write the integration. And if you already have a workspace, pass your lfk_ key as an Authorization bearer header: management tools unlock, and new forms are born claimed into that workspace with no claim step at all.
MCP is not the only path. The lanes-forms Claude Code skill carries the API contract (/plugin marketplace add lanes-sh/app, then /plugin install lanes-forms@lanes), and a plain copy-paste prompt works for any agent. Every docs page is also readable as raw Markdown at its own path with a /raw suffix, so agents can ground themselves without scraping.
Set it up
- Connect the server. Run
claude mcp add --transport http lanes https://api.lanes.sh/mcpin your agent, or add the equivalent server entry to its MCP config. - Ask for a form. Tell the agent what the form should collect and which address should receive submissions. It calls
create_formand reads back the endpoint and the claim link. - Let it wire the page. Ask for
generate_form_snippetoutput and the agent pastes a working HTML or React form into your site. - Claim the form. Open the claim link the agent hands you, sign in, and the form joins your dashboard with everything it collected.
Further reading
- Agents and MCP: the five tools, the skill, and the copy-paste prompt.
- MCP: the hosted remote server versus the desktop app's local one.
- Claiming a form: what happens when you redeem the link.
- Lanes Forms vs Formspree: agent-first provisioning next to a classic form backend.