
SVGMaker
STDIOMCP server for generating, editing, and converting SVG images using AI technology
MCP server for generating, editing, and converting SVG images using AI technology
A powerful MCP server for generating, editing, and converting SVG images using SVGMaker API.
This very illustration came to life through our own SVGMaker MCP server—a living example of AI assistants and vector graphics working in perfect harmony via the Model Context Protocol.
node --version # Should be >= v18.0.0
npm --version # Should be >= 7.0.0
@genwave/svgmaker-mcp/
├── build/ # Compiled JavaScript files
├── docs/ # Documentation
│ └── api/ # API documentation
├── src/ # Source TypeScript files
│ ├── tools/ # MCP tool implementations
│ ├── services/ # API integration
│ └── utils/ # Utility functions
└── types/ # TypeScript declarations
# Using npm npm install @genwave/svgmaker-mcp # Using yarn yarn add @genwave/svgmaker-mcp
SVGMAKER_API_KEY="your_api_key_here"
npx svgmaker-mcp
{ "mcpServers": { "svgmaker": { "command": "npx", "args": ["@genwave/svgmaker-mcp"], "transport": "stdio", "env": { "SVGMAKER_API_KEY": "your_api_key_here" } } } }
Generate an SVG of a minimalist mountain landscape:
<mcp>
{
"server": "svgmaker",
"tool": "svgmaker_generate",
"arguments": {
"prompt": "Minimalist mountain landscape with sun",
"output_path": "./landscape.svg",
"quality": "high",
"aspectRatio": "landscape"
}
}
</mcp>
Or configure manually:
{ "mcpServers": { "svgmaker": { "type": "local", "command": "npx", "args": ["@genwave/svgmaker-mcp"], "transport": "stdio", "env": { "SVGMAKER_API_KEY": "your_api_key_here" } } } }
Use svgmaker to edit the logo.svg file and make it more modern:
<mcp>
{
"server": "svgmaker",
"tool": "svgmaker_edit",
"arguments": {
"input_path": "./logo.svg",
"prompt": "Make it more modern and minimalist",
"output_path": "./modern_logo.svg",
"quality": "high"
}
}
</mcp>
Or configure manually:
{ "servers": { "svgmaker": { "type": "stdio", "command": "npx", "args": ["-y", "@genwave/svgmaker-mcp"], "env": { "SVGMAKER_API_KEY": "<your_api_key>" } } } }
Generate a new icon for my app:
<mcp>
{
"server": "svgmaker",
"tool": "svgmaker_generate",
"arguments": {
"prompt": "Modern app icon with abstract geometric shapes",
"output_path": "./assets/icon.svg",
"quality": "high",
"aspectRatio": "square"
}
}
</mcp>
{ "mcpServers": { "svgmaker": { "command": "npx", "args": ["-y", "@genwave/svgmaker-mcp"], "env": { "SVGMAKER_API_KEY": "<your_api_key>" } } } }
Convert the company logo to SVG:
<mcp>
{
"server": "svgmaker",
"tool": "svgmaker_convert",
"arguments": {
"input_path": "./branding/logo.png",
"output_path": "./branding/vector_logo.svg"
}
}
</mcp>
{ "context_servers": { "svgmaker": { "command": { "path": "npx", "args": ["-y", "@genwave/svgmaker-mcp"], "env": { "SVGMAKER_API_KEY": "<your_api_key>" } }, "settings": {} } } }
Edit an existing SVG file:
<mcp>
{
"server": "svgmaker",
"tool": "svgmaker_edit",
"arguments": {
"input_path": "./diagrams/flowchart.svg",
"prompt": "Add rounded corners and smooth gradients",
"output_path": "./diagrams/enhanced_flowchart.svg",
"quality": "high"
}
}
</mcp>
Transform your ideas into stunning SVG artwork using AI-powered creativity.
How we created the header illustration:
{ "prompt": "Modern tech illustration showing an MCP server connecting multiple AI assistants to SVG generation capabilities. Show interconnected nodes, data flow, and SVG icons. Use a clean, professional design with blue and purple gradients, geometric shapes, and modern typography elements.", "output_path": "./docs/mcp-capabilities-demo.svg", "quality": "medium", "aspectRatio": "landscape", "background": "transparent" }
Edit existing SVGs or images with natural language.
{ "input_path": "/path/to/input.svg", "prompt": "Add a gradient background and make it more vibrant", "output_path": "./enhanced.svg", "quality": "high", "background": "opaque" }
Convert images to SVG format.
{ "input_path": "/path/to/image.png", "output_path": "./vector.svg" }
Variable | Description | Required | Default |
---|---|---|---|
SVGMAKER_API_KEY | Your SVGMaker API key | ✅ Yes | - |
SVGMMAKER_RATE_LIMIT_RPM | API rate limit (requests per minute) | ❌ No | 2 |
SVGMAKER_BASE_URL | Custom SVGMaker API base URL | ❌ No | https://svgmaker.io/api |
SVGMAKER_DEBUG | Enable debug logging | ❌ No | false |
The server includes comprehensive logging for debugging and monitoring:
Enable Logging:
# Enable debug logging SVGMAKER_DEBUG=true npx @genwave/svgmaker-mcp # Or set NODE_ENV to development NODE_ENV=development npx @genwave/svgmaker-mcp
Log Files Location:
~/.cache/svgmaker-mcp/logs/
%LOCALAPPDATA%/svgmaker-mcp/logs/
./logs/
(in project directory)Log File Format:
mcp-debug-2025-06-04T10-30-45-123Z.log
npm install
SVGMAKER_API_KEY="your_api_key_here"
npm run dev
Use the MCP Inspector for testing:
npx @modelcontextprotocol/inspector node build/index.js
This project uses GitHub Actions for continuous integration and deployment:
Continuous Integration
Releasing a New Version
npm run release:patch
npm run release:minor
npm run release:major
Publishing
We welcome contributions! Please see our Contributing Guide for details.
MIT © Genwave AI - see the LICENSE file for details.