Deploy from your AI agent

Deploy a site from Cursor

Built a site in Cursor? Publish it without leaving the editor. Connect Layero in one click and the agent deploys the project and sends you the link.

What the agent does with Layero

Once connected, the agent handles the site the way you would in the dashboard: deploys, reads logs, rolls back.

Publishes the project folder

No Git needed. The agent uploads the source, Layero detects the framework, builds the project on servers in Russia and gives you an address on layero.app.

Works with your repository

If the project is connected to GitHub, GitVerse or GitLab, the agent deploys by pushing: any branch gives a preview, the main branch updates the live site.

Investigates failed builds

The agent reads Layero logs and diagnostics, finds the cause, fixes the code and runs the build again.

Keeps the site running

Rolls back a bad deploy, connects your domain, sets environment variables and shows visit statistics.

How to connect

Three steps. The first two you do once.

Install Layero in Cursor

Click the button and Cursor offers to add the Layero MCP server. Or run the first command in the terminal; if it asks which editor to set up, choose Cursor. Run the second command either way: it installs the skill with agent instructions. The layero server then appears in Cursor settings under MCP.

Add to Cursor

npx -y add-mcp https://mcp.layero.ru/mcp
npx skills add LayeroInfra/layero-agents

Sign in

The first time the agent needs your account, Cursor offers to sign in to Layero in the browser. Sign in with email or Yandex; no separate registration is needed.

Never paste passwords or tokens into the chat.

Ask the agent to deploy

Open the project folder and tell the agent in plain words, for example:

Deploy this project to Layero and send me the site link.

When the build finishes, the agent sends you the site address. Deploying again updates the same site.

What else you can ask

Once the site is on Layero, the agent keeps working with it on request.

Why did the last Layero build fail? Find the cause and fix it.
Roll the site back to the previous version.
Connect example.ru to the site and tell me which DNS records to add.
How many people visited the site this week?

Try a ready-made example

No project at hand? Download a single-page HTML example and publish it from the agent’s terminal or your own.

mkdir layero-demo && cd layero-demo
curl -fsS https://layero.ru/examples/agent-deploy/index.html -o index.html
npx layero@latest deploy

On the first run the command asks you to sign in through the browser and prints the site address at the end. Here is the result:

What you can publish

Supported

  • Static sites and SPAs: HTML, Vite, React, Astro
  • Next.js and Nuxt with server-side rendering
  • Node.js and Python servers, Streamlit, Gradio
  • Monorepos: tell the agent which app folder to use

Good to know

  • On the free plan the site lives on a layero.app subdomain and is not indexed by search engines
  • A custom domain and indexing come with Pro, 990 ₽/month, first 14 days free
  • Without an account the agent can publish a static site for one hour only
  • Secrets go into project settings, not into site files

FAQ

Do I need a Git repository?
No. The agent publishes the project folder directly. If a repository is already connected to Layero, the agent deploys by pushing; otherwise your next push to the repository would overwrite the version it published.
How much does it cost?
Connecting the agent is free. The Free plan includes up to 5 projects and 100 builds a month. Pro costs 990 ₽/month or 9,480 ₽/year. Your Cursor subscription is billed separately.
How do I connect Layero through a config file?
Add a layero server with the URL https://mcp.layero.ru/mcp to .cursor/mcp.json, keeping other servers. Do not put a token in the file: sign-in happens in the browser.
MCP is connected but the project does not deploy
Projects that need a build (Vite, Next.js, server apps) are deployed through the terminal with npx layero@latest deploy. Make sure the agent may use the terminal in Cursor settings.

Publish your site from Cursor in a couple of minutes

Free plan available. Servers in Russia, payment in rubles.