# Layero MCP server

> Lets an AI client deploy websites, manage custom domains, and interact with Postgres databases via a Data API.

- Repository: https://github.com/LayeroInfra/layero-agents
- Page: https://hostedmcp.org/servers/layeroinfra/layero-agents
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 2.4.0

## Install

### Claude Code

```sh
claude mcp add --transport http layero-agents https://mcp.layero.ru/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "layero-agents": {
      "url": "https://mcp.layero.ru/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "layero-agents": {
      "type": "http",
      "url": "https://mcp.layero.ru/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"layero-agents","type":"http","url":"https://mcp.layero.ru/mcp"}'
```

### Codex

```sh
codex mcp add layero-agents --url https://mcp.layero.ru/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.layero-agents]
url = "https://mcp.layero.ru/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http layero-agents https://mcp.layero.ru/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "layero-agents": {
      "url": "https://mcp.layero.ru/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `LAYERO_TOKEN` | no | no |  |

## FAQ

### How can I deploy a site using the CLI?

You can deploy using the command `npx layero@latest deploy`.

### How do I use Layero in CI or headless environments?

Use the `LAYERO_TOKEN` environment variable, which you can generate at app.layero.ru/settings/cli or via `npx layero@latest token create`.

### Does the MCP server run locally?

No, the MCP server is a remote Streamable HTTP server and nothing runs locally.

### What tools are available through the MCP server without signing in?

Users can access `search_docs`, `check_copy`, and `refactor_site` without an account.
