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

Hand-inked, riso-printed illustrations from a JSON scene. Design assets for agents and publishers: covers, spot illustrations, icons and social images, drawn by code in one consistent house style, with no image model, no API key and no per-image cost.
Website: levni.dev · Powered by Ortak Alan. Named after Levni, the 18th-century Ottoman miniaturist of the Tulip Era, whose colours were famously alive.
cover | spot | little 3D world |
|
|
|
The same room in the miniature style pack:

The soft finish:
|
|
|
Why
Agents can draw. A scene is plain JSON: an agent (or a person) places props, panels and textures; Levni does the hand. Same seed, same picture.
One look across hundreds of images. Ortak Alan made ~500 article images with it: pressure-brush ink, riso plate misregistration, crayon paper grain.
A shared library: the Levni Folio. 474 drawn props (708 variants), CC BY 4.0, open to contributions.
A critic built in. Every render returns layout notes (off-canvas, accidental crops, lopsided weight, no focal point) an agent can act on before a human looks.
Style packs. The same scene printed with other inks and paper:
riso(Ortak Alan's house look, default) andminiature, inspired by Tulip Era Ottoman painting, with its own tulips, carnations, cypresses and gilded medallion. Levni does not have to invent every look itself: it can take a tradition as its reference and then draw in it consistently. Set"style": "miniature"on a scene; a pack is a colour map insrc/styles.mjs.A soft 3D finish.
"finish": "soft"swaps the crayon for clean edges and film grain, with twisting gradientribbons, shadedtubes and animagebadge for a logo you own. Good for tech and guide covers. Examples:ribbon-loop,ribbon-s,ribbon-rings.An MCP server.
npx levni mcpgives assistants five tools: read the scene guide, search the Folio, see props, render a scene and read the critic. See Use it from an agent.
Related MCP server: pixelbolt
Install and use
npm install github:BoraGkc/levni # not on npm yet; `npm install levni` once it isnpx levni render scene.json out.png # or out.webp / out.svg; --preview also writes a 560 px JPEG
npx levni sheet props.png rocket phone # contact sheet of props (all variants, on paper and on blue)
npx levni list coffee # find props by name or tag
npx levni add batch.txt --sheet batch.png # import props a chat model wrote, check them, draw themimport { compose, critique, render } from '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 SVG stringRequires Node 20+. The only dependency is sharp for rasterizing. The icon and ascii elements use Tabler Icons (MIT, ~5,500 icons) when installed: npm install @tabler/icons, or point LEVNI_ICONS at a folder holding outline/ and filled/.
Your own prop folders: set LEVNI_PROPS=/path/to/props (several, separated by :), or call addPropDir().
Use it from an agent (MCP)
levni mcp runs an MCP server over stdio. Tools:
tool | what it does |
| the scene format (this repo's |
| search the Folio by word or tag (English and Turkish) |
| 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 |
Claude Code:
claude mcp add levni -- npx -y github:BoraGkc/levni mcpClaude Desktop, Cursor and other clients (claude_desktop_config.json, .cursor/mcp.json, …):
{ "mcpServers": { "levni": { "command": "npx", "args": ["-y", "github:BoraGkc/levni", "mcp"] } } }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 call the CLI the same way.
Scene format
{ "seed": 5, "clip": [60, 52, 1080, 569], "elements": [
{ "type": "panel", "x": 60, "y": 52, "w": 1080, "h": 569, "color": "blue" },
{ "type": "prop", "name": "rocket", "x": 780, "y": 300, "size": 380, "rot": 20 },
{ "type": "crowd", "x": 90, "y": 560, "w": 520, "rows": 2, "size": 130, "highlight": "coral" }
] }Canvas 1200 × 673. 39 element types: library props and your own path drawings (with extrusion, hatch shading and cast shadows), small isometric worlds, panels, glyph fields, halftones, flow fields, faceless crowds and isotype grids, bubbles, trees, flags, arrows, labels. Full reference: docs/scene.md; JSON Schema: docs/scene.schema.json.
Licensing
Code (
src/,bin/,test/): MIT.Levni Folio, the prop library (
library/): CC BY 4.0. Use it anywhere, commercially too; credit "drawings by Ortak Alan (CC BY 4.0)". Where the drawings come from and which ones are flagged:library/NOTICE.md.Tabler Icons are MIT (Paweł Kuna), an optional peer dependency, not shipped in this package.
Images you render are yours; the CC BY credit applies when they contain library props.
Submit to the Folio
Short version below; the full guide is CONTRIBUTING.md.
The Levni Folio grows by contribution. A prop is one JSON file in library/props/ (to write many at once with any chat model, see docs/prop-prompt.md and levni add):
{
"name": "watering-can",
"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 },
{ "d": "M30 40 Q45 18 60 40", "stroke": "ink", "weight": 8 }
] }
]
}Format.
nameis the file name: lowercasea-z0-9and hyphens, English.tagsin any language. Draw in a 0–100 box, roughly centred, the object filling 70–90 of it. Paths use colour names (ink,blue,tone,coral,mustard,green,paper,white), not hex, so palettes can be swapped.weightis the line width in output pixels (6–10 reads well). A second angle or state of the same object is another variant, not another prop.Inspired by, not copied from. Drawing in the spirit of a style or tradition (a miniature tulip, a riso poster) is welcome; tracing a specific work is not.
Check it.
npx levni sheet check.png watering-canshows every variant on paper and on blue;npm testvalidates and renders the whole Folio.Review rules.
Own work only. Drawn by you, not traced from photos, icon sets, stock or other illustrations. AI-assisted path code is accepted when you directed and checked it; say so in the pull request.
No faces. No human faces, portraits or hands; people only as faceless pictograms.
No logos or trademarks, and nothing that reads as one (a bitten apple, a swoosh, a real flag by accident).
One object, one idea. No text inside drawings, no scenes (compose those in a scene file).
House style. Simple shapes, two inks plus paper, readable at 120 px.
License. By submitting to the Folio you release the drawing under CC BY 4.0 and are credited in its
authorfield.
Website
site/ is the levni.dev site (Astro, static, Cloudflare Pages). Its images are drawn by Levni: npm run assets in site/ re-renders them, npm run build builds site/dist.
Tests
npm test # validates every prop file, composes each variant alone, rasterizes all 708 variants once (~30 s)Levni is made and used by Ortak Alan.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
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,278 npm132MIT
- 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.10 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-





