Levni
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
A post-AI center for designers. Open-source design engine for AI agents: covers, icons, brand boards and poster series from a few lines of JSON. No image model. No API key. No credit card. About 0.15 s a cover, on your laptop.
levni.dev · Editor · Gallery · Library · Docs · MCP · Community · Manifesto
. . .
/|\ /|\ /|\
( @@@@@@@@@ ) we are not an AI company.
\@@@@@@@@@/ we are not against AI either.
\@@@@@@@/ we just draw, and leave the source open.
\@@@/
| claude mcp add levni -- npx -y @levni/levni mcp
\\ | //
\\ | // try ↑ ↑ ↓ ↓ ← → ← → B A on levni.dev
~~~~~~~~|~~~~~~~~
make | one line to start |
a series of eight branding posters |
|
a nine-tile brand board |
|
a cover, sticker sheet or dithered hero |
|
all of it from your assistant |
|
a design by hand, no install |
Why Levni exists
Every other layer of the web went open source: the code, the fonts, the icons. The pictures did not. Making one small cover now means a credit card, an API key and a model in a good mood. Clients want it free, AI brought the fear of missing out, and every tool has a free trial.
We are living in a Tulip Era. Between 1718 and 1730 the Ottoman court fell in love with tulips and art bloomed; Levni, the painter this project is named after, painted it in colours that still look alive. Then it ended. The generative age blooms the same way. Levni is the other bet: a design commons, drawn as JSON you can read, diff and keep, made by people who still like making things.
We use AI every day. We just do not rent our taste from it. Read the manifesto.
Related MCP server: pixelbolt
Quick start
Try it in your browser first. The Levni editor runs the same engine in the page: drag drawings onto a canvas, turn them into 3D icons or ASCII, download PNG or SVG. The README banner maker turns a GitHub link into a 1280 × 640 banner. Both are free, with no sign-up.
Free in your agent. Levni draws on your machine, so the $20 Claude or ChatGPT plan you already have is enough: no image credits, no second bill. If Levni is useful to you, a star on GitHub helps others find it.
With an AI assistant (MCP). Claude Code:
claude mcp add levni -- npx -y @levni/levni mcpClaude Desktop, Cursor and other clients (claude_desktop_config.json, .cursor/mcp.json, …):
{ "mcpServers": { "levni": { "command": "npx", "args": ["-y", "@levni/levni", "mcp"] } } }Codex (~/.codex/config.toml):
[mcp_servers.levni]
command = "npx"
args = ["-y", "@levni/levni", "mcp"]Then ask: "Illustrate this article with Levni and fix what the critic reports."
From the terminal.
npm install @levni/levni
npx @levni/levni render scene.json out.png # or .webp / .svg; --format og|square|story|youtube; --preview
npx @levni/levni list coffee # search the library
npx @levni/levni sheet props.png rocket phone # contact sheet of props, every variantFrom code.
import { compose, critique, render } from '@levni/levni';
const scene = { seed: 4, elements: [{ type: 'prop', name: 'rocket', x: 600, y: 336, size: 360, shadow: true }] };
const { notes } = await render(scene, 'rocket.png'); // writes the file, returns the critic's notes
const { svg, used } = await compose(scene); // or just the SVGIn the browser. The same engine runs in a page (it powers the editor). Load the drawings and fonts a scene uses, then compose:
// vite.config.js: plugins: [levni()] (import levni from '@levni/levni/vite')
import { compose, registerProps, registerFont, toBlob } from '@levni/levni/browser';
registerProps([await (await fetch('/props/rocket.json')).json()]);
const { svg } = await compose({ seed: 4, elements: [{ type: 'prop', name: 'rocket', x: 600, y: 336, size: 360 }] });
const png = await toBlob(svg);The browser build skips what needs native code: print screens and the icon set.
Node 20+. Two dependencies: sharp (SVG to PNG and WebP) and fontkit (reads the bundled OFL fonts for posters and display type).
Renders are fast: a hand-inked cover takes about 0.15 s on a laptop (an M4 Mac), because Levni applies its crayon finish to the pixels itself instead of asking the SVG renderer to (about seven times faster, same picture). Batches of hundreds of images run in a minute or two, with no GPU. How it works.
Free makers in your browser
Each maker opens a finished example in the editor: change the words, the drawing and the colours, then download PNG or SVG. No install, no sign-up. When you want more, add the MCP server and ask your agent.
make | free maker |
stickers, seals, tickets | |
a brand board | |
branding posters | |
dithered pixel art | |
mesh gradients | |
ASCII art | |
wireframe terrain and etching | |
3D icons | |
pixel icons | |
isometric worlds | |
hand-drawn charts | |
blog covers and Open Graph images | |
a README banner from a repo link |
What it draws
The Levni Folio | 1,628 drawings, 3,409 variants (481 of them pixel icons), on 15 shelves, searchable in English and Turkish through ~11,800 tags. Each drawing in the Library has its tags, related drawings, copy-ready code and an SVG download. Renamed drawings keep their old names. No brand logos. CC BY 4.0. Browse |
Scenes and the critic | 73 element types on a 1200 × 673 canvas. Pressure-brush ink, riso plate misregistration, paper grain. Same seed, same picture. Every render returns layout notes: off-canvas, accidental crops, lopsided weight, no focal point. |
Style packs and your inks |
|
Soft 3D finish |
|
Little 3D worlds |
|
Faceless people |
|
Fusion slots | Put any drawing inside another: a chart on a TV screen, a tulip in a magnifier's lens. 64 hosts have slots. |
Hand-inked data |
|
Every format, plus a title | cover, og, square, story, youtube: recomposed, not cropped. Optional headline, kicker and brand layer. |
Brand assets |
|
Branding posters |
|
Brand boards |
|
Calm images for hard news | A blue-only pack for loss, disaster, illness, courts and grief. Guide |
The miniature pack, the soft finish and soft 3D, iso dioramas, people, slots and charts:
|
|
|
|
|
|
|
|
|
|
|
|
Brand assets: dither, screen, mesh gradients, glyph fills, seals, terrain, etching and a whole brand board:
|
|
|
|
|
|
Branding posters: one spec, eight posters in one series (split, map, bauhaus, echo, camo, vertical, summit, launch):


