Layero
REMOTE · MCP.LAYERO.RU · SCANNED SEP 21
Deploy and operate sites on Layero — hosting with build servers in Russia: domains, env, Data API.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. How we score → Why this is hard to score →
Endpoint Security89
- The endpoint's TLS certificate is valid, in date, and uses a strong key. View diagnostics → Pass
- Authorisation is enforced on tool calls, advertised via RFC 9728 protected-resource metadata. Discovery is public, which costs nothing: no tool can be invoked without a token. View diagnostics → Pass
- HTTPS is enforced; there's no plaintext access path. View diagnostics → Pass
- HSTS check failed: the Strict-Transport-Security header is absent. See how to fix → View diagnostics → Fail
- DNSSEC check failed: this domain isn't protected by DNSSEC. See how to fix → View diagnostics → Fail
- The authorisation server offers only Dynamic Client Registration (RFC 7591), which MCP 2026-07-28 deprecated in favour of Client ID Metadata Documents. View diagnostics → Partial
Transport & Reachability100
- Verified streamable-http transport via a live MCP handshake. View diagnostics → Pass
Schema Quality & AI Usability78
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 11695 tokens (~307/item across 38 items; 35 tools + 3 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management81
- Stability check failed: schema churn in the 30 days we've observed: 5 tool removals, 0 breaking changes, 0 auth/transport breaks, 13 additions. See how to fix → Fail
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (97% of tools); any adoption earns full credit.Pass
Tool Safety75
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 0 of 6 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "retry_deploy" implies "deploy" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
- An AI judge read all 37 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the Layero MCP server?
Layero is a hosted endpoint at https://mcp.layero.ru/mcp, so there is nothing to install locally. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
remote · mcp.layero.ru
claude mcp add --transport http ru-layero-layero 'https://mcp.layero.ru/mcp'
{
"mcpServers": {
"ru-layero-layero": {
"url": "https://mcp.layero.ru/mcp"
}
}
} {
"servers": {
"ru-layero-layero": {
"type": "http",
"url": "https://mcp.layero.ru/mcp"
}
}
} [mcp_servers.ru-layero-layero] url = "https://mcp.layero.ru/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ru-layero-layero": {
"type": "remote",
"url": "https://mcp.layero.ru/mcp",
"enabled": true
}
}
} openclaw mcp add ru-layero-layero --url 'https://mcp.layero.ru/mcp' --transport streamable-http
mcp_servers:
ru-layero-layero:
url: "https://mcp.layero.ru/mcp" {
"McpServers": {
"ru-layero-layero": {
"Transport": "http",
"Url": "https://mcp.layero.ru/mcp"
}
}
} assistant mcp add ru-layero-layero -t streamable-http -u 'https://mcp.layero.ru/mcp'
{
"mcpServers": {
"ru-layero-layero": {
"type": "http",
"url": "https://mcp.layero.ru/mcp"
}
}
} The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 19 Sept 26 −1
- The server rewrote its instructions, which are the text every model session reads security
- New tool “project_settings”, which the server declares destructive security
- Tool “diagnose_deploy” rewrote its description, which is the text the model reads security
- Tool “import_repo” rewrote its description, which is the text the model reads security
- Tool “retry_deploy” rewrote its description, which is the text the model reads security
- Tool “site_status” rewrote its description, which is the text the model reads security
- Schema quality: 268 → 307 ▼ functional
- Server version: 2.3.0 → 2.4.0 functional
- “my_projects” added an optional parameter “repo” cosmetic
- “retry_deploy” added an optional parameter “branch” cosmetic
- “retry_deploy” added an optional parameter “redeploy” cosmetic
- “site_status” added an optional parameter “wait_s” cosmetic
- “import_repo” reworded the description of “deploy” cosmetic
- “retry_deploy” reworded the description of “deploy” cosmetic
- Tool “retry_deploy” changed its title: Перезапустить упавшую сборку → Перезапустить сборку cosmetic
- 18 Sept 26 +52
- Stability: unverified → fail ▼ security
- Tool “add_integration” was removed ▼ security
- Tool “compose_landing” was removed ▼ security
- Tool “compose_landing_submit” was removed ▼ security
- Tool “list_design_systems” was removed ▼ security
- Tool “list_structures” was removed ▼ security
- Transport: unverified → pass ▲ security
- Injection markers: unverified → pass ▲ security
- Authorization: Authorisation is enforced on tool calls, advertised via RFC 9728 protected-resource metadata. Discovery is public, which costs nothing: no tool can be invoked without a token. security
- The server rewrote its instructions, which are the text every model session reads security
- Tool “cancel_deploy” rewrote its description, which is the text the model reads security
- Tool “check_copy” rewrote its description, which is the text the model reads security
- Tool “data_api_grant” rewrote its description, which is the text the model reads security
- Tool “data_api_keys” rewrote its description, which is the text the model reads security
- Tool “data_api_methods” rewrote its description, which is the text the model reads security
- Tool “data_api_origins” rewrote its description, which is the text the model reads security
- Tool “data_api_probe” rewrote its description, which is the text the model reads security
- Tool “data_api_status” rewrote its description, which is the text the model reads security
- Tool “deploy_logs” rewrote its description, which is the text the model reads security
- Tool “diagnose_deploy” rewrote its description, which is the text the model reads security
- Tool “import_repo” rewrote its description, which is the text the model reads security
- Tool “list_deploys” rewrote its description, which is the text the model reads security
- Tool “list_environments” rewrote its description, which is the text the model reads security
- Tool “my_projects” rewrote its description, which is the text the model reads security
- Tool “read_site” rewrote its description, which is the text the model reads security
- Tool “retry_deploy” rewrote its description, which is the text the model reads security
- Tool “rollback” rewrote its description, which is the text the model reads security
- Tool “search_docs” rewrote its description, which is the text the model reads security
- Tool “site_issues” rewrote its description, which is the text the model reads security
- Tool “site_screenshot” rewrote its description, which is the text the model reads security
- Tool “site_status” rewrote its description, which is the text the model reads security
- Tool “publish_landing” rewrote its description, which is the text the model reads security
- Tool “refactor_site” rewrote its description, which is the text the model reads security
- Schema quality: 216 → 268 ▼ functional
- Schema quality: 216 → 243 ▼ functional
- Prompt “make_friendly” was removed ▼ functional
- Prompt “make_premium” was removed ▼ functional
- Prompt “welcome” was removed ▼ functional
- Resource “catalogue” was removed ▼ functional
- Resource “compose-form” was removed ▼ functional
- Endpoint reachability: behind authorisation → reachable ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Schema quality: unverified → 100 ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- MCP protocol version: 2026-07-28 → 2025-11-25 functional
- Server version: 2.2.1 → 2.3.0 functional
- Server version: 2.2.0 → 2.2.1 functional
- New tool “import_repo” functional
- New tool “list_environments” functional
- New tool “list_sources” functional
- New tool “project_create” functional
- New tool “publish_site” functional
- New tool “search_docs” functional
- “deploy_logs” added an optional parameter “include_noise” cosmetic
- “import_repo” added an optional parameter “root_directory” cosmetic
- “site_status” added an optional parameter “path” cosmetic
- “cancel_deploy” reworded the description of “deploy” cosmetic
- “cancel_deploy” reworded the description of “project” cosmetic
- “check_copy” reworded the description of “path” cosmetic
- “check_copy” reworded the description of “project” cosmetic
- “check_copy” reworded the description of “text” cosmetic
- “check_domain” reworded the description of “domain” cosmetic
- “check_domain” reworded the description of “project” cosmetic
- “check_performance” reworded the description of “project” cosmetic
- “check_performance” reworded the description of “wait” cosmetic
- “connect_analytics” reworded the description of “branch” cosmetic
- “connect_analytics” reworded the description of “project” cosmetic
- “connect_domain” reworded the description of “domain” cosmetic
- “connect_domain” reworded the description of “project” cosmetic
- “data_api_grant” reworded the description of “apply” cosmetic
- “data_api_grant” reworded the description of “call” cosmetic
- “data_api_grant” reworded the description of “confirmed” cosmetic
- “data_api_grant” reworded the description of “database” cosmetic
- “data_api_grant” reworded the description of “delete” cosmetic
- “data_api_grant” reworded the description of “expected_sql” cosmetic
- “data_api_grant” reworded the description of “get” cosmetic
- “data_api_grant” reworded the description of “object” cosmetic
- “data_api_grant” reworded the description of “organization” cosmetic
- “data_api_grant” reworded the description of “patch” cosmetic
- “data_api_grant” reworded the description of “post” cosmetic
- “data_api_keys” reworded the description of “action” cosmetic
- “data_api_keys” reworded the description of “confirmed” cosmetic
- “data_api_keys” reworded the description of “database” cosmetic
- “data_api_keys” reworded the description of “expires_in_days” cosmetic
- “data_api_keys” reworded the description of “key” cosmetic
- “data_api_keys” reworded the description of “kind” cosmetic
- “data_api_keys” reworded the description of “label” cosmetic
- “data_api_keys” reworded the description of “organization” cosmetic
- “data_api_methods” reworded the description of “database” cosmetic
- “data_api_methods” reworded the description of “organization” cosmetic
- “data_api_origins” reworded the description of “action” cosmetic
- “data_api_origins” reworded the description of “confirmed” cosmetic
- “data_api_origins” reworded the description of “database” cosmetic
- “data_api_origins” reworded the description of “note” cosmetic
- “data_api_origins” reworded the description of “organization” cosmetic
- “data_api_origins” reworded the description of “url” cosmetic
- “data_api_probe” reworded the description of “body” cosmetic
- “data_api_probe” reworded the description of “database” cosmetic
- “data_api_probe” reworded the description of “method” cosmetic
- “data_api_probe” reworded the description of “organization” cosmetic
- “data_api_probe” reworded the description of “path” cosmetic
- “data_api_probe” reworded the description of “query” cosmetic
- “data_api_probe” reworded the description of “role” cosmetic
- “data_api_probe” reworded the description of “schema” cosmetic
- “data_api_probe” reworded the description of “user_id” cosmetic
- “data_api_status” reworded the description of “database” cosmetic
- “data_api_status” reworded the description of “organization” cosmetic
- “deploy_logs” reworded the description of “deploy” cosmetic
- “deploy_logs” reworded the description of “kind” cosmetic
- “deploy_logs” reworded the description of “project” cosmetic
- “deploy_logs” reworded the description of “tail” cosmetic
- “diagnose_deploy” reworded the description of “deploy” cosmetic
- “diagnose_deploy” reworded the description of “project” cosmetic
- “env_vars” reworded the description of “action” cosmetic
- “env_vars” reworded the description of “keys” cosmetic
- “env_vars” reworded the description of “project” cosmetic
- “env_vars” reworded the description of “values” cosmetic
- “import_repo” reworded the description of “branch” cosmetic
- “import_repo” reworded the description of “deploy” cosmetic
- “import_repo” reworded the description of “name” cosmetic
- “import_repo” reworded the description of “organization” cosmetic
- “import_repo” reworded the description of “provider” cosmetic
- “import_repo” reworded the description of “repo” cosmetic
- “list_deploys” reworded the description of “limit” cosmetic
- “list_deploys” reworded the description of “project” cosmetic
- “list_domains” reworded the description of “project” cosmetic
- “list_environments” reworded the description of “project” cosmetic
- “list_sources” reworded the description of “organization” cosmetic
- “my_projects” reworded the description of “limit” cosmetic
- “project_create” reworded the description of “name” cosmetic
- “project_create” reworded the description of “organization” cosmetic
- “publish_site” reworded the description of “files” cosmetic
- “publish_site” reworded the description of “project” cosmetic
- “publish_site” reworded the description of “project_name” cosmetic
- “read_site” reworded the description of “path” cosmetic
- “read_site” reworded the description of “project” cosmetic
- “refactor_site” reworded the description of “fix” cosmetic
- “refactor_site” reworded the description of “html” cosmetic
- “retry_deploy” reworded the description of “deploy” cosmetic
- “retry_deploy” reworded the description of “project” cosmetic
- “rollback” reworded the description of “deploy” cosmetic
- “rollback” reworded the description of “project” cosmetic
- “search_docs” reworded the description of “limit” cosmetic
- “search_docs” reworded the description of “query” cosmetic
- “site_analytics” reworded the description of “period” cosmetic
- “site_analytics” reworded the description of “project” cosmetic
- “site_issues” reworded the description of “path” cosmetic
- “site_issues” reworded the description of “project” cosmetic
- “site_screenshot” reworded the description of “project” cosmetic
- “site_status” reworded the description of “project” cosmetic
- “publish_landing” reworded the description of “files” cosmetic
- “publish_landing” reworded the description of “project” cosmetic
- “publish_landing” reworded the description of “project_name” cosmetic
- Tool “publish_landing” changed its title: Опубликовать сайт → Опубликовать сайт (старое имя) cosmetic
- 17 Sept 26 −40
- Endpoint reachability: reachable → behind authorisation ▼ security
- Stability: pass → unverified ▼ security
- Tool safety: pass → unverified ▼ security
- Transport: pass → unverified ▼ security
- Authorization: fail → pass ▲ security
- First check of Authorization: partial security
- Schema quality: 75 → unverified ▼ functional
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- 15 Sept 26 0
- New tool “data_api_grant”, which the server declares destructive security
- New tool “data_api_keys”, which the server declares destructive security
- New tool “data_api_origins”, which the server declares destructive security
- Schema quality: 6440 → 8242 ▼ functional
- New tool “data_api_methods” functional
- New tool “data_api_probe” functional
- New tool “data_api_status” functional
- 26 Aug 26 +2
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 25 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 77 to 80.
- 11 Aug 26 0
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 9 Aug 26 0
First indexed and scored.
- The server rewrote its instructions, which are the text every model session reads security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 21 Sept 2026 · Probed https://mcp.layero.ru/mcp
TLS valid
Negotiated TLS 1.3 with TLS_AES_128_GCM_SHA256 .
| Subject | Issuer | Valid from | Valid until | Key | Signature | Serial |
|---|---|---|---|---|---|---|
| CN=*.layero.ru | CN=YR1,O=Let's Encrypt,C=US | 28 Aug 2026 | 26 Nov 2026 | RSA 2048 | SHA256-RSA | 6775de9ca329d8676183d82faaa00eb95a2 |
| SANs: *.layero.ru, layero.ru | ||||||
| CN=YR1,O=Let's Encrypt,C=US (CA) | CN=Root YR,O=ISRG,C=US | 3 Sept 2025 | 2 Sept 2028 | RSA 2048 | SHA256-RSA | a20253f15f2691c05dc1ce13b9bcca4e |
| CN=Root YR,O=ISRG,C=US (CA) | CN=ISRG Root X1,O=Internet Security Research Group,C=US | 13 May 2026 | 2 Sept 2032 | RSA 4096 | SHA256-RSA | f24b6d17f9d9ad7cb1c9fea78782699f |
Background: What to check on a remote MCP endpoint →
DNSSEC insecure
Validation of mcp.layero.ru. — Not signed
| Zone | DS | Keys | Algorithms | Outcome |
|---|---|---|---|---|
| . | trust_anchor | 20326, 38696 | 8, 8 | Verified |
| ru. | present | 26734 | 8 | Verified |
| layero.ru. | absent | Unsigned (proven) parent-signed NSEC/NSEC3 proves an unsigned delegation |
Authentication Enforced and verified
The endpoint asked for a token and published valid RFC 9728 metadata describing how to get one.
| Result | Enforced and verified |
|---|---|
| Enforced | On tool calls |
| HTTP status | 200 |
WWW-Authenticate challenge Bearer resource_metadata="https://mcp.layero.ru/.well-known/oauth-protected-resource", scope="read deploy"
Bearer resource_metadata="https://mcp.layero.ru/.well-known/oauth-protected-resource", scope="read deploy" Protected resource metadata
| Document | https://mcp.layero.ru/.well-known/oauth-protected-resource |
|---|---|
| Retrieved | Yes |
| Resource | https://mcp.layero.ru/mcp |
| Authorisation server | https://api.layero.ru |
Background: How OAuth 2.1 works in the 2026 MCP spec →
Transports 2 probes
| Transport | URL | Outcome | Status | Location |
|---|---|---|---|---|
| streamable-http | https://mcp.layero.ru/mcp | Verified | 200 | |
| http (plaintext) | http://mcp.layero.ru/mcp | HTTPS enforced | 301 | https://mcp.layero.ru/mcp |
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
cancel_deploy Отменить идущую сборку ~122
Stop a build that is still running. The live address does not change — the previous version stays on it.
| Name | Type | Req | Description |
|---|---|---|---|
| deploy | – | – | Build id (a UUID from `list_deploys`). Without it the latest build is used. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| deploy_id | string | yes | – |
| next_action | string | yes | – |
| project | string | yes | – |
| status | string | yes | – |
No examples provided.
check_copy Вычитать русский текст ~242
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".
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | – | Page path when checking a project. Defaults to the home page. |
| project | – | – | Project slug: check the copy of the PUBLISHED page. Handy when editing someone's site, or your own after a publish. |
| text | – | – | The text to check. Either this or `project` — exactly one of them. |
| Name | Type | Req | Description |
|---|---|---|---|
| by_rule | object | yes | – |
| checked_chars | integer | yes | – |
| findings | array | yes | – |
| next_action | string | yes | – |
| source | string | yes | – |
| untrusted | string | – | – |
No examples provided.
check_domain Проверить, заработал ли домен ~140
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.
| Name | Type | Req | Description |
|---|---|---|---|
| domain | string | yes | The domain without scheme — exactly the one that was connected. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| checks | – | – | – |
| domain | string | yes | – |
| error | – | – | – |
| next_action | string | yes | – |
| next_check_hint | – | – | – |
| records | array | yes | – |
| state | string | yes | – |
| working | boolean | yes | – |
No examples provided.
check_performance Замерить скорость сайта ~245
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.
| Name | Type | Req | Description |
|---|---|---|---|
| project | string | yes | The 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 NO… |
| wait | boolean | – | Wait for the measurement result (tens of seconds) or return at once. `false` — when the user needs the run started, not its result. |
| Name | Type | Req | Description |
|---|---|---|---|
| delta | – | yes | – |
| message | string | yes | – |
| next_action | string | yes | – |
| previous_score | – | yes | – |
| project | string | yes | – |
| score | – | yes | – |
| timings | object | yes | – |
| verdict | string | yes | – |
No examples provided.
connect_analytics Подключить Яндекс.Метрику ~202
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`.
| Name | Type | Req | Description |
|---|---|---|---|
| branch | – | – | The branch whose traffic is counted. Defaults to the production branch; pass it only when the user asks to track a preview branch. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| connected | boolean | yes | – |
| counter_id | – | – | – |
| injection_mode | – | – | – |
| next_action | string | yes | – |
| oauth_url | – | – | – |
| project | string | yes | – |
| tracked_branch | – | – | – |
No examples provided.
connect_domain Подключить свой домен ~220
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.
| Name | Type | Req | Description |
|---|---|---|---|
| domain | string | yes | The domain without scheme or slash: `example.ru` or `www.example.ru`. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| checks | – | – | – |
| domain | string | yes | – |
| error | – | – | – |
| next_action | string | yes | – |
| next_check_hint | – | – | – |
| records | array | yes | – |
| state | string | yes | – |
| working | boolean | yes | – |
No examples provided.
data_api_grant Data API базы: доступ к методу ~480
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.
| Name | Type | Req | Description |
|---|---|---|---|
| apply | boolean | – | false (default) — only show the commands. true — apply them after the person's consent. |
| call | – | – | Calling the function. closed — nobody; visitor — any site visitor; user — people signed in to the app; server — only a server holding the secret key. |
| confirmed | boolean | – | true — 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 con… |
| database | – | – | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. |
| delete | – | – | Deleting rows of the table. Same levels as `get`. |
| expected_sql | – | – | The `sql` commands from the preview answer that the person saw. Required with confirmed=true: only these are applied. |
| get | – | – | Reading the table. closed — nobody; visitor — any site visitor; user — people signed in to the app; server — only a server holding the secret key. |
| object | string | yes | A table `schema.name` or a function `schema.name`; for an overloaded function — `schema.name(types)`. As listed by data_api_methods. |
| organization | – | – | Organization slug. Without it — the only one, or the personal one. |
| patch | – | – | Updating rows of the table. Same levels as `get`. |
| post | – | – | Inserting rows into the table. Same levels as `get`. |
| Name | Type | Req | Description |
|---|---|---|---|
| applied | boolean | yes | – |
| current | object | yes | – |
| database | string | yes | – |
| next | object | yes | – |
| next_action | string | yes | – |
| object | object | yes | – |
| organization | string | yes | – |
| sql | array | yes | – |
| warnings | array | – | – |
No examples provided.
data_api_keys Data API базы: ключи ~364
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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | – | `list` — keys with prefixes, no values; `issue` — issue a key, its value is returned ONCE; `revoke` — revoke the key named in `key`. |
| confirmed | boolean | – | true — 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 con… |
| database | – | – | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. |
| expires_in_days | – | – | For issue: lifetime in days; without it the key never expires. |
| key | – | – | For revoke: id or prefix of the key from the list. |
| kind | string | – | For issue: public — for the site (lives in the browser), secret — for a server only. |
| label | – | – | For issue: a label to recognise the key by in the list. |
| organization | – | – | Organization slug. Without it — the only one, or the personal one. |
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | – |
| database | string | yes | – |
| issued | – | – | – |
| keys | array | – | – |
| next_action | string | yes | – |
| organization | string | yes | – |
| revoked | – | – | – |
No examples provided.
data_api_methods Data API базы: методы и доступ ~127
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.
| Name | Type | Req | Description |
|---|---|---|---|
| database | – | – | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. |
| organization | – | – | Organization slug. Without it — the only one, or the personal one. |
| Name | Type | Req | Description |
|---|---|---|---|
| database | string | yes | – |
| functions | array | – | – |
| next_action | string | yes | – |
| organization | string | yes | – |
| tables | array | – | – |
No examples provided.
data_api_origins Data API базы: сайты ~262
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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | – | `list` — addresses of the database's projects and the manually added ones; `add` — allow a site; `remove` — remove a site. |
| confirmed | boolean | – | true — 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 con… |
| database | – | – | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. |
| note | – | – | For add: why the site was added. |
| organization | – | – | Organization slug. Without it — the only one, or the personal one. |
| url | – | – | For add and remove: the site origin with scheme, `https://shop.example`. |
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | – |
| changed | – | – | – |
| database | string | yes | – |
| next_action | string | yes | – |
| organization | string | yes | – |
| sites | object | – | – |
No examples provided.
data_api_probe Data API базы: проба метода ~358
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.
| Name | Type | Req | Description |
|---|---|---|---|
| body | – | – | Body for POST and PATCH. |
| database | – | – | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. |
| method | string | yes | HTTP method. |
| organization | – | – | Organization slug. Without it — the only one, or the personal one. |
| path | string | yes | Path from the database address: `/rest/v1/products`, `/rest/v1/rpc/order_create` or `/whoami` (GET only). |
| query | – | – | Query parameters, PostgREST style: {"select": "id,title", "price": "gt.100"}. |
| role | string | – | On whose behalf: visitor — a visitor with the public key, user — a signed-in user (needs user_id), server — the secret key. |
| schema | – | – | The 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 an… |
| user_id | – | – | For role=user: id of the app user. |
| Name | Type | Req | Description |
|---|---|---|---|
| body | – | – | – |
| body_shortened | boolean | – | – |
| body_truncated | boolean | – | – |
| caller | – | – | – |
| database | string | yes | – |
| elapsed_ms | – | – | – |
| next_action | string | yes | – |
| organization | string | yes | – |
| owner_total | – | – | – |
| request | object | yes | – |
| rollback_expected | – | – | – |
| rolled_back | – | – | – |
| rows | – | – | – |
| status | – | – | – |
| total | – | – | – |
No examples provided.
data_api_status Data API базы: состояние ~130
Whether the database has the Data API enabled, its address, keys and the sites allowed to call it. Keys are shown as prefixes only: the platform never returns values and does not store secret ones. The API cannot be enabled with a tool: enabling gives the database a public address, and that is the person's decision in the dashboard.
| Name | Type | Req | Description |
|---|---|---|---|
| database | – | – | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. |
| organization | – | – | Organization slug. Without it — the only one, or the personal one. |
| Name | Type | Req | Description |
|---|---|---|---|
| database | string | yes | – |
| enabled | boolean | yes | – |
| keys | array | – | – |
| next_action | string | yes | – |
| organization | string | yes | – |
| sites | object | – | – |
| url | – | – | – |
No examples provided.
deploy_logs Логи сборки и приложения ~384
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.
| Name | Type | Req | Description |
|---|---|---|---|
| deploy | – | – | Build id (a UUID from `list_deploys`). Without it the latest build is used. |
| include_noise | boolean | – | Build 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)… |
| kind | string | – | `build` — what the build printed. `runtime` — what the app itself prints (apps only, not static sites). |
| project | string | yes | The 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 NO… |
| tail | integer | – | How many of the last lines to return, at most 200. |
| Name | Type | Req | Description |
|---|---|---|---|
| deploy_id | string | yes | – |
| kind | string | yes | – |
| lines | array | yes | – |
| next_action | string | yes | – |
| noise_hidden | integer | – | – |
| project | string | yes | – |
| returned | integer | yes | – |
| truncated | boolean | yes | – |
| untrusted | string | – | – |
No examples provided.
diagnose_deploy Почему упала сборка ~701
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 detection — the platform does not record which. `candidate_app_dirs` is filled when the builder found several app folders in a monorepo and needs a `root_directory`. Three log excerpts, all untrusted: `build_log_excerpt` — the build itself; `launch_log_excerpt` — the platform's lines about starting the app after the build (container launch, readiness probe, wake-ups), empty for static sit…
| Name | Type | Req | Description |
|---|---|---|---|
| deploy | – | – | id 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. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| build_facts | object | – | – |
| build_log_excerpt | array | yes | – |
| candidate_app_dirs | array | – | – |
| deploy_id | string | yes | – |
| launch_log_excerpt | array | – | – |
| next_action | string | yes | – |
| next_actions | array | yes | – |
| project | string | yes | – |
| runtime_log_excerpt | array | yes | – |
| runtime_state | – | yes | – |
| stage | – | yes | – |
| status | – | yes | – |
| untrusted | string | – | – |
| verdict | – | yes | – |
No examples provided.
env_vars Переменные окружения проекта ~333
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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | – | `list` — show the names (values are never returned), `set` — set the variables from `values`, `unset` — remove the variables listed in `keys`. |
| keys | – | – | For `action="unset"`: names of the variables to remove. |
| project | string | yes | The 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 NO… |
| values | – | – | For `action="set"`: name → value pairs. The project's other variables are kept — no need to send them again. |
| Name | Type | Req | Description |
|---|---|---|---|
| changed | array | – | – |
| next_action | string | yes | – |
| project | string | yes | – |
| variables | array | yes | – |
No examples provided.
import_repo Проект из репозитория ~775
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_projects` — slug, url, root_directory and branch of every project built from this repository. On `created`, `linked_projects` lists the OTHER projects already built from the same repository; `linked_projects_checked: true` says the check was made, so an empty list means there are none (`my_projects(repo=…)` answers the same question later). When the root has no app and detection sees a…
| Name | Type | Req | Description |
|---|---|---|---|
| branch | – | – | Production branch. Defaults to the repository's default branch. |
| deploy | boolean | – | Finish 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`… |
| name | – | – | Project 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. |
| organization | – | – | Organization 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. |
| provider | string | yes | Provider: github, gitverse, gitlab, gitflic or sourcecraft. |
| repo | string | yes | Repository path at the provider: `owner/repo`; GitLab paths may be nested (`group/sub/project`). The form `gitverse:owner/repo` is accepted too. |
| root_directory | – | – | Monorepo: 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 f… |
| Name | Type | Req | Description |
|---|---|---|---|
| app_dir_candidates | array | – | – |
| branch | – | – | – |
| connect_url | – | – | – |
| first_deploy_id | – | – | – |
| linked_projects | array | – | – |
| linked_projects_checked | boolean | – | – |
| next_action | string | yes | – |
| organization | string | yes | – |
| project | – | – | – |
| project_id | – | – | – |
| provider | string | yes | – |
| repo | string | yes | – |
| root_directory | – | – | – |
| setup | – | – | – |
| setup_error | – | – | – |
| setup_url | – | – | – |
| status | string | yes | – |
| url | – | – | – |
| webhook_hint | – | – | – |
| webhook_registered | – | – | – |
| webhook_url | – | – | – |
No examples provided.
list_deploys История сборок проекта ~264
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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | How many of the latest builds to return. Default 10, at most 50. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| deploys | array | yes | – |
| next_action | string | yes | – |
| project | string | yes | – |
| project_type | string | yes | – |
No examples provided.
list_domains Домены проекта ~81
The project's own domains and their state.
| Name | Type | Req | Description |
|---|---|---|---|
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
list_environments Окружения проекта ~181
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 `-<branch>`); the production branch is ALSO served at the project's canonical address from `site_status` / `my_projects`. Take addresses from here, never assemble them.
| Name | Type | Req | Description |
|---|---|---|---|
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| environments | array | yes | – |
| next_action | string | yes | – |
| project | string | yes | – |
No examples provided.
list_sources Провайдеры и подключения репозиториев ~116
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.
| Name | Type | Req | Description |
|---|---|---|---|
| organization | – | – | Organization 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. |
| Name | Type | Req | Description |
|---|---|---|---|
| accounts | array | yes | – |
| connect_url | string | yes | – |
| next_action | string | yes | – |
| organization | string | yes | – |
| providers | array | yes | – |
No examples provided.
my_projects Мои сайты ~229
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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | How 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. |
| repo | – | – | Only 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` applie… |
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
project_create Новый пустой проект ~137
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.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | yes | Project name; the slug — the first label of `<slug>.layero.app` — is derived from it. |
| organization | – | – | Organization 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. |
| Name | Type | Req | Description |
|---|---|---|---|
| next_action | string | yes | – |
| organization | string | yes | – |
| project | string | yes | – |
| project_id | string | yes | – |
| url | string | yes | – |
No examples provided.
project_settings Настройки сборки проекта ~676
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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | – | `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. |
| build_command | – | – | Build command, whole: `npm run build`. |
| force_type | boolean | – | Set `project_type` even though the platform detected another type. |
| framework | – | – | Framework preset for a static build: `vite`, `nextjs`, `astro`, `generic`, `static` … |
| install_command | – | – | Install command. `""` resets to auto-detection by lockfile. |
| node_version | – | – | Node major, e.g. `22`. `""` resets to auto-detection. |
| output_directory | – | – | Folder that holds `index.html` AFTER the build (`dist`, `build`, `dist/client`). |
| package_manager | – | – | Package manager override. |
| port | – | – | Container apps: the port the app listens on. `0` resets to the default. |
| project | string | yes | The 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 NO… |
| project_type | – | – | How 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 `fo… |
| root_directory | – | – | App folder inside the repository (`apps/web`). `""` resets to the repository root. Changing it clears the detected framework and commands of the old folder. |
| start_command | – | – | Container apps: start command, listening on `0.0.0.0` and `$PORT`. `""` resets to detection by entry point. |
| Name | Type | Req | Description |
|---|---|---|---|
| changed | array | – | – |
| last_build | object | – | – |
| layero_json_warnings | array | – | – |
| next_action | string | yes | – |
| project | string | yes | – |
| project_type | string | yes | – |
| resolved | object | – | – |
| settings | object | yes | – |
No examples provided.
publish_landing Опубликовать сайт (старое имя) ~125
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`.
| Name | Type | Req | Description |
|---|---|---|---|
| files | array | yes | Same as in `publish_site`: the site files with `index.html` in the root. |
| project | – | – | Same as in `publish_site`: id of an existing project. |
| project_name | string | yes | Same as in `publish_site`: the project slug. |
| Name | Type | Req | Description |
|---|---|---|---|
| bytes | integer | yes | – |
| created_project | boolean | yes | – |
| deploy_id | string | yes | – |
| error | – | – | – |
| files | integer | yes | – |
| next_action | string | yes | – |
| project_id | string | yes | – |
| project_slug | string | yes | – |
| status | string | yes | – |
| url | string | yes | – |
No examples provided.
publish_site Опубликовать сайт ~570
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 build keeps going on its own. Never call this tool a second time to "retry" a build that is still running: that starts a SECOND build. Follow `next_action`.
| Name | Type | Req | Description |
|---|---|---|---|
| files | array | yes | The 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 | – | – | id 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. |
| project_name | string | yes | Project 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. |
| Name | Type | Req | Description |
|---|---|---|---|
| bytes | integer | yes | – |
| created_project | boolean | yes | – |
| deploy_id | string | yes | – |
| error | – | – | – |
| files | integer | yes | – |
| next_action | string | yes | – |
| project_id | string | yes | – |
| project_slug | string | yes | – |
| status | string | yes | – |
| url | string | yes | – |
No examples provided.
read_site Прочитать страницу сайта ~282
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.
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | – | Page path from the site root: `/`, `/about`, `/blog/post`. A page, not a file — the tool refuses files. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| external_origins | array | yes | – |
| forms | array | yes | – |
| headings | array | yes | – |
| http_code | integer | yes | – |
| images | array | yes | – |
| lang | string | yes | – |
| links | array | yes | – |
| meta | object | yes | – |
| next_action | string | yes | – |
| project | string | yes | – |
| served_fallback | boolean | yes | – |
| text | string | yes | – |
| text_truncated | boolean | yes | – |
| title | string | yes | – |
| untrusted | string | – | – |
| url | string | yes | – |
No examples provided.
refactor_site Применить правку к разметке сайта ~309
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.
| Name | Type | Req | Description |
|---|---|---|---|
| fix | string | yes | `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). |
| html | string | yes | The contents of `index.html` — the file on the user's disk. Read the file yourself and pass it here. |
| Name | Type | Req | Description |
|---|---|---|---|
| available_fixes | object | yes | – |
| changed | boolean | yes | – |
| changes | array | yes | – |
| fix | string | yes | – |
| html | – | – | – |
| next_action | string | yes | – |
No examples provided.
retry_deploy Перезапустить сборку ~464
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.
| Name | Type | Req | Description |
|---|---|---|---|
| branch | – | – | Only with `redeploy=true`: the branch to build. Defaults to the production branch. |
| deploy | – | – | Build id (a UUID from `list_deploys`). Without it the latest build is used. Ignored with `redeploy=true`. |
| project | string | yes | The 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 NO… |
| redeploy | boolean | – | `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 pro… |
| Name | Type | Req | Description |
|---|---|---|---|
| deploy_id | string | yes | – |
| next_action | string | yes | – |
| project | string | yes | – |
| status | string | yes | – |
No examples provided.
rollback Откатить сайт на прошлую сборку ~246
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.
| Name | Type | Req | Description |
|---|---|---|---|
| deploy | – | – | id of the build to roll back to. Without it the platform takes the nearest suitable earlier one. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| deploy_id | string | yes | – |
| next_action | string | yes | – |
| project | string | yes | – |
| status | string | yes | – |
No examples provided.
search_docs Поиск по документации ~225
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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | How many results to return, 1–20. |
| query | string | yes | What 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… |
| Name | Type | Req | Description |
|---|---|---|---|
| hits | array | yes | – |
| next_action | string | yes | – |
| query | string | yes | – |
| source | string | yes | – |
No examples provided.
site_analytics Трафик сайта ~143
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.
| Name | Type | Req | Description |
|---|---|---|---|
| period | string | – | Observation window: 7, 30 or 90 days. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| bounce_rate | – | – | – |
| devices | array | yes | – |
| next_action | string | yes | – |
| pageviews | integer | yes | – |
| period | string | yes | – |
| project | string | yes | – |
| state | string | yes | – |
| top_pages | array | yes | – |
| top_sources | array | yes | – |
| trend | – | – | – |
| untrusted | string | – | – |
| users | integer | yes | – |
| visits | integer | yes | – |
No examples provided.
site_issues Что чинить на сайте ~218
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.
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | – | Page path from the site root. Defaults to the home page. |
| project | string | yes | The 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 NO… |
| Name | Type | Req | Description |
|---|---|---|---|
| issues | array | yes | – |
| next_action | string | yes | – |
| performance_score | – | – | – |
| project | string | yes | – |
| untrusted | string | – | – |
| url | string | yes | – |
No examples provided.
site_screenshot Показать снимок сайта ~225
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.
| Name | Type | Req | Description |
|---|---|---|---|
| project | string | yes | The 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 NO… |
No output schema declared.
No examples provided.
site_status Как дела у сайта ~583
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.
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | – | Path 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`. |
| project | string | yes | The 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 NO… |
| wait_s | integer | – | Wait 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 cl… |
| Name | Type | Req | Description |
|---|---|---|---|
| answered_by | string | yes | – |
| branch | – | – | – |
| checked_url | string | yes | – |
| http_code | – | yes | – |
| last_deploy_id | – | – | – |
| last_deploy_stage | – | yes | – |
| last_deploy_status | – | yes | – |
| last_error | – | yes | – |
| next_action | string | yes | – |
| platform_screen | – | – | – |
| poll_after_s | – | – | – |
| project | string | yes | – |
| project_type | – | – | – |
| provider | – | – | – |
| redirect_to | – | – | – |
| repo | – | – | – |
| root_directory | – | – | – |
| served_fallback | – | – | – |
| serving | boolean | yes | – |
| source | string | yes | – |
| url | string | yes | – |
| waited_s | – | – | – |
No examples provided.
whoami Кто подключён к Layero ~50
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.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| – | yes | – | |
| next_action | string | yes | – |
| projects | integer | yes | – |
| username | – | yes | – |
No examples provided.
What is the Layero MCP server?
Layero is an MCP server listed in the public MCP registry as ru.layero/layero. Deploy and operate sites on Layero, hosting with build servers in Russia: domains, env, Data API. This page covers its hosted endpoint (https://mcp.layero.ru/mcp).
Is the Layero MCP server safe to use?
Layero scores 87 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Layero MCP server expose?
Layero exposes 35 tools: search_docs, whoami, my_projects, list_sources, import_repo, and 30 more. Their descriptions and schemas cost roughly 10,209 tokens of context every time the server is loaded.
Does the Layero MCP server require authentication?
Yes. Layero asked us for credentials when we connected, so you will need to authorise it in your MCP client before it can do anything.
Is the Layero MCP server still maintained?
Layero is still listed as active in the MCP registry. We last reached this channel on 21 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.