Docs

Connect Just Publish to Cursor

Connect Just Publish to Cursor so it can publish the static site you're working on and hand you a live link — right from the editor.

← All ways to connect

Connect in a couple of minutes

  1. Open Cursor's MCP settings
    In Cursor, go to Settings → Tools & MCP and choose “New MCP Server”. That opens your mcp.json (global at ~/.cursor/mcp.json, or per-project at .cursor/mcp.json).
  2. Add Just Publish as a remote server
    Paste the configuration below (Cursor recommends Streamable HTTP for remote servers — that's what Just Publish uses). Save the file.
  3. Confirm it connected
    Back in Settings → Tools & MCP, Just Publish should show its tools. If it doesn't, open the Output panel and pick “MCP” to see the connection log.

Verified against Cursor MCP docs. Client menus can change — if a label looks different, look for the connector / MCP settings and add the URL https://mcp.justpublish.ai/.

Configuration

Paste into mcp.json Cursor
{
  "mcpServers": {
    "just-publish": {
      "url": "https://mcp.justpublish.ai/"
    }
  }
}

Try it

Once connected, ask Cursor:

Test prompt Cursor
Publish this site and give me the live link.

The tools Cursor gets

Just Publish exposes three tools — nothing else:

ToolWhat it does
deploy
Publish a website
Send the static files (HTML, CSS, JS, images) and get back a live URL, a site_id, and an edit_token. A later deploy with the same site_id + edit_token replaces the whole site.
get_site_files
Read a published site's files
Read the current files of a published site (with its version), so the assistant can see what's live before changing it.
update_site_file
Edit specific files of a published site
Change one or a few files on an existing site without re-sending the whole thing — the merge never deletes the files you leave out.

A first deploy creates the site and returns an edit_token; keep it — it's how Cursor edits the site later with update_site_file (or replaces it with another deploy).

When to use it — and when not

Good fit

You're building a static site in Cursor (HTML/CSS/JS/images) and want to put it online without leaving the editor or setting up hosting.

Not a fit

Your project needs a server, database, login, or a build step to run — Just Publish serves static files only.

If something's off

Limits

Just Publish serves static sites only — HTML, CSS, JavaScript, images, and fonts. No servers, databases, logins, or build steps. Sites go live at a shareable URL, and you can connect your own custom domain when you're ready.