Lanes Forms is designed to be used by coding agents, not just humans. An agent can provision an endpoint, wire it into a site, and even fill a form in on your behalf. There are three ways to connect one.
MCP server
Add the Lanes MCP server to your agent, then ask it to provision or submit.
Add the Lanes MCP server to your agent, then
ask it to create_form or submit_form. Nothing to
install, no key needed.
claude mcp add --transport http lanes https://api.lanes.sh/mcp
{
"mcpServers": {
"lanes": {
"url": "https://api.lanes.sh/mcp"
}
}
}It exposes five tools:
| Tool | What it does |
|---|---|
create_form | Provision a form. |
get_form | Read a form's config and counters (needs a workspace key). |
update_form | Patch a claimed form (needs a workspace key). |
generate_form_snippet | Emit a ready-to-paste HTML or React form. |
submit_form | Submit to a live endpoint. |
Pass a workspace API key (lfk_...) as an Authorization: Bearer header so that the management tools work and provisioned forms are born claimed into that workspace.
Claude Code skill
The lanes-forms skill bundles the API contract, so the agent just calls it.
Install the Lanes Forms skill, then ask your agent to provision
a form or fill one in (the skill knows the API and calls it for you).
/plugin marketplace add lanes-sh/app
/plugin install lanes-forms@lanes
Then tell your agent:
"Use the lanes-forms skill to provision a form backend for
submissions to you@company.com from example.com."
Or point it at a live endpoint to fill a form on your behalf.A copy-paste prompt
No MCP or skill? Hand any agent this brief:
Set up form handling for this site using Lanes Forms.
No signup is required.
1. Install the Lanes Forms skill:
/plugin marketplace add lanes-sh/app
/plugin install lanes-forms@lanes
2. Then use it to provision a form:
"Use the lanes-forms skill to provision a form backend for
submissions to <where submissions should go> from
<your site domain, e.g. example.com>."
The skill knows the API contract, creates the form, and returns a
live endpoint to point the site at. Submissions are captured from
the first second. The same skill can also fill in a form on your
behalf: give it a live endpoint and the fields to submit.
How the form is claimed depends on how it is provisioned:
- No key: the response always returns a one-time claim_url.
Hand it to whoever should own the form. If you pass
recipients, that same link is also emailed to the first
address, so they can click either one, sign in, and claim
the form to turn on forwarding.
- With a workspace key (lfk_...): the form is born claimed
into that workspace, no claim step needed.Agent-friendly docs
Every page here is written to be read by agents:
- Each article has a Copy for agent button and a Copy as Markdown button at the top.
- Any page is available as raw Markdown at its path with a
/rawsuffix, for examplehttps://lanes.sh/docs/forms/provisioning/raw. - The whole documentation set is at
/llms-full.txt, and the index is at/llms.txt.
Next: Provisioning to see the create call in full.