arikusi-nakkas

v0.1.5
@iflow-mcp/arikusi-nakkas Checked 3 days ago Published 8 months ago

MCP server that turns AI into an SVG artist.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

render_svg Render SVG

Render animated SVG from JSON config. AI controls all design parameters. **Workflow:** render_svg > preview > critique > revise. Iterate at least 3 times before finalizing. **Element types:** rect, circle, ellipse, line, polyline, polygon, path, image, text, textPath, group, use, radial-group, arc-group, grid-group, scatter-group, path-group, parametric **Pattern groups** (use for repetitive designs): radial-group (circular), arc-group (arc), grid-group (matrix), scatter-group (random), path-group (along polyline). Each takes count + child element. **Parametric curves** (fn field): rose, h…

ParameterTypeDescription
canvas *object
elements *array
animationsarray
defsobject

preview Preview SVG

Render SVG content to a PNG image so the AI can visually inspect the output. **When to use:** - After render_svg, call preview to see what was generated - Use in a revision loop: render → preview → critique → revise → preview again - Stop when the visual result matches the intent **Behavior:** - Returns a PNG image (base64) rendered from the SVG string - Background is transparent by default - CSS animations and SMIL are rendered as a static snapshot (t=0) — motion is not captured - Format is auto-detected from content; pass format: "svg" explicitly if needed **Width:** - Omit widt…

ParameterTypeDescription
content *stringSVG string to render as PNG
formatstringContent format; auto-detected from content if omitted
widthnumberRender width in pixels; defaults to SVG's own declared width

save Save Content

Save rendered content to disk. Format-aware: can save as text or render to raster image. IMPORTANT: Use this only AFTER iterating on the design with render and preview. Do not save on the first render. Preview and refine your work first. **Format detection:** - 'auto' (default): infers format from file extension. .svg saves as text, .png renders to image. - 'svg': saves content as a UTF-8 text file - 'png': renders the content (assumed SVG) to a PNG image, then saves it If the file already exists, a numeric counter is appended before the extension to prevent overwriting: design.svg becomes…

ParameterTypeDescription
content *stringContent to save. This is typically the output of a render tool such as render_svg.
outputPath *stringFile path to save to. The directory must already exist. If the file already exists, a numeric counter is appended before the extension: design.svg becomes design-1.svg, then design-2.svg, and so on. T…
formatstringOutput format. 'auto' infers from file extension (.svg saves as text, .png renders to image). 'svg' saves content as a UTF-8 text file. 'png' renders SVG content to a PNG image before saving.
widthnumberFor raster formats (png): render width in pixels. Defaults to the source content's own declared dimensions.