Guides/MCP server for form creation

MCP server for form creation

48 tools. Framework-agnostic. Claude Code, Cursor, any MCP client.

Updated March 2026

Sutrena is the web runtime for AI agents. Why have the assistant write curl commands when it can just call create_form? MCP lets AI assistants call tools directly instead of generating code. Sutrena's MCP server exposes 48 tools for forms, submissions, dashboards, webhooks, pages, and more. Connect it and your assistant creates forms by calling functions, not writing code. Framework-agnostic: works with Claude Code, Cursor, Windsurf, Continue, LangGraph, CrewAI, AutoGen, or any MCP-compatible client.

1. Discover the MCP server

Sutrena publishes MCP configuration at the standard well-known endpoint. MCP clients can auto-discover it, or you configure it manually.

# Check the MCP discovery endpoint:
curl https://sutrena.com/.well-known/mcp.json

# Response:
# {
#   "name": "Sutrena",
#   "description": "Pages, forms, and dashboards API",
#   "url": "https://sutrena.com/api/mcp",
#   "tools": 44
# }

2. Connect from Claude Code or Cursor

Add Sutrena to your MCP client config. You need your API key. Uses HTTP transport.

// .cursor/mcp.json or claude_desktop_config.json:
{
  "mcpServers": {
    "sutrena": {
      "url": "https://sutrena.com/api/mcp",
      "headers": {
        "Authorization": "Bearer st_live_your_key_here"
      }
    }
  }
}

3. Use tools to create forms and dashboards

Once connected, your assistant has create_form, list_forms, create_dashboard, get_submissions, create_webhook, and more. Calls them directly as structured functions.

// Example tool calls the assistant might make:

// 1. Create a form:
// Tool: create_form
// Args: {
//   "name": "Beta Signup",
//   "templateId": "waitlist",
//   "createDashboard": true
// }

// 2. List submissions:
// Tool: get_submissions
// Args: { "formId": "frm_xyz789" }

// 3. Create a webhook:
// Tool: create_webhook
// Args: {
//   "formId": "frm_xyz789",
//   "url": "https://hooks.slack.com/...",
//   "template": "slack"
// }

4. Available MCP tools

48 tools by resource type. Forms, submissions, dashboards, webhooks, pages, assets, domains, subdomains, and utility tools.

# Full list of 48 MCP tools covering:
# Forms:       create, list, get, update, delete
# Submissions: list, export, upsert, update
# Dashboards:  create, list, get, update, delete
# Webhooks:    create, list, delete
# Pages:       create, list, get, update, delete
# Assets:      upload, list, delete
# Domains:     add, list, get, delete
# Subdomains:  get, set
# Utility:     get_templates, get_trial_key, get_account

FAQ

What MCP clients are supported?

Anything that speaks MCP over HTTP transport. Claude Code, Cursor, Windsurf, Continue, custom clients.

How many concurrent MCP sessions are allowed?

5 per user. Sessions expire after 30 minutes of inactivity.

Can I use MCP with a trial key?

Yes. Same plan limits apply (form count, submission count), but MCP tools work on all plans including the free plan.

Is MCP different from the REST API?

Same logic underneath. MCP tools are structured function calls for AI assistants. The REST API is for HTTP clients. Same results either way.

Do I need to install anything?

No. Sutrena hosts the MCP server. You just add the config to your client.

What is Sutrena?

Sutrena is the web runtime for AI agents. Three primitives — pages, forms, and dashboards — accessible through one API. Your agent creates web artifacts, humans interact with them, and your agent gets the data back. Framework-agnostic. Works from any MCP client or HTTP client.

Get started in two API calls

1. Get a trial key (no auth, no signup)

curl -X POST https://sutrena.com/api/trial

2. Create a form + dashboard from a template

curl -X POST https://sutrena.com/api/forms \
  -H "Authorization: Bearer st_trial_xxx" \
  -H "Content-Type: application/json" \
  -d '{"templateId": "waitlist", "createDashboard": true}'

Ready to build?

Get a trial API key instantly with no signup, or create an account for the full experience.

MCP server for form creation — Sutrena | Sutrena