Back to Search

neo_util_svg_generator

1.0.0

LLM-based precise SVG generation using prompt compilation and caching.

$0.005 / call (Standard Tier)
Updated: May 04, 2026

Overview

An LLM-Based Agentic Wrapper tool that acts as an HTTP Client and Prompt Compiler for precise SVG generation. It delegates the actual drawing to an OpenRouter model, sanitizes the response, and then caches the file using a Pass-by-Reference architecture to avoid bloating the context window.

Example Input

JSON payload sent to this tool:

{
  "prompt": "A mechanical gear with 12 teeth",
  "style_mode": "monochrome_outline",
  "stroke_width": 1.0,
  "openrouter_api_key": "sk-or-..."
}

Example Output

Formatted JSON response returned by this tool:

{
  "status": "success",
  "svg_resource_uri": "neo://tmp/uuid.svg"
}

Setup Configuration

Add the following configuration to your MCP general settings or mcp_config.json:

{
  "mcpServers": {
    "neonia": {
      "serverUrl": "https://mcp.neonia.io/mcp?tools=neo_util_svg_generator",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}