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
Two ways in
Paste one line, or connect the server
Both use a token for one site. Pick whichever your assistant can do.
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.
Publish my site to Lemonade Host (site: <subdomain>). Run: npx lemonade-host login, then npx lemonade-host deploy
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.
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.
- Run the command in your terminal, with your token in place of
lm_.... - Open Claude Code in your project folder.
- Ask: deploy this folder to my Lemonade Host site.
claude mcp add --transport http lemonade-host https://app.lemonadehost.com/api/mcp \ --header "Authorization: Bearer lm_..."
- Open Settings > Developer > Edit Config.
- Add
lemonade-hostinsidemcpServers, with your token. - Restart Claude Desktop, then ask it to deploy.
{
"mcpServers": {
"lemonade-host": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://app.lemonadehost.com/api/mcp",
"--header", "Authorization: Bearer lm_..."
]
}
}
}- Open
~/.cursor/mcp.json. - Add
lemonade-hostinsidemcpServers, with your token. - Ask the agent to deploy your build folder.
{
"mcpServers": {
"lemonade-host": {
"url": "https://app.lemonadehost.com/api/mcp",
"headers": { "Authorization": "Bearer lm_..." }
}
}
}- Open
~/.codex/config.toml. - Add both tables, with your token in the header.
- Ask Codex to deploy your build folder.
[mcp_servers.lemonade-host] url = "https://app.lemonadehost.com/api/mcp" [mcp_servers.lemonade-host.http_headers] 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.
| Tool | What it does | Permission |
|---|---|---|
list_sites | The site this token reaches: its address, status and permissions. | Read |
get_site_files | The live files, as text, so a change starts from what is there. | Read |
deploy_site | Publishes files. Replaces everything that is live. | Publish |
get_deploy_status | Recent releases, each with a dp_... id. | Read |
restore_release | Puts an earlier release back, from the last 7 days. | Roll back if ticked |
trash_site | Takes 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.
On every site
Everything a deploy lands on
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.
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.