# keyline

keyline is an MCP server for Claude Code that renders multi-size banners and motion graphics from JSON scenes without headless Chrome.

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

## What it does

keyline turns JSON scene descriptions into static images and video clips. Rather than driving Puppeteer or Playwright, the engine relies on a native Rust binary built on Skia. The agent writes structured layers such as text, frames, and shapes once. The engine then renders matching assets across target aspect ratios, including social feed posts and leaderboard banners.

The engine eliminates screenshot parsing. Edits return exact layout measurements and defect flags rather than rendered previews. This approach cuts token consumption in half compared to headless Chrome. Output rendering runs on the GPU, with an automatic fallback to the CPU for strictly deterministic files.

Running the server requires Docker on the host machine. Without an active Docker runtime, the `ghcr.io/keyline-dev/keyline-mcp:0.8.1` image cannot start.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add keyline -- docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1
```

### Codex

**Platform CLI**
```bash
codex mcp add keyline -- docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "keyline": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/keyline-dev/keyline-mcp:0.8.1"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "keyline": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/keyline-dev/keyline-mcp:0.8.1"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add keyline docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1
```

## When to use it
- render multi-size ad sets from a single structured scene description
- export marketing graphics to PNG, WebP, and PDF without headless Chrome
- fix layout overflows using numeric measurements instead of image previews
- produce animated MP4 or WebM motion teasers via agent tool calls

## Example prompts
- Build a square Instagram post and a display banner for our product launch using keyline
- Check the promo scene for overflowing text boxes and render it to PNG and WebP
- Generate a short animated teaser video for our festival announcement

## Similar
- [react-native-skia](https://affpapa.org/en/nevibecode/skills/react-native-skia.md) — skill · 133 installs
- [sale-banner](https://affpapa.org/en/nevibecode/skills/sale-banner.md) — skill · ★ 190 repo stars
- [banner-creator](https://affpapa.org/en/nevibecode/skills/banner-creator.md) — skill · 1800 installs
- [Keyline Icons](https://affpapa.org/en/nevibecode/mcp/keyline-icons.md) — MCP server · ★ 235 repo stars
- [02-design-share](https://affpapa.org/en/nevibecode/prompts/02-design-share.md) — prompt · ★ 289 repo stars
- [03-minimal-showcase](https://affpapa.org/en/nevibecode/prompts/03-minimal-showcase.md) — prompt · ★ 289 repo stars

---
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
