keyline — Claude Code MCP server: what it does, how to install
keyline is an MCP server for Claude Code that renders multi-size banners and motion graphics from JSON scenes without headless Chrome.
no license ★ 6 updated 2026-10-11
claude mcp add keyline -- docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1What keyline 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.
What it helps with
- 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 for the agent
- 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
How to install keyline
Platform CLI
claude mcp add keyline -- docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1Platform CLI
codex mcp add keyline -- docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1Config file
{
"mcpServers": {
"keyline": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/keyline-dev/keyline-mcp:0.8.1"
]
}
}
}Config file
{
"servers": {
"keyline": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/keyline-dev/keyline-mcp:0.8.1"
]
}
}
}Platform CLI
gemini mcp add keyline docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about keyline
How to install keyline in Claude Code?
Run claude mcp add keyline -- docker run -i --rm ghcr.io/keyline-dev/keyline-mcp:0.8.1 in your terminal. Docker must be running on your system for the command to succeed.
What makes keyline different from browser-based renderers?
It avoids Puppeteer and headless Chrome entirely by using a native Rust binary with Skia. The agent receives numeric layout metrics instead of inspecting screenshots, spending roughly half the tokens.
Which export formats does keyline support?
The server exports static visuals to PNG, JPEG, WebP, and PDF. Animated scenes render to MP4, WebM, GIF, or animated PNG.