Cursor with preset AI
Generate and edit UI in Cursor while preserving preset AI alignment by default.
Setup
In Cursor, open Settings → MCP and add:
{
"mcpServers": {
"preset": {
"url": "https://mcp.presetai.dev/mcp",
"type": "http"
}
}
}
OAuth runs on first request. Verify MCP server connectivity before coding sessions. The full per-tool install matrix lives in Connect an AI coding tool.
Recommended Cursor workflow
Four steps per task:
- Discover context first: ask Cursor to fetch relevant presets, patterns, and token guidance; retrieve active constraints for the target task
- Generate within constraints: request intent-based outputs using approved preset names; avoid raw style values and ad-hoc component decisions
- Validate and iterate: run drift and validation checks after generation; apply suggested fixes before finalizing
- Govern writes: for canonical system changes, route through the proposal lifecycle; avoid direct apply in stricter compliance modes without approvals
Prompting template
Use a constrained prompt shape:
- task intent
- target file or surface
- required system artifacts
- validation requirement before final answer
Example:
Implement a settings form using existing presets and semantic tokens. Validate for drift and compliance and show required fixes before final code.
Common mistakes
- generating from generic framework defaults without a preset AI lookup
- accepting output without a validation pass
- hardcoding token-like values in component code
Team policy
For teams using Cursor heavily:
- enforce PR drift checks
- require a proposal trail for system-level artifact changes
- review recurring violations to improve rules and guidance
Last reviewed by @jschuyler