AI & publishing

Publish a site from Cursor's agent, no terminal command needed

17 September 2026 · 3 min read

Cursor already writes real files to your machine when its agent builds a site, so publishing doesn't have to mean copying a folder into a hosting dashboard or running a deploy command. Connect MakeMySiteLive's hosted MCP server once, and the same agent that wrote the site can publish it too, straight from the chat you're already in. Here's how that path works, and when the terminal is still the better call.

Two ways to publish from Cursor

Cursor gives you two separate paths to a live URL, and they're not competing with each other so much as suited to different moments. The CLI (mmsl deploy) is a single terminal command that takes a folder or a ZIP and returns a live link — fast, scriptable, and the natural fit if you're already in a terminal or wiring up CI. The MCP connector skips the terminal entirely: you ask Cursor's agent to publish, in plain language, and it runs the same deploy on your behalf, in the same chat where it wrote the code.

Connect the MCP server once

Setup lives under Customize → MCPs in Cursor (it moved out of Settings), and it's a one-time step. Add an entry for makemysitelive under mcpServers pointing at MakeMySiteLive's connector URL, save the file, then authenticate when Cursor flags the new server as needing attention — that's a normal OAuth sign-in to your own MakeMySiteLive account, and the agent only ever acts as you, within your plan.

The full click-by-click walkthrough, with screenshots of the actual Customize → MCPs flow, is in the setup guide.

Publish by asking, not typing a command

Once it's connected, there's no deploy command to remember. Ask Cursor to “publish this folder as a live site” or “create a site called my-demo and deploy this build,” and the agent checks the subdomain, runs the deploy, and hands back the live yourname.makemysitelive.com URL in the same reply — the chat where the site got built is also where it goes live.

What the agent can do beyond the first deploy

The same connection covers more than the initial publish. Ask it to list your sites, roll back to a previous version after a bad deploy, check whether a subdomain is free before you commit to a name, or turn on password protection for a Pro site — all without opening the dashboard or a terminal.

When the CLI is still the better fit

MCP is built for an interactive chat session, not an unattended one. A CI pipeline, a scheduled job, or any deploy that needs to run without a human approving each step is still the CLI's job, with an API key as a secret environment variable instead of an OAuth sign-in. Use whichever matches where the deploy is actually happening: MCP inside the editor, the CLI anywhere a script runs unattended.

Key takeaways

  • ✓Cursor's MCP connector lets the agent publish a site it just built, without a terminal command.
  • ✓Setup is one-time: add the connector under Customize → MCPs, authenticate, done.
  • ✓The agent can also list sites, roll back versions, check subdomain availability, and toggle password protection.
  • ✓CI/CD and unattended deploys are still the CLI's job — MCP is built for interactive chat sessions.

Frequently asked questions

Do I need the CLI installed to use the MCP connector?

No. The MCP connector doesn't need anything installed — it's one URL added to Cursor's mcp.json. The CLI is a separate, optional path for scripted or CI deploys.

Can the agent overwrite my site by mistake?

Each deploy still goes through MakeMySiteLive's own versioning, so a full-site publish through MCP creates a new immutable version and can be rolled back the same way any other deploy can. You can also set MCP tools to require approval before running.

Does this work the same way in Claude and ChatGPT?

Yes — all three connect to the same MCP server and connector URL. Cursor puts the setting under Customize → MCPs, Claude under Customize → Connectors, and ChatGPT under Settings → Plugins; the underlying tools are identical.

What if I want to publish without giving the agent write access?

Set the write tools (create, deploy, rollback, delete) to require approval when you connect the server, so nothing publishes without you confirming it first, while read actions like listing sites still work automatically.

Share this article

Keep reading

More from the blog

Ready to go live?

Create a free account and publish your first site in 2 minutes.

Get started free