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.
Connect in a couple of minutes
- Open Cursor's MCP settings
In Cursor, go to Settings → Tools & MCP and choose “New MCP Server”. That opens yourmcp.json(global at~/.cursor/mcp.json, or per-project at.cursor/mcp.json). - 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. - 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
{
"mcpServers": {
"just-publish": {
"url": "https://mcp.justpublish.ai/"
}
}
}Try it
Once connected, ask Cursor:
Publish this site and give me the live link.
The tools Cursor gets
Just Publish exposes three tools — nothing else:
| Tool | What it does |
|---|---|
deployPublish 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_filesRead 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_fileEdit 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
- The server doesn't appear after saving mcp.json.
Check the JSON is valid (no trailing commas) and that the URL is exactly https://mcp.justpublish.ai/ — then reopen Settings → Tools & MCP. - Cursor asks for an API key or header.
None is needed — Just Publish's publish flow is unauthenticated. Leave headers out entirely.
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.