deloc

How to Deploy a Cursor Project

· Deloc

You built something in Cursor. It runs on localhost:5173. A teammate asks for a link and you realize there’s nowhere to send them.

Here is how to deploy a Cursor project to a real URL in under a minute.

Deploy from Cursor chat

Add Deloc to your Cursor MCP config. Open or create ~/.cursor/mcp.json and add:

{
  "mcpServers": {
    "deloc": {
      "command": "npx",
      "args": ["-y", "@deloc/mcp"]
    }
  }
}

Restart Cursor. Then in any chat or Composer session, say:

“Deploy this to Deloc.”

Cursor deploying a project to Deloc via the MCP server

Cursor calls the Deloc MCP server, builds the project, uploads it, and prints a live URL right in the chat. The link is on your clipboard.

Prefer the terminal? Same outcome, one command:

npx @deloc/cli deploy

What just happened

Deloc detected your framework, ran the build, uploaded the output to a CDN, and gave you a URL. The whole thing takes about 30 seconds.

The link works on any device. No Git push, no CI/CD pipeline, no server. Drop it in Slack and you’re done.

The first deploy opens a browser tab to sign in. Every deploy after that is one prompt or one command.

Three things you probably want next

Password protect it. Tell Cursor “password protect my Deloc app,” or run npx @deloc/cli password your-app-name from the terminal.

Keep the data fresh. If your project pulls live numbers from an API or warehouse, wire up auto-refresh so the data updates without a redeploy. See Build an Auto-Refreshing Dashboard with React, BigQuery, and Deloc.

Update it later. Make changes in Cursor, redeploy. Same URL, new content. Anyone with the link gets the new version on refresh.

Get off localhost

Free tier covers three live apps with no credit card. See pricing for everything else.

Start deploying at deloc.dev.

Also read

← Back to blog