formdata.dev exposes a Model Context Protocol (MCP) server that lets AI assistants manage your forms, destinations, and account directly. No dashboard needed.
| Field | Value |
|---|---|
| Endpoint | https://api.formdata.dev/mcp |
| Auth | Authorization: Bearer sk_xxx |
| Transport | Streamable HTTP (SSE) |
Replace sk_xxx with the secret key you received during npx formdata-dev init.
Expected result: Claude returns your organization name, slug, and creation date.
.claude/settings.json in your project root:get_account.Open Cursor Settings (Cmd+, or Ctrl+,).
Navigate to Features > MCP Servers.
Click Add new MCP server.
Enter the following configuration:
formdatassehttps://api.formdata.dev/mcpAdd the authorization header. In .cursor/mcp.json:
get_account.After configuring your MCP client, ask your AI assistant:
"Use the get_account tool to show my formdata.dev account info."
A successful response looks like:
If you get an authentication error, double-check that your sk_ key matches the one in ~/.config/formdata/credentials. If you rotated your key, update the MCP configuration with the new key.
The MCP server exposes 9 tools:
| Tool | Description | Parameters |
|---|---|---|
get_account |
View your account information | (none) |
list_forms |
List all forms for your account | (none) |
create_form |
Create a new form endpoint | name, slug, allowedOrigins, verifyCaptcha, captchaSecret |
get_form |
Get form details including destinations | formId |
update_form |
Update form configuration | formId, name?, allowedOrigins?, isEnabled? |
delete_form |
Delete a form and all its destinations | formId |
add_destination |
Add a destination to a form | formId, type, config, isEnabled |
remove_destination |
Remove a destination from a form | formId, destinationId |
rotate_key |
Rotate your tenant API key (revokes all existing keys) | (none) |
add_destinationThe type parameter accepts one of three values, each with its own config shape:
webhook
smtp
google_sheets_webhook
You can manage your entire formdata.dev setup through natural conversation with your AI assistant. For example: "Create a contact form called 'Contact Us' with slug 'contact', then add a webhook destination pointing to https://hooks.slack.com/services/..."