Now open - put your site online for 99¢ a month. Get started
Home/Deploying/MCP server
MCP server For AI assistants

Built It in a Chat? Let Your AI ship it.

Connect the Lemonade Host MCP server once. Your assistant reads what is live, publishes the new files and hands you the address, with a token that reaches one site and nothing else.

  • Six tools
  • One site per token
  • Restore for 7 days
Claude Code · Claude Desktop · Cursor · CodexSame token as the CLI
6
tools, nothing hidden
1 site
per token
7 days
to restore any release
30 days
to bring back a trashed site
0
tools that touch billing

Two ways in

Paste one line, or connect the server

Both use a token for one site. Pick whichever your assistant can do.

Easiest

Paste one line into any chat that runs commands

Developers > AI assistant gives you this line. The assistant runs the login, shows you a code, and you approve it in your browser for one site. A chat that cannot run commands can have a zip uploaded instead.

paste into your chat
Publish my site to Lemonade Host (site: <subdomain>). Run: npx lemonade-host login, then npx lemonade-host deploy
MCP server

Give your assistant the six tools

Add the server once and the assistant works on your site directly: read it, publish it, check the release, put one back. JSON-RPC over HTTP, authorized with your deploy token.

https://app.lemonadehost.com/api/mcpAuthorization: Bearer lm_...

Setup

Your assistant, one snippet

Make a token under Developers > Tokens, then paste it where it says lm_.... The same snippets are in your dashboard under Developers.

Setup guide
  1. Run the command in your terminal, with your token in place of lm_....
  2. Open Claude Code in your project folder.
  3. Ask: deploy this folder to my Lemonade Host site.
terminal
claude mcp add --transport http lemonade-host https://app.lemonadehost.com/api/mcp \
  --header "Authorization: Bearer lm_..."

The tools

Six tools, and that's the whole surface

Every token can read and publish. Rolling back and trashing stay off unless you tick them when you make the token.

ToolWhat it doesPermission
list_sitesThe site this token reaches: its address, status and permissions.Read
get_site_filesThe live files, as text, so a change starts from what is there.Read
deploy_sitePublishes files. Replaces everything that is live.Publish
get_deploy_statusRecent releases, each with a dp_... id.Read
restore_releasePuts an earlier release back, from the last 7 days.Roll back if ticked
trash_siteTakes the site offline. confirm must equal the site's exact subdomain.Trash if ticked

Safety

Safe to hand to an agent

An assistant that can publish is useful. One that could spend your money is not, so the token simply doesn't reach that far.

One site per token

A token reaches the site it was made for. No billing, no account, no other site, and no way to create a new one.

Read before replace

deploy_site replaces everything, so the assistant reads the live files with get_site_files first.

7-day restore

Every deploy is a release. restore_release puts any of the last 7 days back, when you allow it.

Guarded trash

Off unless ticked, and it needs the exact subdomain typed. Restorable from the dashboard for 30 days.

No billingNo account settingsNo other sitesNo new sitesNo token, no access

On every site

Everything a deploy lands on

What every site includes

One account, every route

Every route lands in one account

Let an assistant publish this site, deploy the next one from your terminal, or start from a template in the editor. Same account, same dashboard, and the Lemonade Apps when a site needs more.

Questions

What people ask about MCP

Step by step in the connect the MCP server guide.

Which assistants work with it?

Any assistant that speaks MCP. The dashboard gives ready setups for Claude Code, Claude Desktop, Cursor and Codex. A chat that can run commands can also use the one-line prompt, which runs the CLI, and a chat that cannot run commands can have a zip uploaded instead.

Can the assistant see my other sites or my billing?

No. A token reaches one site and nothing else: no billing, no account settings, no other site. Requests without a token get a 401.

Can it create a new site?

No. There is no account-level token, so an assistant can only work on the site its token was made for. You create sites in the dashboard.

What if it publishes something wrong?

Every deploy is a release. With the Roll back permission ticked, restore_release puts any release from the last 7 days back. And because deploy_site replaces everything, the assistant reads the live files with get_site_files first.

Can it delete my site?

Only if you tick the Trash permission, and even then trash_site needs the site's exact subdomain typed as confirmation. Trash is a soft delete: you can restore the site from the dashboard for 30 days. Restoring is not an MCP tool.

How do I turn it off?

Revoke the token under Developers > Tokens. The assistant loses access straight away, and what is live stays live.

Let your assistant publish it

SSL, daily backups and version history on every site, for 99¢ a month. Cancel any time.

Deploy my site