Keyline logo

Keyline

Create structured, multi-size designs and render them to images, video, and documents without headless Chrome.

Install Keyline

Run the project’s own setup commands, in order.

Setup steps from the project

keyline installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    brew install keyline-dev/tap/keyline-mcp
    
  2. 2. Install
    sudo apt install ./keyline-mcp_<version>-1_amd64.deb
    
  3. 3. Start the server
    docker run -i --rm -v keyline:/data ghcr.io/keyline-dev/keyline-mcp
    
  4. 4. Install
    cargo build --release
    
  5. 5. Add to Codex
    codex mcp add keyline -- keyline-mcp
    
  6. 6. Add to Claude Code
    claude mcp add --scope user keyline -- keyline-mcp
    

Overview

keyline MCP server lets AI agents author structured design scenes, adapt layouts across target sizes, validate defects, and render finished assets. It uses a native Rust binary built on Skia, with GPU rendering and a deterministic CPU fallback instead of browser automation. Agents edit scenes through a small set of batched tools and receive measurements describing what needs fixing at each size. Reach for keyline when you need reproducible social posts, advertisements, banners, or animated designs with consistent text, fonts, colors, and layout rules.

Use cases

  • Create multi-size social media campaigns
  • Generate responsive display advertisements
  • Render animated event flyers and banners
  • Check layouts for overflow before export

Key features

  • Structured scene editing with batched MCP tools
  • Adaptive layouts for social and advertising sizes
  • Measured defect checks for every target size
  • Native Skia rendering without headless Chrome
  • Text, image, icon, paint, and animation support
  • Export to raster, document, and video formats

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 42d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.

How Keyline works

What keyline does

keyline gives an AI agent a structured design system for creating and checking visual assets. Rather than asking the agent to manipulate pixels or drive a browser, it keeps each design as typed scene data: layers, layout rules, styles, tokens, components, and target sizes. The agent can describe a design once, then produce variants such as social posts, feed ads, and display banners.

The renderer supports output for still and animated media, including PNG, JPEG, WebP, PDF, animated PNG, GIF, MP4, and WebM. Designs can include text, images, video, icons, geometric shapes, nested frames, and reusable components. Text uses real fonts, including Google Fonts downloaded and cached on first use, the bundled Inter font, and user-supplied font files.

How it works

A scene starts with a master layout and a list of output sizes. Keyline lays out the scene again for each size using stacks, grids, sizing rules, constraints, safe areas, and per-size or per-aspect overrides. Media-style changes allow a layer to vary for a particular size or aspect class, while components and data-row templates support repeated content.

After an edit, the agent receives changed identifiers, a version, and either an ok result or structured problems. Checks report objective defects, advisories, and facts, including measurements that indicate how to correct an issue. This lets the agent fix overflow and other layout problems without inspecting screenshots or reading the full scene after every change.

Rendering uses Skia through a native Rust binary. GPU rendering is the default, with CPU rendering available as a fallback; CPU output is deterministic for repeatable results. The design format uses familiar CSS-style names and values for concepts such as flexbox fields, grid fields, font weight, border radius, and RGBA colors, while its layout behavior is documented separately from browser layout.

Setup and configuration

keyline is intended for MCP clients and has no graphical user interface. The project points users to keyline.dev for client setup, examples, and benchmark information, and organizes its concepts, scene format, tools, and configuration in separate documentation.

Font handling is part of the rendering setup. Google Fonts can be referenced by family name and are downloaded on first use, then cached in the font index. Inter is included, and additional font files can be added. Icons are addressed by name, with built-in Lucide and Font Awesome Free collections.

Tools and capabilities

The server exposes six batched tools designed for language-model use. Scene changes can add or update layers, including through operations such as layer_add and layer_update. Layers include text, images, video, icons, rectangles, ellipses, polygons, paths, lines, frames, spacers, first-fit choices, and component instances.

Layout features cover rows, columns, grids, wrapping, gaps, padding, alignment, justification, flexible growth, minimum and maximum sizes, aspect ratios, placement, scaling, constraints, and common social or advertising size presets. Text supports wrapping and fitting, inline styling, weights, spacing, line-height, case changes, curved text, dot leaders, highlights, outlines, and image, pattern, or gradient fills.

Paint and image operations include gradients, patterns, film grain, strokes, shadows, blur, masks, blend modes, crop and fit behavior, focus points, and image adjustments. Motion supports enter and exit effects, keyframes, GSAP-style easing, random starts, staggered children, and text splitting.

Limitations and notes

keyline is LLM-first and LLM-only: it has no GUI and is built around agents authoring structured scenes. Its layout system is not intended to reproduce browser layout exactly. The server focuses checks on measurable defects and reports advisories or facts separately, leaving visual judgment to the model. Browser automation dependencies such as headless Chrome, Puppeteer, and Playwright are not part of the rendering approach.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Keyline

keyline is an MCP server that connects AI agents to a structured design scene and a native Skia renderer. Its main tools let agents add and update layers, adapt layouts across sizes, inspect measured defects, and export images, documents, or video without using headless Chrome.

Use the setup instructions at keyline.dev to configure keyline for an MCP client. The project also provides separate documentation for its concepts, scene format, tools, and configuration.

Yes, keyline works with Cursor. It is also described as compatible with Claude Code, Claude Desktop, Codex, Gemini CLI, and MCP clients generally.

keyline renders through a native Rust binary using Skia rather than headless Chrome, Puppeteer, or Playwright. GPU rendering is used by default, with a deterministic CPU fallback.

keyline can render PNG, JPEG, WebP, PDF, animated PNG, GIF, MP4, and WebM outputs for each target size.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKeyline AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/keyline?style=directory)](https://allmcps.com/mcp/keyline)
HTML Embed
<a href="https://allmcps.com/mcp/keyline"><img src="https://allmcps.com/api/badge/keyline?style=directory" alt="Keyline on AllMCPs" /></a>