Skip to content

Repository files navigation

Layero for Claude Code

English · Русский

Layero — российская платформа хостинга и деплоя фронтенд-приложений. Деплой одной командой npx layero deploy, серверы и CDN внутри России, поддержка Next.js / Vite / Astro / SvelteKit / Nuxt и деплой прямо из AI-агентов (Cursor, Claude Code).

🌐 Сайт: https://layero.ru · 📚 Документация: https://docs.layero.ru · 📦 npm: https://www.npmjs.com/package/layero

Официальный маркетплейс плагина @layero для Claude Code.

Установка

/plugin marketplace add LayeroInfra/layero-claude
/plugin install layero@layero-claude

После установки в чате доступен @layero.

Подключение аккаунта

Собрать лендинг можно сразу — подбор структуры и дизайн-системы работает без авторизации. Публикация требует токен: выпустите его на app.layero.ru/settings/cli и положите в переменную окружения — плагин подставит её в заголовок сам.

export LAYERO_TOKEN="<ваш токен>"

Переменную удобно держать в профиле оболочки (~/.zshrc, ~/.bashrc), чтобы она была и в следующих сессиях. Если её не задать, публикация ответит, что токен не принят, и укажет ту же страницу.

Что делает @layero

Плагин подключает MCP-сервер Layero и позволяет собрать готовый лендинг прямо в чате IDE — без редактора и терминала:

@layero хочу лендинг для воркшопа по гончарке, тёплый винтажный стиль
  • 5 дизайн-систем — minimal, editorial, terminal, warm, bold
  • 6 структур — masterclass, portfolio-dev, portfolio-designer, portfolio-mentor, event, saas
  • Квизы прямо в IDE — плагин уточняет мотивацию, стиль и интеграцию через нативные формы
  • Деплой встроен — после генерации файлов страница публикуется на Layero

В отличие от CLI, который деплоит существующий проект, @layero создаёт лендинг с нуля по короткому брифу.

Подробнее — что такое @layero, каталог дизайнов и структур, интеграции форм.

Другие IDE

IDE Установка
Cursor Кнопка Add to Cursor на land.layero.app
Claude Code Две команды выше
Codex codex mcp add layero --url https://mcp.layero.ru/mcp --bearer-token-env-var LAYERO_TOKEN

Полная инструкция — docs.layero.ru/plugin/install.

Как плагин себя ведёт

Правила поведения @layero — тон, что он решает сам, чего не делает никогда — зафиксированы в SOUL.md. Этот файл загружается в каждый диалог как контекст высшего приоритета, так что он же и есть описание того, чего ждать от плагина.

Что внутри репозитория

.claude-plugin/marketplace.json   — описание маркетплейса
server.json                       — запись в официальном MCP-реестре
SOUL.md                           — правила поведения плагина
.mcp.json                         — подключение MCP-сервера из корня
rules/layero-deployment.mdc       — правило для Cursor: деплой через CLI
skills/deploy-to-layero/SKILL.md  — Agent Skill с тем же сценарием
plugins/layero/
  ├── .claude-plugin/plugin.json  — манифест плагина
  └── .mcp.json                   — подключение MCP-сервера mcp.layero.ru

Корневые .mcp.json, rules/ и skills/ лежат по стандарту Open Plugins — по ним репозиторий находят сканеры каталогов. Для самого плагина Claude Code источник правды — plugins/layero/.

Плагин не содержит кода: вся логика живёт в remote MCP-сервере https://mcp.layero.ru/mcp (Streamable HTTP).


English

Layero is a frontend hosting and deployment platform whose build servers and CDN sit inside Russia — which is the point: sites load fast for Russian visitors without a VPN, and deploys do not cross the border. It ships a local directory in one command (npx layero deploy), with framework detection for Next.js, Vite, Astro, SvelteKit and Nuxt.

This repository is the official Claude Code marketplace for the @layero plugin, and the source of record for Layero's remote MCP server.

Install

/plugin marketplace add LayeroInfra/layero-claude
/plugin install layero@layero-claude
IDE How
Claude Code the two commands above
Cursor the Add to Cursor button on land.layero.app
Codex codex mcp add layero --url https://mcp.layero.ru/mcp --bearer-token-env-var LAYERO_TOKEN

The server is remote (Streamable HTTP at https://mcp.layero.ru/mcp), so there is nothing to install locally and no Node process on your side.

It is also listed in the official MCP registry as ru.layero/layero and on Smithery, if your client installs servers from a catalogue.

Connecting your account

Building a landing page works right away — picking a structure and a design system needs no authentication. Publishing needs a token: issue one at app.layero.ru/settings/cli and put it in an environment variable; the plugin substitutes it into the header itself.

export LAYERO_TOKEN="<your token>"

Keep it in your shell profile (~/.zshrc, ~/.bashrc) so later sessions pick it up. Without it, publishing replies that the token was not accepted and points at the same page.

What it does

It is not only a page generator. The endpoint currently exposes 16 tools covering the whole life of a site:

  • buildlist_design_systems, list_structures, compose_landing
  • shippublish_landing, add_integration
  • operatesite_status, diagnose_deploy, check_performance
  • setupenv_vars, connect_domain, check_domain, list_domains
  • analyticsconnect_analytics, site_analytics
  • accountwhoami, my_projects

Ask it for a landing page and it runs two or three short quizzes as native IDE forms (through MCP elicitation), writes the files, and publishes them. Later you can ask why a build failed, attach a custom domain, or compare page speed against the previous deploy — in the same conversation.

The plugin ships no code of its own: all logic lives in the remote server. How it behaves — what it decides on its own, what it never does — is written down in SOUL.md, which is loaded into every conversation as top-priority context.

Also in this repository

Docs: https://docs.layero.ru/en/plugin/intro/ · Website: https://layero.ru · npm: https://www.npmjs.com/package/layero

Not to be confused with Layer0 / Edgio, or with layero.com — unrelated products.

Лицензия

MIT

About

Official Claude Code marketplace and remote MCP server for Layero — frontend hosting with build servers in Russia. Build a landing page in your IDE chat, publish it, connect a domain and analytics.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors