---
title: "How to deploy a website from Cursor and share the link"
description: "Cursor's agent can host the page or prototype it built at name.cool.computer with one command, keep it private or public, and act on comments left on it."
canonical: "https://www.cool.computer/blog/deploy-website-from-cursor"
last_updated: "2026-11-20"
---
# How to deploy a website from Cursor and share the link

> Cursor's agent can host the page or prototype it built at name.cool.computer with one command, keep it private or public, and act on comments left on it.

To deploy a website from Cursor, give its agent the `cool` CLI and ask it to publish. It runs `cool publish ./dist --name my-site --visibility private`, and the site is live at `https://my-site.cool.computer`, open only to you and the people you invite. There is no hosting project to create and no repository to connect. It is free and needs no card.

## Steps

1. Paste this into Cursor's agent:

   ```text
   set up cool computers for me: follow https://cool.computer/setup.md and build me an artifact about the last thing i was working on, and annotate and draw on it once i'm signed up
   ```

   The agent installs `cool`, publishes a first page, then signs you up with your email and a six-digit code. [/setup](/setup) is the walk it follows.

2. Ask for what you want online, for example "host this prototype and keep it private". The agent builds the project if it needs a build, then publishes:

   ```sh
   cool publish ./dist --name my-site --visibility private
   ```

   One HTML file works too: `cool publish page.html --name my-site --visibility private`.

3. Share the link. A private site opens only for you and the people you invite by email:

   ```sh
   cool share add my-site ana@example.com
   ```

   `cool share public my-site` opens it to anyone with the link.

4. Ask for changes. The agent publishes to the same site, so the address stays the same:

   ```sh
   cool publish ./dist --computer my-site
   ```

### Connect it for good

To make Cool Computers part of every Cursor session, type this in Cursor's agent:

```text
/add-plugin cool-computers
```

The plugin is listed in [the Cursor Marketplace](https://cursor.com/marketplace/cool-computers). It adds the Cool Computers MCP server and a skill that teaches the agent when and how to publish. Cursor signs you in the first time it connects.

### Review on the page

People who can open the site pin comments to any element and draw on it. While the agent runs `cool comments watch my-site --agent "Cursor"`, each comment card has an Ask Cursor button. Press it to hand the comments to the agent, which makes the change, publishes again and resolves them. A designer or a client can react to the real page without opening Cursor.

## What it can host

- Static sites and framework builds: publish the output folder, such as `./dist`.
- Single-page apps: a `cool.json` with `{"spa": true}` serves `index.html` for every path that is not a file.
- A small backend: `functions` in `cool.json` adds an API under `/api` at the edge, with an optional database and secrets.
- A server, bot or scheduled job: an always-on Ubuntu VM at the same address, on Pro.

## Why and when to use it

Use it for the thing Cursor built this afternoon that someone else should see today: a prototype for a client, a dashboard for the team, a page to test an idea.

- The agent does the deploy: you stay in Cursor and get a URL back.
- Private or public: share by email, or with anyone who has the link.
- The same site from other tools: Claude Code, Codex or a chat app can publish to it too.

For a production app with preview deployments on every pull request, a Git-connected hosting provider is the better fit.

## Questions

### Can Cursor deploy a website?

Yes. Cursor's agent runs commands and calls MCP tools. With the `cool` CLI or the Cool Computers plugin it publishes the files and gives you the address.

### Where is a site built in Cursor hosted?

At `name.cool.computer`, with the name you choose, such as `bakery-menu.cool.computer`. You can add your own domain with `cool domain set my-site app.example.com`.

### Is it free to host a Cursor project?

Yes. Free holds up to 20 sites at once with no card. Pro, USD 20 a month, lifts that limit and adds VMs. See [pricing](/pricing).

### Do the people I share it with need Cursor?

No. They open a link in a browser. For a private site they sign in with the email address you invited.

### Can I deploy without creating an account?

Yes. The agent can publish with no account: the site is public and you get a claim link. Sign in within 24 hours to keep it.

More on [the Cursor page](/cursor), and the same steps for other agents in [this post](/blog/ai-agent-publish-website).
