Recipes
Deploy a Site in 60s with Cursor + deplo.sh
Use Cursor's AI agent with the deplo.sh MCP server to build and deploy a site without leaving your editor.
Go from an idea to a live URL in under 60 seconds — entirely inside Cursor.
Prerequisites
- Cursor installed
- A deplo.sh account with an API key (get one here)
Step 1: Add the deplo.sh MCP server to Cursor
Open Cursor's MCP settings and add:
{
"deplo": {
"url": "https://mcp.deplo.sh",
"env": {
"DEPLO_KEY": "sk_live_xxxxxxxxxxxxxxxx"
}
}
}That's the only setup. No npm install, no CLI, no config files.
Step 2: Ask Cursor to build and deploy
Open Cursor's AI chat and type:
Build a landing page for a coffee shop called "Bean Counter" with a hero section, menu, and contact info. Then deploy it to deplo.sh.
Cursor will:
- Generate the HTML/CSS/JS files
- Call the
deployMCP tool automatically - Return the live URL
Step 3: Iterate
Ask Cursor to make changes:
Change the hero background to dark brown and add a "Order Online" button. Redeploy.
Each redeployment creates a new version. You can roll back to any previous version at any time.
What happened under the hood
You typed a prompt
→ Cursor generated HTML
→ Cursor called MCP tool: deploy({ files: [...], project: "bean-counter" })
→ deplo.sh uploaded files to Cloudflare R2
→ deplo.sh returned https://bean-counter.deplo.sh
→ You got a live URL in < 5 secondsNo Git push. No build pipeline. No Vercel dashboard. No DNS config.
Tips
- Set a TTL — for prototypes, ask Cursor: "deploy with a 7-day TTL" so it auto-expires
- Use a project name — consistent project names mean a stable URL across redeployments
- Deploy directories — Cursor can generate multi-file sites (HTML + CSS + JS) and deploy them as a
static_site - JSON APIs — ask Cursor to deploy JSON data as a live API endpoint
What's next?
- MCP Server reference — all available MCP tools
- Deploy from Claude Desktop — same workflow, different AI host
- Ship a JSON mock API — deploy data, not just pages
- Quickstart — CLI-based deployment