Skip to content

Get an endpoint ​

Formhaus Cloud hosts the submission endpoint for a definition. Full documentation is in the Cloud section.

Publish ​

Connect the remote MCP server:

bash
claude mcp add --transport http formhaus https://api.formhaus.dev/mcp

Ask the agent:

text
Create a waitlist form with an email field and publish it.

publish_form returns form_id, endpoint, hosted_url, embed_snippet, react_snippet, vue_snippet and, without an account key, claim_url and agent_key. See Quickstart for the local server, the plugin and every result field.

Put the form on a site ​

WaySnippet
Hosted linkhttps://f.formhaus.dev/{form_id}
Embed<script src="https://f.formhaus.dev/embed.js" data-form="{form_id}" async></script>
Reactimport { FormhausForm } from '@formhaus/react/cloud' and <FormhausForm id="{form_id}" />
Vueimport { FormhausForm } from '@formhaus/vue/cloud' and <FormhausForm id="{form_id}" />
POST JSONPOST https://api.formhaus.dev/f/{form_id} with { "values": {...}, "skippedSteps": [] }

Props, status codes, Idempotency-Key and validation rules are in Collecting submissions.

Formhaus is MIT licensed. Legal