MCP integration — Cursor
Add Motivation Form to Cursor so AI features can create, deploy, and query forms in your project.
Motivation Form lets AI agents create forms, surveys, and quizzes from prompts or API calls, then deploy them as live public pages.
This guide covers adding Motivation Form as an MCP server in Cursor.
Prerequisites
- Cursor 0.43 or later (MCP support requires the Cursor agent panel)
- A Motivation Form API key — get one from your dashboard
1. Add the MCP server
Create or edit .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for a global config):
{
"mcpServers": {
"motivation-form": {
"url": "https://app.form.gold/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Replace YOUR_API_KEY with your actual key.
Restart Cursor after saving the file.
2. Verify the connection
Open the Cursor agent panel (⌘K or Ctrl+K) and ask:
List my Motivation Form formsYou should see [Using list_forms] and a list of your forms (or a "no forms" message if you haven't deployed any yet).
Example usage
Create and deploy a form from the editor
> Create an intake form for partnership enquiries — collect company name,
contact email, partnership type (Technology / Distribution / Reseller),
and a notes field. Notify me at you@example.com.
[Using create_form]
[Using deploy_form]
→ Live at https://form.gold/acme/partnership-intakeCheck responses inline
> How many responses did the partnership-intake form receive this week?
[Using get_form_stats({ form_slug: "partnership-intake", period: "7d" })]
→ 12 responses, 89 views, 13.5% completion rateAvailable MCP tools
See the Claude Code guide for the full tool list — all 12 tools work identically in Cursor.
Global vs. project config
| Location | Scope |
|---|---|
.cursor/mcp.json in project | Only available when that project is open |
~/.cursor/mcp.json | Available in all Cursor projects |
Use the project-level config if different projects use different API keys.