lobsite! Sign in Sign up
Lobsite Cursor

Lobsite MCP server for Cursor

Deploy a website from Cursor

Point Cursor at the Lobsite MCP server, and its agent publishes, updates and rolls back sites as tools. No command to approve, nothing to install. Free to try.

  • Nothing to install
  • No command to approve
  • No account to try

1Add to .cursor/mcp.jsonRecommended

{ "mcpServers": { "lobsite": { "url": "https://mcp.lobsite.com" } } }

Cursor's agent gets Lobsite's tools in every chat. Nothing to install.

2Then just ask Cursor's agent

Deploy the dist folder
lobsite · deploy_files ✓
It's live at quiet-fox-4821.lobsite.app. It's removed in 6 hours unless you keep it: lobsite.com/claim/quiet-fox-4821

Cursor's agent can build your website. Lobsite puts it online and gives you a link to share.

Connect Cursor to Lobsite once, then ask the agent to deploy. It comes back with a live address and a link that keeps the site, for free. There's nothing to install and no account to create.

How to deploy from Cursor in 3 steps

  1. Add the Lobsite MCP server

    To .cursor/mcp.json: one entry with the URL https://mcp.lobsite.com. Nothing to install.

  2. Ask the agent to deploy

    In Agent mode. It builds the project, then publishes the files with the deploy_files tool.

  3. The agent tells you the URL and the claim link

    The site lasts 6 hours; open the link and sign in to keep it at the same address.

Three ways to deploy from Cursor

Recommended

The Lobsite MCP server

Connect mcp.lobsite.com once. Cursor's agent deploys with a tool call, changes single files and sends up to 25 MB per deploy.

For the team

A project rule

Commit .cursor/rules/deploy.mdc, and every chat's agent deploys the same way, to the same site.

Large builds

One command

Cursor's agent runs npx lobsite, which uploads the build folder from disk and only sends the files that changed.

Why deploy from Cursor with Lobsite

Built for agents

No prompts under an agent, and a Tell the user: line with the URL and the claim link.

MCP server

Connect mcp.lobsite.com once, from any coding agent or chat assistant.

Only changed files upload

Files are stored by their hash. Redeploying an unchanged site uploads 0 bytes.

Every deploy gets a URL

Preview before going live. Roll back in one click, redirects and all.

Config in one file

Redirects, headers and forms live in lobsite.toml and travel with each deploy.

Limits you can read

Every limit is published, and every error tells you what to do next.

Connect Cursor to the Lobsite MCP server

Add the server to .cursor/mcp.json in the project (or to ~/.cursor/mcp.json for every project). In the Cursor app, Cursor Settings → MCP → Add new MCP server opens that global file for you:

{ "mcpServers": { "lobsite": { "url": "https://mcp.lobsite.com" } } }

Cursor then lists Lobsite's tools: deploy_files publishes files, up to 25 MB per deploy, and list_files, read_file and patch_files change one page of a site the agent deployed without sending the whole site again. The agent calls them instead of the terminal, so there's no command to approve. Connect your Lobsite account when Cursor asks you to sign in to the server, and the agent can also preview, promote and roll back the sites you've kept.

Add a Lobsite project rule to Cursor

Rules tell Cursor's agent how this project works. Save this as .cursor/rules/deploy.mdc:

---
description: How to deploy this site
alwaysApply: false
---

This site deploys with Lobsite. Build it, then publish the build folder with the
lobsite MCP server's deploy_files tool. For a large build, run from the project folder:

    npx lobsite

- Tell the user the URL and the claim link, and relay any "Tell the user:" line word for word.
- Pass the site and claim token from the first deploy with every later one, so the site
  keeps its address. Ask for a preview to deploy without changing the live site.
- If a deploy fails, follow the fix in the error message. Never pass --include-secrets.
- Forms need no backend: point a form at /_lobsite/forms/<name> with method="POST" and
  data-lobsite-type (contact, waitlist, survey or quiz). Read https://lobsite.com/docs/forms.md first.

With alwaysApply: false the agent reads it when the chat is about deploying. Commit it, so the whole team's agents deploy the same way.

Deploy large Cursor builds with the CLI

The MCP server takes the files' contents in the tool call, which suits pages and small sites. For a build with big assets, the agent runs npx lobsite in Cursor's terminal: it uploads the build folder from disk and only sends the files that changed. The CLI sees it's under Cursor (from the CURSOR_AGENT variable), so it never waits for an answer that wouldn't come, and prints plain lines. lobsite.toml remembers the site; commit it after the first deploy.

Cursor deploys: MCP server or terminal

Lobsite MCP server Terminal command
Set-up One URL in .cursor/mcp.json None
Needs Node No Yes
Approval in Cursor Per tool, the first time Each run, unless you allow the command
Best for Pages and small sites, up to 25 MB Large builds
Roll back, list deploys As tools, once your account is connected With more commands
Shared with the team Yes, if .cursor/mcp.json is committed Through the project rule

Both deploy to the same kind of site with the same claim link. Without Node, the agent can send a page with curl instead; see AI agents.

Cursor hosting FAQ

Does the agent get stuck on a prompt?

No. The MCP tools take no input from you, and under Cursor the CLI never asks anything either: a first deploy prints its summary and carries on, and anything that can't be undone needs --yes. That's why the command includes it.

Can it deploy to my account instead of a temporary site?

Yes. Connect your Lobsite account when Cursor asks you to sign in to the MCP server, or run npx lobsite login once in Cursor's terminal yourself for the CLI; both open a browser to sign in.

Which files does it upload?

Over the MCP server, the files the agent sends: the build output, usually. The CLI uploads the first of dist/, build/, out/, _site/ or public/, or the folder named in lobsite.toml, and secret files such as .env stop the deploy until they're ignored.

Does every deploy upload the whole site again?

No. Over the MCP server the agent can change single pages with patch_files. The CLI compares files by their hash and only uploads the ones that changed, so redeploying after a small change takes a moment.

Is there a Cursor extension?

No extension is needed: the MCP server and the CLI are the whole integration.

Let Cursor deploy your next site

One entry in .cursor/mcp.json. After that, deploying is one sentence.

See every way

Deploy from other AI agents besides Cursor