Back to Search
neo_util_svg_validator
1.0.0A strict geometric linter for SVG code.
$0.002 / call (Standard Tier)
Updated: May 02, 2026
Overview
A deterministric geometric linter designed specifically for autonomous AI agents generating SVG graphics for physical manufacturing (such as 3D printing, laser cutting, and CNC routers). Since LLMs often hallucinate unclosed paths or micro-segments that crash slicers, this tool validates the paths and provides specific point errors so the LLM can mathematically fix the vector graphics.
Example Input
JSON payload sent to this tool:
{
"svg_content": "<svg><path d=\"M 0 0 L 10 0 L 10 10 L 0 10 Z\" /></svg>",
"check_closed_paths": true
}Example Output
Formatted JSON response returned by this tool:
{
"is_valid": false,
"errors": [
"Path 'path_0' is not closed (missing Z command)."
],
"warnings": []
}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_validator",
"headers": {
"Authorization": "Bearer API_KEY"
}
}
}
}