Web runtime in your editor. Deploy pages, create forms, stay in code.
Updated March 2026
Cursor supports MCP, so you can add Sutrena as a tool source. Ask Cursor to create a form or deploy a page and it calls the API while you stay in your code. Good for setting up web infrastructure in the middle of building something. Framework-agnostic runtime.
1. Get a Sutrena API key
No signup needed.
curl -X POST https://sutrena.com/api/trial
# Response: { "data": { "key": "st_trial_xxx", ... } }2. Add the MCP server in Cursor settings
Open settings, go to MCP, add Sutrena. Or drop this in your project's .cursor/mcp.json.
// .cursor/mcp.json (project-level)
{
"mcpServers": {
"sutrena": {
"url": "https://sutrena.com/api/mcp",
"headers": {
"Authorization": "Bearer st_trial_xxx"
}
}
}
}3. Create forms from the editor
Open Cursor's chat (Cmd+L) and ask for what you need. It uses the MCP tools to call Sutrena directly.
# Example prompts in Cursor chat:
"Create a contact form with name, email, and message
fields using Sutrena"
"Set up a bug report form with title, severity dropdown,
steps to reproduce, and a screenshot upload field"
"Create a dashboard for my waitlist form that shows
total signups, signups per day as a line chart, and
a data table of recent submissions"4. Embed forms in your app
Cursor gives you the form ID. Drop the embed script into your page or use an iframe.
<!-- Embed in your HTML/React app -->
<script
src="https://sutrena.com/embed.js"
data-form-id="frm_xxx"
data-mode="inline">
</script>
<!-- Or use an iframe -->
<iframe
src="https://sutrena.com/f/frm_xxx?embed=1"
width="100%"
height="600"
frameborder="0">
</iframe>5. Iterate on forms without leaving Cursor
Update fields, change messages, add webhooks, build dashboards -- all through chat. The MCP tools cover the full API.
# Example iteration prompts:
"Add a phone number field to the contact form"
"Change the success message to 'Thanks! We will
be in touch within 24 hours.'"
"Create a Slack webhook for this form pointing at
https://hooks.slack.com/services/T00/B00/xxx"
"Export all submissions from the contact form as CSV"All of them, including free. You need version 0.45 or later.
Yes. Commit .cursor/mcp.json to your repo. But each person needs their own API key, so use environment variables for the Authorization header instead of hardcoding it.
Same tools, same MCP server, same results. The difference is where you're working -- Cursor keeps you in your editor, Claude Code is in the terminal, Claude Desktop is standalone.
Yes. Same tools as Claude -- metric cards, pie charts, bar charts, line charts, data tables, text blocks. Describe what you want to see.
Edit .cursor/mcp.json or update it in Cursor Settings. Swap the old key for the new one in the Authorization header.
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.
1. Get a trial key (no auth, no signup)
curl -X POST https://sutrena.com/api/trial2. 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}'Get a trial API key instantly with no signup, or create an account for the full experience.