Anysphere
Set up Doorman with Cursor
AI code editor built on VS Code, with an agent that edits across files and runs commands. Runs in: Desktop editor.
-
Paste this prompt into Cursor
Open your site's project and paste it. It works on its own: your agent reads /llms.txt, signs you up and wires your forms over plain HTTP.
Add Doorman spam protection to this project's forms. Follow https://withdoorman.com/llms.txt. Ask me which email should receive real submissions before signing up.
-
Optional: add Doorman's MCP server
Gives Cursor Doorman's tools directly: sign up, configure forms, get install code, run tests and review held submissions. Add it in
.cursor/mcp.json:{ "mcpServers": { "doorman": { "url": "https://withdoorman.com/mcp", "headers": { "Authorization": "Bearer ${env:DOORMAN_KEY}" } } } }MCP config formats change between versions of Cursor. If this doesn't connect, check its MCP docs; the prompt above works either way.
-
Answer one question
Your agent asks which email should receive real submissions, then creates the account, wires the form, stores the key in
.envand runs one genuine and one spam test. Confirm your email from the link we send you.