# Layerre

Turns a Canva design into a reusable Layerre template, edits its layers and renders PNG, JPEG, WebP or PDF from your data, all inside the agent chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: Layerre
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Layerre/layerre-mcp
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/layerre

## What it does

This server links an assistant to Layerre. A shared Canva link becomes an editable template: text, images, positions, styling. The agent then renders variants as PNG, JPEG, WebP or PDF, swapping layer values on each run. Bulk calls take up to 25 variants at a time.

Point the client at the hosted endpoint `https://mcp.layerre.com/mcp`, which speaks Streamable HTTP and signs you in through the browser with OAuth 2.1 and PKCE. Or run a local stdio process with `npx -y @layerre/mcp-server`.

Headless runs such as CI jobs need an API key created in the Layerre dashboard under Settings → API keys; it goes into the `Authorization` header or into `LAYERRE_API_KEY`. Tools cover reads and writes, so an agent can build and change templates as soon as it is connected.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.layerre.com/mcp`
- Environment variables: `LAYERRE_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http layerre https://mcp.layerre.com/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env LAYERRE_API_KEY=<LAYERRE_API_KEY> --transport stdio layerre -- npx -y @layerre/mcp-server
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add layerre --url https://mcp.layerre.com/mcp
```

2. **Platform CLI**
```bash
codex mcp add layerre --env LAYERRE_API_KEY=<LAYERRE_API_KEY> -- npx -y @layerre/mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "layerre": {
            "url": "https://mcp.layerre.com/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "layerre": {
            "command": "npx",
            "args": [
                "-y",
                "@layerre/mcp-server"
            ],
            "env": {
                "LAYERRE_API_KEY": "<LAYERRE_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "layerre": {
            "type": "http",
            "url": "https://mcp.layerre.com/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "layerre": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@layerre/mcp-server"
            ],
            "env": {
                "LAYERRE_API_KEY": "<LAYERRE_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http layerre https://mcp.layerre.com/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e LAYERRE_API_KEY=<LAYERRE_API_KEY> layerre npx -y @layerre/mcp-server
```
Replace <…> with your own values

## When to use it
- turn a Canva share link into an editable template
- rewrite a text layer with campaign copy
- render a PNG card from template data
- batch-render PDF variants in one call
- tag templates so the agent can find them

## Example prompts
- Save `https://www.canva.com/design/...` as a template and tag it `social`
- List my templates tagged `social` and show their layers

## Similar
- [oma-slide](https://affpapa.org/en/nevibecode/skills/oma-slide.md) — skill · ★ 1472 repo stars
- [canva-creator](https://affpapa.org/en/nevibecode/skills/canva-creator.md) — skill · 2200 installs
- [canva](https://affpapa.org/en/nevibecode/skills/canva.md) — skill · 1200 installs
- [canva-automation](https://affpapa.org/en/nevibecode/skills/canva-automation.md) — skill · 149 installs
- [canva-bulk-create](https://affpapa.org/en/nevibecode/skills/canva-bulk-create.md) — skill · ★ 8052 repo stars
- [pinterest-pin-design](https://affpapa.org/en/nevibecode/skills/pinterest-pin-design.md) — skill · 1200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
