Deploy from Claude Desktop — Zero Config
Give Claude the ability to deploy files, sites, and APIs to a live URL using the deplo.sh MCP server.
Claude Desktop supports MCP (Model Context Protocol) tools natively. Add one URL to your config, and Claude can deploy the HTML files, static sites, and JSON APIs it generates to a live public URL.
Prerequisites
- Claude Desktop installed
- A deplo.sh API key (get one here)
Step 1: Add the MCP server
Open ~/.config/claude/claude_desktop_config.json (or create it) and add:
{
"mcpServers": {
"deplo": {
"url": "https://mcp.deplo.sh",
"env": {
"DEPLO_KEY": "sk_live_xxxxxxxxxxxxxxxx"
}
}
}
}Restart Claude Desktop. You'll see "deplo" in the MCP tools list.
Step 2: Deploy something
Try these prompts:
Deploy an HTML report
Analyze the following sales data and create a beautiful HTML report with charts. Deploy it to deplo.sh so I can share it with my team.
Q1: $120k, Q2: $145k, Q3: $98k, Q4: $167k
Claude will generate the HTML and call deploy automatically. You'll get back a URL like https://sales-report.deplo.sh.
Deploy a dashboard
Build an interactive dashboard that shows server uptime metrics. Use this data: [paste data]. Deploy it as a static site.
Deploy a JSON API
Create a mock API with 20 sample user records (name, email, role). Deploy it as a JSON API so my frontend team can start building against it.
Claude will deploy the JSON and you'll get a URL that returns the data when accessed via GET.
Step 3: Manage deployments
You can also ask Claude to manage your projects:
List all my deplo.sh projects.
Roll back "sales-report" to the previous version.
Delete the "test-page" project.
All project management is available as MCP tools — no dashboard needed.
Example conversation
You: Build a portfolio site for a photographer named Alex. Include a grid of
placeholder images, an about section, and contact form. Deploy it.
Claude: I'll create a photography portfolio site and deploy it for you.
[generates HTML/CSS/JS]
[calls deploy tool]
✓ Your site is live at https://alex-portfolio.deplo.sh
The site includes:
- Responsive image grid with lightbox
- About section with bio placeholder
- Contact form (frontend only)
Want me to make any changes?
You: Add a dark mode toggle and redeploy.
Claude: [updates code, calls deploy]
✓ Redeployed to https://alex-portfolio.deplo.sh (version 2)Tips
- Ephemeral deploys — say "deploy with a 24-hour TTL" for temporary sharing
- Stable URLs — use a consistent project name and the URL stays the same across deploys
- Rollbacks — ask Claude to "roll back to version 1" if the latest deploy isn't right
- Multiple files — Claude can generate multi-file sites with HTML, CSS, and JS
What's next?
- MCP Server reference — all available MCP tools and configuration options
- Deploy with Cursor — same workflow in your code editor
- Ship a JSON mock API — deploy data endpoints
- Core Concepts — understand projects, deployments, and TTL
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.
Ship a JSON Mock API in 30 Seconds
Deploy a JSON file as a live REST endpoint using deplo.sh — perfect for frontend prototyping and agent-to-agent data sharing.