Layero

ru.layero/layero

Serveur MCP OK

Faire examiner Voir les tarifs

Deploy and operate sites on Layero — hosting with build servers in Russia: domains, env, Data API.

Fiche technique

Auteur
layero.ru (espace de noms du registre)
Dépôt
github.com/LayeroInfra/layero-agents
Site
docs.layero.ru/agents
Version
2.4.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://mcp.layero.ru/mcp Streamable HTTP
Outils
40
Catégories
—
Dernière mise à jour
19 sept. 2026
Publication
19 sept. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/ru.layero/layero.svg)](https://latlas.dev/mcp/ru.layero/layero)
HTML
<a href="https://latlas.dev/mcp/ru.layero/layero"><img src="https://latlas.dev/badge/fiche/ru.layero/layero.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://mcp.layero.ru/mcp
Dernier résultat
OK 28 nov. 2026, 09:29
Temps de réponse
3 291 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
layero 2.7.0
Outils
40

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:29OK3 291 ms40

Outils exposés (40, réponse à tools/list, 28 nov. 2026)

search_docs

Поиск по документации

Search docs.layero.ru — no token needed. Use it before guessing how the platform works: build settings and `layero.json`, environments and preview URLs, custom domains, env vars, runtime apps, Data API, CLI flags and JSON events. Returns the page title, a direct URL (with anchor) and a snippet; open the URL with your own fetch tool when the snippet is not enough. `score` is relative within one answer: a rare query word found in a page title weighs most, and a page matching every word ranks above one repeating a single word. The index is the site's own search index, refreshed hourly.

ParamètreTypeRequisDescription
querystringouiWhat to look for, in words: «environment variables», «layero.json node version», «rollback», «monorepo root directory». The docs are in Russian; both Russian and English queries work — common English platform terms are matched to their Russian counterparts.
limitintegernonHow many results to return, 1–20.

report_docs_issue

Сообщить об ошибке в документации

Send a report about a docs.layero.ru problem to Layero — no sign-in. When: a docs page (or `search_docs`) was wrong, outdated, or did NOT have what you needed — including when you then found the answer elsewhere (source code, `--help`, trial and error) — and it cost you a real detour likely to hit the next agent. Not for small hiccups solved at once. Ask first: finish the task, end your reply with the report and ask the user «Send this report to Layero?». Call this tool only after they say yes (or if they already allowed docs reports in this conversation). What is sent: only the page, a short quote and the problem with your evidence. NEVER include the user's code, data, secrets, tokens, file paths or project names. It is not a message on the user's behalf and changes nothing in their account. At most 1000 characters in total. Rules: https://docs.layero.ru/agents/feedback.md

ParamètreTypeRequisDescription
pagestringouiThe docs.layero.ru page that was wrong, with an anchor if the problem is in one section, e.g. https://docs.layero.ru/cli/install#login. "none" if no page covered what you needed.
problemstringouiWhat the page says versus what actually happened, and how you know.
quotestringnonThe shortest exact span from the page that shows the problem. If no page covered it — "Search: ".
evidencestringnonThe command or call you ran and what it returned.
workaroundstringnonWhat worked instead, or "none".
effectstringnonWhat it cost: failed commands, extra searches, minutes.

whoami

Кто подключён к Layero

Who is connected to Layero and how many projects they have. Call this first when you are unsure the token is configured: a clear error here is cheaper than one halfway through a deploy.

Aucun paramètre.

my_projects

Мои сайты

The user's sites on Layero. Thirty most recent by default. The full list is rarely needed, while flooding half your context with it is easy: an active user has dozens of projects. `url` is the canonical (production) address. `repo`, `branch` and `root_directory` say where the project is built from: all three are null for a project without a repository (CLI or `publish_site`); `root_directory` is the app folder inside a monorepo, null for the repository root.

ParamètreTypeRequisDescription
limitintegernonHow many of the most recent projects to return. The default of 30 is almost always enough; raise it (up to 100) only when the user is looking for an old site that is not in the list.
repostring | nullnonOnly projects built from this repository: `owner/repo` (case-insensitive; a full repository URL works too). Use it to see whether a repository is already linked and from which folders. `limit` applies after the filter.

list_sources

Провайдеры и подключения репозиториев

Which git providers Layero supports and which of them the organization has connected (GitHub App installations and provider tokens). Call before `import_repo` when you are not sure the provider is connected. Connecting a provider token is done by the person in the dashboard — never ask them to paste the token into the chat.

ParamètreTypeRequisDescription
organizationstring | nullnonOrganization slug. Without it — the account's only organization, or the personal one; if there are several and none is personal, the tool lists the slugs.

import_repo

Проект из репозитория

Create a Layero project from a repository — path (a) without the dashboard. From then on a push to the branch is a preview, a push to the production branch is production. After the link the tool finishes the setup wizard itself and starts the first build; `setup` in the result says whether that happened. Detected values are NOT written into the project settings: the builder detects the framework, build command and output folder from the repository on every build, so a later change in the repository is picked up. Only a decision is pinned — the app folder of a monorepo and the package manager named in `layero.json`. Until 2.1.1 the project stayed in `pending_setup` while the answer promised a build that never started. Two shapes, same as the CLI: GitHub goes through the App installation (project and webhook in one call); other providers create the project first and then connect the source — that step reports whether the webhook could be registered. If the provider is not connected, the result says `needs_connection` with the dashboard address: the person connects the token there, never through the chat. Monorepo: one project builds one app folder — pass `root_directory`. Several apps in one repository are several projects, one call each, with different `root_directory` and `name`. If the repository is already linked and the call would duplicate an existing project (same folder, or no `root_directory` given), nothing is created: the result is `already_linked` with `linked_proj…

ParamètreTypeRequisDescription
providerstringouiProvider: github, gitverse, gitlab, gitflic or sourcecraft.
repostringouiRepository path at the provider: `owner/repo`; GitLab paths may be nested (`group/sub/project`). The form `gitverse:owner/repo` is accepted too.
branchstring | nullnonProduction branch. Defaults to the repository's default branch.
namestring | nullnonProject name; the slug and the address are derived from it. Defaults to the repository name — for a second app from the same monorepo give a distinct name.
organizationstring | nullnonOrganization slug. Without it — the account's only organization, or the personal one; if there are several and none is personal, the tool lists the slugs.
deploybooleannonFinish the setup wizard and start the first build right away. The framework, build command and output folder are not pinned: the builder detects them from the repository on every build (`layero.json` overrides). `false` leaves the project in the setup wizard: no builds until the person completes th…
root_directorystring | nullnonMonorepo: the app folder inside the repository, relative to its root — `apps/web`, `frontend`. Omit it for an app in the repository root (if the root has no app and exactly one subfolder does, that folder is picked automatically). A repository already linked to a project can be imported again ONLY…

list_environments

Окружения проекта

The project's environments — one per branch (or the single `cli` one), each with its address and the state of its latest build. Answers "where is the preview of my branch" and "what is on production now". `url` is the environment's own address (its host ends with `- `); the production branch is ALSO served at the project's canonical address from `site_status` / `my_projects`. Take addresses from here, never assemble them.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.

project_create

Новый пустой проект

Create an empty project with no repository — an address reserved for a later `publish_site` or `npx layero@latest deploy`. For a project FROM a repository use `import_repo` instead. Nothing is built or served yet: the address answers only after the first publish.

ParamètreTypeRequisDescription
namestringouiProject name; the slug — the first label of ` .layero.app` — is derived from it.
organizationstring | nullnonOrganization slug. Without it — the account's only organization, or the personal one; if there are several and none is personal, the tool lists the slugs.

site_status

Как дела у сайта

How a site is doing: where it is built from, whether the address is answering, and how the latest build ended. One call instead of three (project, deploys, live check of the address). `source` / `repo` / `branch` / `root_directory` say where the project is built from — a connected repository means deploys go through git. `serving` is true when the SITE ITSELF answered — any response that is not a Layero platform screen and not a 5xx. An API server that has no `/` route answers with its own 404: that is a running app, not a broken site — check a real route with `path`. `answered_by` tells who replied: `site`, `platform` (a Layero screen, named in `platform_screen`: `unavailable`, `coming-soon`, `starting`, `not-found`, `suspended`) or `none` (no response). Redirects are not followed: `redirect_to` shows the target. Waiting for a build: while the latest build is running the answer carries `poll_after_s` — call again after that many seconds. Or pass `wait_s` and the server waits for the build itself (mind your client's tool-call timeout, see the argument). `waited_s` says how long the call waited. Static sites: `served_fallback: true` means the requested `path` was answered with the HOME page (a missing file is replaced by `index.html` with code 200) — the address answers, but this page does not exist.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
pathstringnonPath to check on the site, from its root. Default `/`. For an API server with no `/` route pass a route that exists, e.g. `/api/health` or `/healthz`.
wait_sintegernonWait for a running build: if the latest build is queued/building, the call holds until it finishes or `wait_s` seconds pass, then answers as usual. Default 0 — answer at once. At most 120. Your client has its own tool-call timeout, often 60 s (Cursor, Codex): stay under it — 45 is safe everywhere —…

check_rules

Проверить сайт на правила против фишинга

Check the published site against Layero's anti-phishing rules (https://layero.ru/rules): collecting passwords, card details or wallet recovery phrases of another service, fake security warnings, vote and prize lures that send visitors to another domain. Checks what a visitor sees at the project address — the home page and its own scripts. `violations` is empty when nothing matches. `publish_site` and `site_status` run the same check after a deploy and add `rules_warnings` only when something matches, so a separate call is needed only when the user asks.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.

env_vars

Переменные окружения проекта

Project environment variables: list names, set them, remove them. VALUES ARE NEVER READ BACK — not by you, not by the platform in its response. Only names and lengths are returned. This is a deliberate rule rather than an implementation limit: anything that reaches your answer settles into the conversation history, and a secret that lands there cannot be taken back. If the user asks "what is my key", say plainly that you cannot show it and offer to set a new one. `set` does not require knowing the other variables — the platform keeps them. `unset` removes only the named ones. A change needs a new deploy: variables are picked up at build time, not on the fly. Say so, or the user will think nothing happened.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
actionenum: "list" | "set" | "unset"non`list` — show the names (values are never returned), `set` — set the variables from `values`, `unset` — remove the variables listed in `keys`.
valuesobject | nullnonFor `action="set"`: name → value pairs. The project's other variables are kept — no need to send them again.
keysarray<string> | nullnonFor `action="unset"`: names of the variables to remove.

project_settings

Настройки сборки проекта

Build settings of a project: read them, or change them without the dashboard — the way out when detection guessed wrong (wrong folder, wrong type, wrong command). `get` returns `settings` (what is saved on the project; null — not set, the platform decides), `resolved` (what the next build will actually use, per field: `value`, `source`, `policy`) and `last_build` (what the latest ready build was really built with). Precedence is `layero.json` in the repository > project settings > detection > framework default: a field with `policy: "locked_by_file"` is set by `layero.json`, and changing the project setting will not change the build — edit the file instead. `update` CHANGES HOW THE PROJECT IS BUILT — ask the person first unless they asked for exactly this change. Prefer `layero.json` in the repository for anything that should live with the code; use this tool for what the file cannot hold (`root_directory`, `project_type`) and for projects you cannot push to. Nothing is rebuilt by the update itself: apply it with `retry_deploy(redeploy=true)` or a push.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
actionenum: "get" | "update"non`get` — show the build settings and what they resolve to. `update` — change the settings passed in the other arguments; arguments you omit stay as they are.
root_directorystring | nullnonApp folder inside the repository (`apps/web`). `""` resets to the repository root. Changing it clears the detected framework and commands of the old folder.
project_typeenum: "spa" | "ssr_next" | "node_web" | "python_web" | "streamlit" | "gradio" | "flask" | nullnonHow the project runs: `spa` — static files (any static framework); the others — an app in a container. The platform checks the repository and may object (409): then re-read the objection and pass `force_type=true` only if the person insists.
force_typebooleannonSet `project_type` even though the platform detected another type.
frameworkstring | nullnonFramework preset for a static build: `vite`, `nextjs`, `astro`, `generic`, `static` …
install_commandstring | nullnonInstall command. `""` resets to auto-detection by lockfile.
build_commandstring | nullnonBuild command, whole: `npm run build`.
output_directorystring | nullnonFolder that holds `index.html` AFTER the build (`dist`, `build`, `dist/client`).
start_commandstring | nullnonContainer apps: start command, listening on `0.0.0.0` and `$PORT`. `""` resets to detection by entry point.
portinteger | nullnonContainer apps: the port the app listens on. `0` resets to the default.
node_versionstring | nullnonNode major, e.g. `22`. `""` resets to auto-detection.
package_managerenum: "npm" | "yarn" | "pnpm" | "bun" | nullnonPackage manager override.
badgeboolean | nullnonThe «Made with Layero» badge at the bottom of the site's pages. `false` hides it — on the Pro plan only; takes effect with the next deploy.

connect_analytics

Подключить Яндекс.Метрику

Connect Yandex Metrika to a site. IMPORTANT: authorisation happens IN A BROWSER, and neither you nor the platform can do that step for the user. The tool returns a link — show it and ask them to open it and grant access. Do not poll in a loop: the person may walk away for an hour. Check later through this same tool without the `branch` argument, or through `site_analytics`.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
branchstring | nullnonThe branch whose traffic is counted. Defaults to the production branch; pass it only when the user asks to track a preview branch.

site_analytics

Трафик сайта

Site traffic: totals, direction and top sources. The time series is collapsed into a direction and breakdowns are cut to five: ninety chart points are useless in your context, and the conclusion is yours to draw anyway.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
periodenum: "7d" | "30d" | "90d"nonObservation window: 7, 30 or 90 days.

check_performance

Замерить скорость сайта

Measure a site's speed and say whether it got worse after a deploy. The verdict comes FROM THE SCORE, not from timings: repeated runs of the same deploy vary by at most one point, while LCP and TTFB on identical code swing by 37-40%. A difference of 3 points or more is meaningful; anything smaller is measurement noise, and calling that a regression is inventing a problem. A run takes tens of seconds. With `wait=true` the tool waits for you; do not start a second measurement in parallel — it will occupy the queue and add nothing.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
waitbooleannonWait for the measurement result (tens of seconds) or return at once. `false` — when the user needs the run started, not its result.
pathstringnonPage path on the production branch, e.g. `/pricing`. Default — the home page.
deviceenum: "desktop" | "mobile"non`mobile` — throttled phone like most visitors; `desktop` — fast network.

connect_domain

Подключить свой домен

Connect a custom domain to a site. IMPORTANT: between this call and a working domain stands A PERSON. You get DNS records — show them to the user and explain they go in at their domain registrar. Do not wait for readiness: DNS propagates in minutes to an hour, the platform re-checks on its own, and you check later via `check_domain`. Spinning here burns time and context for nothing. The address can be passed as-is: the platform reduces `https://shop.example.com/page` to `shop.example.com` itself.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
domainstringouiThe domain without scheme or slash: `example.ru` or `www.example.ru`.

check_domain

Проверить, заработал ли домен

Check whether a connected domain has started working. Runs the DNS check immediately instead of waiting for the background re-check. If the records have not propagated yet, that is normal — say so and suggest coming back later.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
domainstringouiThe domain without scheme — exactly the one that was connected.

list_domains

Домены проекта

The project's own domains and their state.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.

read_site

Прочитать страницу сайта

What is really published: headings, copy, forms, meta, links. Call it BEFORE changing anything on a live site and AFTER a publish, to make sure the expected version arrived. Without it you edit blind: what lies on the user's disk and what visitors are served are different things, and they drift apart silently. The result is a STRUCTURE, not raw HTML: a page with inline styles would eat half your context, while what you need from it is headings, copy, forms and meta. The full source is on the user's disk. `served_fallback=true` means this path was answered with the home page: there is no page at this address, and the storage answered the missing key with its `index.html` and a 200. Do not take that for success.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
pathstringnonPage path from the site root: `/`, `/about`, `/blog/post`. A page, not a file — the tool refuses files.

site_screenshot

Показать снимок сайта

A screenshot of the latest built version of the site — how it looks. Complements `read_site` (what is on the page) and `site_issues` (what is wrong with it) with the third question: how it looks. Useful before and after a visual change. The screenshot is taken at BUILD time, not now. Right after a publish a fresh one does not appear instantly — do not present the previous one as the result of your change. An image costs far more context than text. Do not call it "just in case": for "what is wrong with the site" `site_issues` is cheaper and more specific.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.

site_issues

Что чинить на сайте

Concrete problems of a page — each with its location and what to do. This is NOT a score. The score comes from `check_performance`, and a score gives nothing to fix: "73 out of 100" does not say what to change. Here is only what has a location and a clear action: blocked indexing, resources from foreign hosts, raster images without webp, missing meta and alt, forms with no recipient. Findings are sorted by importance. Do not dump the list — name the two or three main ones and ask whether to fix them.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
pathstringnonPage path from the site root. Defaults to the home page.

refactor_site

Применить правку к разметке сайта

One named markup transformation — with a predictable result. The tool PUBLISHES NOTHING. It returns the changed HTML; showing it to the person, getting consent and calling `publish_site` is your job. Never rewrite someone's site silently. Transformations are idempotent: a repeated call changes nothing and honestly answers `changed=false`. An empty list of changes is not an error, it means "there was nothing to apply". WHAT IS NOT HERE AND WHY. Fonts from third-party hosts, re-encoding images to webp and untangling inline styles are NOT included: they need the files themselves, which the server does not have, or a judgement about the intended look. `site_issues` names those problems — with a location and an explanation; whoever holds the files fixes them. The gain is measured with `check_performance` BEFORE and AFTER the publish. A difference under three points is measurement noise, not an improvement — say so.

ParamètreTypeRequisDescription
htmlstringouiThe contents of `index.html` — the file on the user's disk. Read the file yourself and pass it here.
fixenum: "meta" | "lazy_images"oui`meta` — fill in lang and Open Graph markup from what the page already says. `lazy_images` — defer loading of images below the first screen (the first image is left alone: LCP is measured on it).

check_copy

Вычитать русский текст

Mechanical errors of Russian typography — with the exact place and a replacement. This is CODE, not a model's judgement: the same text gives the same list of findings. It catches what the eye misses and the reader feels: non-breaking spaces, dashes, straight quotes, a dot instead of a comma in decimals, spaces around punctuation, double spaces. Every finding carries a ready replacement — apply it rather than rewriting the fragment your own way. WHAT IS NOT HERE. Plain style, sentence length, officialese, signs of AI slop — that is judgement, and it lives in the `layero://editorial/ru` resource. Read it when asked to "make the text better" rather than "fix the typography".

ParamètreTypeRequisDescription
textstring | nullnonThe text to check. Either this or `project` — exactly one of them.
projectstring | nullnonProject slug: check the copy of the PUBLISHED page. Handy when editing someone's site, or your own after a publish.
pathstringnonPage path when checking a project. Defaults to the home page.

list_deploys

История сборок проекта

The project's latest builds: how each one ended, how long it took and which one is live now. Use it to pick a target for `rollback` or `diagnose_deploy`. For "what is up with the site right now" `site_status` is enough and cheaper. Per build: `branch`, `source` (`git` — built on push, `cli` — an uploaded folder), short `commit`, `created_at` / `started_at` / `finished_at` (UTC), `queued_s` (wait in the queue) and `duration_s` (build time, null while it is still running), `failure_stage` for failed ones, `is_active` — the build now served on the canonical address.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
limitintegernonHow many of the latest builds to return. Default 10, at most 50.

download_source

Скачать исходники деплоя

A short download link to a ZIP of what a build was made from. For an upload (`npx layero@latest deploy`) the ZIP holds the uploaded sources; for a site published with `publish_site` — the published files. `.env*` files are left out. Needs a member who can deploy (editor role). The link works for 5 minutes: hand it to the person, do not fetch it yourself unless they asked you to work with the files. A build made from a repository has no stored sources — you get the commit link instead. Old uploads may be gone: the platform keeps sources 7 days, and the live build while it is live.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
deploystring | nullnonid of the build (from list_deploys). Without it — the build served on the project address.

rollback

Откатить сайт на прошлую сборку

Put the previous working build back on the live address. CHANGES WHAT VISITORS SEE — ask the person before calling unless they asked for a rollback explicitly. The action is reversible (you can roll forward again), but the time visitors spent on the wrong version cannot be taken back. For apps (`ssr_next`, `node_web`, `python_web`, `streamlit`, `gradio`, `flask`) a rollback works differently from static sites and is often impossible: an app has no ready artifact to simply switch to. If the platform refuses, explain that to the person plainly and suggest rebuilding the earlier commit — do not repeat the call.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
deploystring | nullnonid of the build to roll back to. Without it the platform takes the nearest suitable earlier one.

retry_deploy

Перезапустить сборку

Run a build again — a failed one as is, or the latest commit afresh. Default (`redeploy=false`): queue the SAME build again. Allowed only for builds in the `failed` or `cancelled` state. On a running build (`queued`, `building`) the platform refuses — that is not an error but protection against a second parallel build; on a `ready` build it refuses too — use `redeploy=true`. `redeploy=true`: start a NEW build of the branch's latest commit without a push. This is how changed project settings (`project_settings`) or environment variables (`env_vars`) get applied. The result goes live the same way a push to that branch would — on the production branch that is production, so make sure the person wants that. Projects without a repository are rebuilt by deploying the folder again (`npx layero@latest deploy` or `publish_site`). A plain retry makes sense when the cause was external (network, registry, timeout). If the build failed on the code, a retry gives the same result: `diagnose_deploy` first, then the fix, and only then a retry.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
deploystring | nullnonBuild id (a UUID from `list_deploys`). Without it the latest build is used. Ignored with `redeploy=true`.
redeploybooleannon`true` — build the latest commit of the branch again as a NEW build, whatever state the previous one is in (also `ready`). Same as the «Пересобрать» button in the dashboard. Use it after changing project settings or environment variables, when there is nothing to push. Repository projects only.
branchstring | nullnonOnly with `redeploy=true`: the branch to build. Defaults to the production branch.

cancel_deploy

Отменить идущую сборку

Stop a build that is still running. The live address does not change — the previous version stays on it.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
deploystring | nullnonBuild id (a UUID from `list_deploys`). Without it the latest build is used.

deploy_logs

Логи сборки и приложения

Raw log lines — for when the `diagnose_deploy` analysis was not enough. Start with `diagnose_deploy`: it has already pulled out the cause and the neighbourhood of the fatal line. Come here when you need to look with your own eyes — the cause is vague, or you are interested in how the app behaves rather than in a failure. You get the TAIL. `truncated` says earlier lines were dropped; do not present the tail as the whole log. For build logs, package-manager network chatter is hidden BEFORE the tail is cut, so the tail holds meaningful lines; `noise_hidden` says how many were hidden and `include_noise=true` shows them.

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
kindenum: "build" | "runtime"non`build` — what the build printed. `runtime` — what the app itself prints (apps only, not static sites).
deploystring | nullnonBuild id (a UUID from `list_deploys`). Without it the latest build is used.
tailintegernonHow many of the last lines to return, at most 200.
include_noisebooleannonBuild logs only. By default the package manager's network chatter (`npm http fetch …`, `npm http cache …`, `npm timing/sill/verb …` — one line per downloaded package, often three quarters of the log) is hidden and counted in `noise_hidden`. `true` returns the log as is — for registry or network pro…

diagnose_deploy

Почему упала сборка

Why a deploy failed — with the cause parsed out, not a raw log. Without `deploy` the latest build is used; that is what reflects the current state. To examine a specific older one, pass its id. The response is not a log tail but the neighbourhood of the fatal line: the platform has already picked out what matters. Read `verdict` and the summary, fix the code, deploy again — you close this loop yourself, without involving the person. `build_facts` — how it was built: `project_type`, `framework`, `node_version`, `package_manager`, `install`, `build`, `output` (each with its origin in parentheses: default, auto-detected, layero.json, dashboard …), `source` (`git` / `cli`), `root_directory`, `queued_s`, `duration_s`. Apps built into a container (`node_web`, `python_web`, `ssr_next`, full-stack) also get `runtime_kind`, `start` (the start command), `port`, `env` and, for full-stack, `fullstack` / `fullstack_frontend`. A value marked `(as built)` is the platform's record of this very build; `(current settings: …)` is what the project settings resolve to now, not a fact about this build. A missing key means the platform did not report that fact — on a failed build often because it did not get that far, on a `ready` build it just is not recorded (static builds print more than container builds); it is not a sign of a problem. `sources_note` appears when a value is marked `(from dashboard)` / `(from hint)`: that is «saved in the project settings», by a person or by import-time detecti…

ParamètreTypeRequisDescription
projectstringouiThe project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.
deploystring | nullnonid of a specific build (a UUID from `list_deploys`). Without it the latest build is used — the one that reflects the project's current state.

publish_site

Опубликовать сайт

Publish a static site to Layero — from here, with no terminal. Takes ANY ready static bundle, so it is the answer to "deploy my site" when the project has no connected repository. Requirements — `index.html` at the root, at most 200 files, 8 MB in total, 2 MB per file. Binary files (images, fonts) must come with `encoding="base64"`; sent as text they are silently corrupted. Do NOT use it for a project with a connected repository (`site_status` shows one): the next git push would overwrite what you published. Publishing without a Layero account is not possible from here — the server requires sign-in. For that case there is the CLI: `npx layero@latest deploy --claim` deploys first and lets the person claim the site later. An empty project for a future publish is created with `project_create`. A project that still needs a build step (Vite, Next, Astro — anything where the answer is `npm run build`) does NOT go here: publish its build output, or tell the user to run `npx layero@latest deploy`, which builds on our side. Send the ACTUAL file contents: the server does not remember the bundle between calls. If the user edited the text after generation, pass the current versions, or what gets published is what used to be there. Pass `project` (the id of an existing project) when republishing the same site; without it the platform finds a project with that name or creates a new one. Returns as soon as the build finishes, or after ~40s with `status` `building` and the `deploy_id` — the…

ParamètreTypeRequisDescription
filesarray<any>ouiThe whole site, with `index.html` in the root. Paths are relative (`assets/app.css`). Binary files go with `encoding="base64"`. At most 200 files, 8 MB in total, 2 MB per file.
project_namestringouiProject slug — lowercase Latin letters, digits and hyphens. It becomes part of the site address. If the project already exists, pass `project` as well, otherwise the platform creates a new one.
projectstring | nullnonid of an existing project — to publish the same site again. Without it the platform looks the project up by name or creates a new one.

publish_landing

Опубликовать сайт (старое имя)

DEPRECATED — use `publish_site`. Same behaviour, same arguments. Kept for one release (removed in the next) so that configs and prompts written before 17.09.2026 keep working; new instructions must call `publish_site`.

ParamètreTypeRequisDescription
filesarray<any>ouiSame as in `publish_site`: the site files with `index.html` in the root.
project_namestringouiSame as in `publish_site`: the project slug.
projectstring | nullnonSame as in `publish_site`: id of an existing project.

data_api_status

Data API базы: состояние

Whether the database has the Data API enabled, its address, keys and the sites allowed to call it. Keys are shown by prefix; the public key also comes with its value (it is not a secret: it ships in the site bundle). Secret keys are never returned or stored. Enabling the API goes through the CLI; as in Supabase, new tables in `public` are then open to the roles and RLS decides the rows, so every table needs RLS on. Sign-in and files are enabled only by the person in the dashboard.

ParamètreTypeRequisDescription
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

data_api_methods

Data API базы: методы и доступ

The database's REST and RPC methods with an access level per HTTP method. The level says who may call the method: closed, visitor (any site visitor), user (signed-in people), server (the server only). It is read from the role grants in force in the database itself — exactly as the gateway sees them. `warnings` names what is unsafe or not working: a table without RLS open to visitors, a grant that does not work without USAGE on its schema — report them to the person.

ParamètreTypeRequisDescription
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

data_api_grant

Data API базы: доступ к методу

Who may call a method of a table or a function: shows the SQL and applies it after consent. OPENS DATA TO THE INTERNET. Call it without `apply` first: the platform returns the commands and warnings (for example "row-level security is off — a visitor will get every row"). Show them to the person. With apply=true a client with forms asks the person itself; without forms get consent in the chat and pass confirmed=true together with expected_sql from the preview. Methods you do not name keep their current level. Exactly the shown commands are applied: if the grants changed meanwhile, the platform refuses — show the new ones. Needs a token with the admin scope, for the preview too.

ParamètreTypeRequisDescription
objectstringouiA table `schema.name` or a function `schema.name`; for an overloaded function — `schema.name(types)`. As listed by data_api_methods.
getenum: "closed" | "visitor" | "user" | "server" | nullnonReading the table. closed — nobody; visitor — any site visitor; user — people signed in to the app; server — only a server holding the secret key.
postenum: "closed" | "visitor" | "user" | "server" | nullnonInserting rows into the table. Same levels as `get`.
patchenum: "closed" | "visitor" | "user" | "server" | nullnonUpdating rows of the table. Same levels as `get`.
deleteenum: "closed" | "visitor" | "user" | "server" | nullnonDeleting rows of the table. Same levels as `get`.
callenum: "closed" | "visitor" | "user" | "server" | nullnonCalling the function. closed — nobody; visitor — any site visitor; user — people signed in to the app; server — only a server holding the secret key.
applybooleannonfalse (default) — only show the commands. true — apply them after the person's consent.
confirmedbooleannontrue — the person has already agreed in the chat after seeing what will change. A client with forms does not need it: the server asks the person itself. Never set it without the person's explicit consent.
expected_sqlarray<string> | nullnonThe `sql` commands from the preview answer that the person saw. Required with confirmed=true: only these are applied.
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

data_api_keys

Data API базы: ключи

The database's Data API keys: list, issue, revoke. The list never contains key values. Issuing and revoking need the person's consent: a client with forms asks by itself; without forms ask in the chat and pass confirmed=true. The value of an issued key is returned once: the platform does not store secret keys. Hand it to the person for their server and do not repeat it afterwards. Revoking breaks everyone who uses the key — including the site, if the key is baked into its build (`in_build`). Issuing and revoking need a token with the admin scope.

ParamètreTypeRequisDescription
actionenum: "list" | "issue" | "revoke"non`list` — keys with prefixes, no values; `issue` — issue a key, its value is returned ONCE; `revoke` — revoke the key named in `key`.
kindenum: "public" | "secret"nonFor issue: public — for the site (lives in the browser), secret — for a server only.
labelstring | nullnonFor issue: a label to recognise the key by in the list.
expires_in_daysenum: 30 | 90 | 365 | nullnonFor issue: lifetime in days; without it the key never expires.
keystring | nullnonFor revoke: id or prefix of the key from the list.
confirmedbooleannontrue — the person has already agreed in the chat after seeing what will change. A client with forms does not need it: the server asks the person itself. Never set it without the person's explicit consent.
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

data_api_origins

Data API базы: сайты

Sites allowed to call the database from a browser: list, add, remove. Addresses of the connected projects and their branches are allowed automatically — do not add them. An added site opens no data by itself: what can be read and written is decided by access levels. Adding and removing need the person's consent; a removed site is refused on every request. Needs a token with the admin scope.

ParamètreTypeRequisDescription
actionenum: "list" | "add" | "remove"non`list` — addresses of the database's projects and the manually added ones; `add` — allow a site; `remove` — remove a site.
urlstring | nullnonFor add and remove: the site origin with scheme, `https://shop.example`.
notestring | nullnonFor add: why the site was added.
confirmedbooleannontrue — the person has already agreed in the chat after seeing what will change. A client with forms does not need it: the server asks the person itself. Never set it without the person's explicit consent.
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

data_api_buckets

Data API базы: бакеты файлов

Storage buckets of a database: list and create — without a secret key. Files must be enabled for the database. A private bucket opens nothing by itself: reading and uploading are decided by storage policies (the dashboard → Files → Policies, or SQL on storage.objects). Creating needs the person's consent. Needs a token with the admin scope — the storage key is issued only to it, even for listing.

ParamètreTypeRequisDescription
actionenum: "list" | "create"non`list` — the database's storage buckets; `create` — a new bucket.
namestring | nullnonFor create: bucket name, e.g. `screenshots`.
publicbooleannonFor create: anyone with the link can download files. Default false — who reads and uploads is decided by storage policies.
max_size_bytesinteger | nullnonFor create: file size limit in bytes.
allowed_mime_typesarray<string> | nullnonFor create: allowed MIME types, e.g. ["image/jpeg", "image/png"].
confirmedbooleannontrue — the person has already agreed in the chat after seeing what will change. A client with forms does not need it: the server asks the person itself. Never set it without the person's explicit consent.
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

data_api_auth

Data API базы: вход пользователей

Sign-in of the app's users: what is enabled, and the sender name of its emails. Provider keys are never returned. Connecting Yandex, VK ID or Sber ID needs a secret — that is done by the person in the dashboard or with `layero data auth provider set` in a terminal, not through the chat. Setting the sender needs a token with the admin scope.

ParamètreTypeRequisDescription
actionenum: "status" | "sender"non`status` — sign-in methods, providers and the callback URL for the provider console; `sender` — set the sender name of sign-in emails.
sender_namestring | nullnonFor sender: e.g. «Layero Inbox».
reply_tostring | nullnonFor sender: address for replies.
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

data_api_probe

Data API базы: проба метода

A real request to a method through the gateway — as a visitor, a user or the server. The platform supplies the key and the token. Writes (POST, PATCH, DELETE, a function call) are rolled back: rows in the database do not change, but the rollback does not undo sequence numbers, calls from the database to the outside, session locks or the daily call quota. The answer is real: grants, row policies and refusals are the same the site will see. Needs a token with the admin scope.

ParamètreTypeRequisDescription
methodenum: "GET" | "POST" | "PATCH" | "DELETE"ouiHTTP method.
pathstringouiPath from the database address: `/rest/v1/products`, `/rest/v1/rpc/order_create` or `/whoami` (GET only). Files, without writing anything: POST `/storage/v1/object/list/ `, GET `/storage/v1/object/info/ / `, POST `/storage/v1/object/sign/ / ` (may read?), POST `/storage/v1/object/upload/sign/ / ` (…
roleenum: "visitor" | "user" | "server"nonOn whose behalf: visitor — a visitor with the public key, user — a signed-in user (needs user_id), server — the secret key.
queryobject | nullnonQuery parameters, PostgREST style: {"select": "id,title", "price": "gt.100"}.
bodyobject | array<any> | nullnonBody for POST and PATCH.
user_idstring | nullnonFor role=user: id of the app user.
schemastring | nullnonThe table's schema: api, public or app. Without it the name is looked up in the order api → public → app — pass it when tables with the same name exist in several schemas. Not needed for functions and /whoami.
databasestring | nullnonThe database: name, slug or id. Without it — the organization's only database with the Data API enabled.
organizationstring | nullnonOrganization slug. Without it — the only one, or the personal one.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://mcp.layero.ru/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http layero https://mcp.layero.ru/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : layero ; URL : https://mcp.layero.ru/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : layero ; Server URL : https://mcp.layero.ru/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "layero": {
      "url": "https://mcp.layero.ru/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "layero": {
      "type": "http",
      "url": "https://mcp.layero.ru/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "layero": {
      "url": "https://mcp.layero.ru/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "layero": {
      "httpUrl": "https://mcp.layero.ru/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.layero]
url = "https://mcp.layero.ru/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Layero · L’Atlas · Test du

Markdown
[Layero — L’Atlas](https://latlas.dev/mcp/ru.layero/layero)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.