Use Sutrena with Claude

The web runtime for Claude. Deploy pages, create forms, track analytics.

Updated March 2026

Claude supports MCP, which means it can call Sutrena's API directly. Add Sutrena as an MCP server, and you can ask Claude to create forms, deploy pages, track analytics, manage webhooks -- all through conversation. No curl commands to write yourself. Framework-agnostic web runtime in one conversation.

Setup

1. Get a Sutrena API key

No signup needed. Grab a trial key, or use one from your dashboard.

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

# Response: { "data": { "key": "st_trial_xxx", ... } }

2. Add the MCP server to Claude Code

Run this in your terminal. Claude Code picks up the tools automatically.

claude mcp add sutrena \
  --transport streamable-http \
  --url https://sutrena.com/api/mcp \
  --header "Authorization: Bearer st_trial_xxx"

3. Add to Claude Desktop (alternative)

If you use Claude Desktop instead, add it to your config file.

// ~/Library/Application Support/Claude/claude_desktop_config.json
// (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows)
{
  "mcpServers": {
    "sutrena": {
      "transport": "streamable-http",
      "url": "https://sutrena.com/api/mcp",
      "headers": {
        "Authorization": "Bearer st_trial_xxx"
      }
    }
  }
}

4. Create forms through conversation

Just ask. Claude calls the MCP tools and does it.

# Example prompts:

"Create a waitlist form with name and email fields"

"Build a customer feedback form with a 1-5 rating,
category dropdown, and comments field"

"Create a Slack webhook for the feedback form and
point it at https://hooks.slack.com/services/T00/B00/xxx"

"Show me the last 20 submissions for the waitlist form"

5. Available MCP tools

67 tools covering the full API. Forms, webhooks, submissions, analytics, CSV export -- everything.

# Tools available to Claude via MCP:

# Compound (multi-primitive shortcuts)
sutrena_launch               # Deploy page + analytics in one call
sutrena_collect              # Create form + webhooks
sutrena_status               # Account snapshot (usage, resources)

# Pages
sutrena_create_page          # Create a new page
sutrena_update_page          # Update page HTML/CSS/title
sutrena_list_pages           # List all pages
sutrena_get_page             # Get page content by ID
sutrena_delete_page          # Delete a page
sutrena_rollback_page        # Rollback to previous version

# Forms
sutrena_create_form          # Create a new form
sutrena_update_form          # Update form fields/settings
sutrena_list_forms           # List all forms with stats
sutrena_get_form             # Get form config by ID
sutrena_delete_form          # Delete a form

# Submissions
sutrena_search_submissions   # Search/filter submissions
sutrena_upsert_submission    # Insert or update by externalId
sutrena_update_submission    # Partial update a submission
sutrena_delete_submissions   # GDPR delete by email
sutrena_export_csv           # Export submissions as CSV

# Analytics
sutrena_create_analytics_site  # Create analytics site
sutrena_list_analytics_sites   # List analytics sites
sutrena_delete_analytics_site  # Delete analytics site
sutrena_track_event            # Track a custom event
sutrena_analytics_query        # Query metrics + breakdowns
sutrena_analytics_funnel       # Conversion funnel analysis
sutrena_analytics_retention    # Cohort retention analysis

# Webhooks
sutrena_create_webhook       # Create a webhook
sutrena_update_webhook       # Update webhook config
sutrena_get_webhook          # Get webhook details
sutrena_list_webhooks        # List webhooks
sutrena_delete_webhook       # Delete a webhook
sutrena_test_webhook         # Test a webhook
sutrena_get_webhook_deliveries # View delivery logs

# Automations
sutrena_create_automation    # Create automation pipeline
sutrena_list_automations     # List automations
sutrena_get_automation       # Get automation details
sutrena_update_automation    # Update automation
sutrena_delete_automation    # Delete automation
sutrena_test_automation      # Test run automation

# Page Assets
sutrena_upload_page_assets   # Batch presign asset uploads
sutrena_list_page_assets     # List uploaded assets
sutrena_delete_page_asset    # Delete an asset

# Deploy
sutrena_deploy_site          # Presign zip upload
sutrena_deploy_site_process  # Process and deploy zip

# Account & Organization
sutrena_get_account          # Account info + plan
sutrena_check_usage          # Usage and quotas
sutrena_set_subdomain        # Set subdomain name
sutrena_get_subdomain        # Get current subdomain
sutrena_list_subdomains      # List all subdomains
sutrena_create_subdomain     # Create new subdomain
sutrena_delete_subdomain     # Delete a subdomain
sutrena_add_custom_domain    # Add custom domain
sutrena_list_custom_domains  # List custom domains
sutrena_update_custom_domain # Re-point custom domain
sutrena_delete_custom_domain # Remove custom domain
sutrena_create_folder        # Create a folder
sutrena_list_folders         # List folders
sutrena_update_folder        # Update folder
sutrena_delete_folder        # Delete folder
sutrena_organize_folder      # Move resources into folder

FAQ

What is MCP?

Model Context Protocol. It's an open standard that lets AI assistants call external tools. So instead of Claude generating curl commands for you to copy-paste, it just calls the API itself and shows you the result.

Does this work with Claude Pro and Claude Team?

MCP works in Claude Code and Claude Desktop. Both work with Pro and Team subscriptions. The free tier supports MCP in Claude Code too.

Is my API key secure when used with MCP?

The key stays in your local config file and only gets sent to Sutrena's server. Claude the model never sees the raw key. The MCP transport handles auth.

Can I use a trial key with MCP?

Yes. Same limits as the free plan -- 10 projects, 100 submissions per form, 1 webhook. MCP is included on every plan.

What is Sutrena?

Sutrena is the web runtime for AI agents. Forms, Pages, Analytics, Webhooks, Automations — all through 67 MCP tools and one REST API. Your agent creates web artifacts, humans interact with them, and your agent gets the data back. Use any one feature or all of them together.

Pages

Deploy HTML instantly

Forms

Collect structured data

Automations

DSL-based pipelines with 14 step types

Analytics

Privacy-first, no cookies

Webhooks

Slack, Discord, Telegram

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 anything — a page, form, automation, or analytics site

# Create a form
curl -X POST https://sutrena.com/api/forms \
  -H "Authorization: Bearer st_trial_xxx" \
  -H "Content-Type: application/json" \
  -d '{"name": "waitlist", "fields": [{"name": "email", "label": "Email", "type": "email", "required": true}]}'

# Or deploy a page
curl -X POST https://sutrena.com/api/pages \
  -H "Authorization: Bearer st_trial_xxx" \
  -H "Content-Type: application/json" \
  -d '{"slug": "index", "title": "My Site", "html": "<h1>Live</h1>"}'

Ready to build?

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

Claude Integration -- Use Sutrena with Claude MCP | Sutrena | Sutrena