agentleFS
arikusiarikusi/nakkas/llms.txt

nakkas

llms.txt24 starsChanged 8 months agoMITView on GitHub

MCP server that turns AI into an SVG artist. One flexible rendering engine, AI decides everything via JSON config. Produces animated, production-ready SVGs with mathematical curves, pattern layouts and filter effects. Nakkas exposes three MCP tools: Pure declarative SVG: no JavaScript, no event handler injection. Works in GitHub READMEs, web pages, design tools, and anywhere SVG renders.

  • In this repositoryOne other file it gives its agents.

The file

Files
llms.txt
# Nakkas

> MCP server that turns AI into an SVG artist. One flexible rendering engine, AI decides everything via JSON config. Produces animated, production-ready SVGs with mathematical curves, pattern layouts and filter effects.

## What It Does

Nakkas exposes three MCP tools:

* `render_svg` takes a structured JSON config describing an SVG scene, renders it, and returns a PNG preview plus a server-side artifact id and design analysis notes. Add output:{svg:true} to also get the SVG text. No templates, no presets. The AI is the creative director.
* `preview` re-renders a stored artifact (by id) or a raw SVG string to a PNG image (base64) for visual inspection.
* `save` saves a stored artifact (by id) or raw content to disk as SVG (text) or PNG (raster). Auto-increments filename to prevent overwriting.

## Key Links

* README: https://github.com/arikusi/nakkas/blob/main/README.md
* Full documentation (single file for LLM context): https://github.com/arikusi/nakkas/blob/main/llms-full.txt
* Dogfooding log (how each release is verified, prompts + iterations + assets): https://github.com/arikusi/nakkas/blob/main/dogfooding.md
* npm package: https://www.npmjs.com/package/nakkas
* Source code: https://github.com/arikusi/nakkas

## Quick Install

```json
{ "mcpServers": { "nakkas": { "command": "npx", "args": ["-y", "nakkas@latest"] } } }
```

## Core Capabilities

* Shapes: rect, circle, ellipse, line, polyline, polygon, path, image
* Text: positioned text, tspan spans, text along path
* Pattern layouts: radial-group, arc-group, grid-group, scatter-group, path-group
* Parametric curves: rose, heart, star, lissajous, spiral, superformula, epitrochoid, hypotrochoid, wave
* Gradients: linearGradient, radialGradient (with animated color stops)
* SVG pattern tile fills for repeating textures
* Arrowhead markers for diagrams (triangle, arrow, circle, square, diamond, bar) on line, polyline and path
* Filter presets: glow, neon, blur, drop-shadow, glitch, chromatic-aberration, noise, outline, inner-shadow, emboss, grayscale, sepia, invert, saturate, hue-rotate (plus raw filter primitives)
* CSS @keyframes animations (opacity, transform, fill, stroke, stroke-dashoffset draw-on and more)
* SMIL animations (path morphing, motion path, animateTransform)
* Groups, symbols, use for element instancing (pattern groups emit one child definition instanced with use)
* ClipPath, mask for advanced compositing

## Output

Pure declarative SVG: no JavaScript, no event handler injection. Works in GitHub READMEs, web pages, design tools, and anywhere SVG renders.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.