Full element reference: docs/scene.md · JSON Schema: docs/scene.schema.json · all example scenes: examples/
Use it from an agent (MCP)
levni mcp runs an MCP server over stdio, on your machine. Tools:
tool | what it does |
| the scene format ( |
| search the Folio by word, tag or shelf |
| a contact image of chosen props, every variant numbered |
| draw a scene: critic notes, a 560 px preview, and with |
| only the critic's notes, for quick iterations |
| a brand board from |
| eight branding posters and a series sheet from |
From a checkout, use "command": "node", "args": ["/path/to/levni/bin/levni.mjs", "mcp"]. Files from render_scene are written relative to the client's working directory. Agents without MCP can use the CLI the same way.
Ghost: images for your drafts
Add your Ghost Admin credentials to the server's env and three more tools appear:
{ "mcpServers": { "levni": { "command": "npx", "args": ["-y", "@levni/levni", "mcp"],
"env": { "GHOST_ADMIN_API_URL": "https://your-site.com", "GHOST_ADMIN_API_KEY": "<id>:<secret>" } } } }tool | what it does |
| read-only: drafts without images, their h2 headings, and one draft's full text |
| dry run: renders the cover and inline images, shows where each goes, returns a token |
| writes, only with the token from a preview of the same plan on the unchanged draft |
The assistant shows you the preview and applies after you say yes. Drafts only: nothing is published or emailed, a draft that already has images is skipped, at most one image per section. The key stays in your MCP config; Levni has no server of its own. Without the two variables the Ghost tools do not exist. The same flow from the terminal: levni ghost drafts and levni ghost attach plan.json [--apply]. Details: docs/ghost.md.
CLI
command | what it does |
| draw a scene ( |
| search props by name, old name or tag (English or Turkish) |
| contact sheet, every variant on paper and on blue ( |
| brand board: |
| branding posters: |
| import props a chat model wrote: check, write, draw, print style notes (prompt, guide) |
| measure props for agents that cannot see images; with names, also style notes |
| the MCP server |
| the Ghost adapter (docs) |
| optional: rate renders with your own OpenRouter key (docs) |
Optional extras: the icon and ascii elements use Tabler Icons when installed (npm install @tabler/icons, or LEVNI_ICONS=/path). Your own prop folders: LEVNI_PROPS=/path/to/props (several, separated by :).
LEVNI_RASTER=rsvg switches back to the SVG renderer's own filter (slower; useful to compare). In code: import { rasterize } from '@levni/levni' turns any Levni SVG into a PNG (or raw pixels with { raw: true }, at any density).
Keys and privacy
Drawing needs nothing: no account, no key. Two optional integrations bring your own key, kept in your environment or MCP config: Ghost (GHOST_ADMIN_API_URL, GHOST_ADMIN_API_KEY) and the judge (OPENROUTER_API_KEY). Levni sends your scenes and keys nowhere else.
Community: open design, together
Levni is a commons, and there are five ways in. All of them are open: levni.dev/community.
door | how |
Draw for the Folio | one JSON file per drawing in |
Ask for a drawing | prop request: say what scene needs it |
Share a style pack | style pack: the whole library in your palette |
Bring your brand, show your work | showcase: a brand.json, a README banner, a poster series, with the scene |
Talk | issues, and the Code of Conduct for everyone |
A drawing looks like this:
{
"name": "watering-can",
"category": "home",
"tags": ["garden", "water", "sulama"],
"author": "Your Name",
"variants": [
{ "note": "side view, spout to the right", "paths": [
{ "d": "M20 40 L70 40 L66 86 L24 86 Z", "fill": "tone", "stroke": "ink", "weight": 9 },
{ "d": "M70 52 L92 30", "stroke": "ink", "weight": 9 }
] }
]
}Rules: your own drawing (inspired by a style is fine, tracing a work is not), no faces, no hands, no logos, one object per file, readable at 120 px. Full guide: CONTRIBUTING.md, naming and tagging: docs/folio-guide.md, file schema: docs/prop.schema.json, why no logos: BRAND_LOGOS.md. Writing many at once with a chat model: docs/prop-prompt.md.
Wanted for the Folio crew: illustrators, type nerds, riso printers, icon pedants, agent tinkerers, prompt sceptics, OSS maintainers, brand people, miniature fans, people who still sketch. Reward: your name in every scene that uses your work.
Licensing
Code (
src/,bin/,adapters/,test/): MIT.Levni Folio (
library/): CC BY 4.0. Use it anywhere, commercially too; credit "drawings by Ortak Alan (CC BY 4.0)". Origins and flagged drawings:library/NOTICE.md.Tabler Icons (MIT, Paweł Kuna): an optional peer dependency, not shipped. Props redrawn from Tabler shapes say so in their files.
Images you render are yours; the CC BY credit applies when they contain library drawings.
Repository
folder | what |
| the engine: compose, ink, pen, iso, assets, ribbons, people, charts, slots, formats, title, critic, styles, MCP |
| the browser build (shims for |
| the CLI |
| the Ghost adapter |
| the Levni Folio and its licence |
| scene reference and schema, prop schema, Ghost, judge, sensitive stories, the chat-model prompt |
| scenes and their renders |
| levni.dev (Astro, static, Cloudflare Pages; images drawn by Levni: |
|
|
Made and used by Ortak Alan, the same crew as cartcurt.xyz. Inspired by our friend Berk Boz and Zero Bytes Foundation: consume, curate, cogitate, create. Named after Levni, court painter of the Tulip Era (d. 1732).
No image model was harmed in the making of this README.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Deterministic image rendering for agents: JSON template in, on-brand PNG out.
Give agents instant OG image generation, social metadata audits, and rendering guidance.
Agent-Native design tool - create and edit visual designs with agent assistance
Generate your app's mascot, then props, poses and animations that stay on-model.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to convert natural-language briefs into structured visual specs, deterministically render typography and layouts, and run constraint-aware visual QA and targeted repair for image generation.41 npmApache 2.0
- AlicenseAqualityBmaintenanceEnables agents to author, validate, inspect, patch, and render editable JSON pixel-art and animation recipes through local tools, producing PNG contact sheets, APNGs, sprite atlases, and related export bundles.281,365 npm141MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to model, sculpt, rig, animate and bake particle effects by editing a semantic scene document, with built-in software rendering, measurable critics that flag floating or broken geometry, and game-ready glTF export. It exposes templates, atomic edit batches, motion and effect previews, undo history, and no GPU, browser, or Blender required.31 npmApache 2.0

keyline-mcpofficial
FlicenseNot gradedqualityBmaintenanceEnables AI agents to author designs as structured JSON scenes and render them to PNG, JPEG, WebP, vector PDF, animated PNG, GIF, MP4 or WebM at every target size, using one native binary with no browser or headless Chrome.6-
















