Guide

Publish a site from Cursor.

You generated a static site in Cursor. Add Just Publish as an MCP server in Cursor's settings and ask the agent to publish — the live URL appears in the chat.

01

Add the MCP endpoint to Cursor

Open Cursor → Settings → MCP → Add new server. Either paste the JSON below or enter the URL directly.

{
  "mcpServers": {
    "just-publish": {
      "url": "https://mcp.justpublish.ai/"
    }
  }
}
02

Ask Cursor to publish

In any conversation, paste a prompt like:

Publish the contents of ./dist to Just Publish and give me the URL.

Cursor calls the deploy tool with your files. The first time, it'll ask for your email — used only so you can recover the site later.

03

Get your URL back in the chat

Cursor returns a URL like https://xK3p9wnA2b.just-web-hosting.com/. The site is live the moment it responds — share it with anyone.

To update the site later, tell Cursor "update the site at <URL> with these new files". Cursor remembers the edit token from earlier in the conversation; the update happens in place.

What you can publish

Static files only — HTML, CSS, JS, images, fonts. There's no build step, no SSR. Frameworks that produce a static export (Astro, Eleventy, Hugo, Next.js export, Vite) work because they output static files. Max site size 50 MB, max single file 5 MB, index.html at the root required.

Next