
SVGMaker MCP Server
Enables LLMs to programmatically generate, edit, and convert SVG images using the SVGMaker API and save them to the local filesystem.
README
SVGMaker MCP Server
An MCP (Model Context Protocol) server that enables LLMs to programmatically generate, edit, and convert SVG images using the SVGMaker API and save them to the local filesystem.
Features
- SVG Generation: Generate SVG images from text prompts with customizable quality and aspect ratio
- Secure File Operations: Built-in path validation and security checks
- Rate Limiting: Configurable API rate limiting (default: 2 requests per minute)
- TypeScript: Full TypeScript support with type safety
Installation
- Clone this repository
- Install dependencies:
npm install
- Copy the environment template:
cp .env.example .env
- Edit
.env
and add your SVGMaker API key:SVGMMAKER_API_KEY="your_actual_api_key_here" # Optional: Custom base URL and rate limit # SVGMMAKER_BASE_URL="https://svgmaker.io/api" # SVGMMAKER_RATE_LIMIT_RPM="2"
Building
npm run build
Running
npm start
For development with auto-reload:
npm run dev
Configuration
The following environment variables can be configured in your .env
file:
SVGMMAKER_API_KEY
(required): Your SVGMaker API key for authenticationSVGMMAKER_RATE_LIMIT_RPM
(optional): Rate limit in requests per minute (default: 2)SVGMMAKER_BASE_URL
(optional): Custom base URL for the SVGMaker API (default: https://svgmaker.io/api)
Tools Available
svgmaker_generate
Generates an SVG image from a text prompt and saves it to a specified local path.
Parameters:
prompt
(required): Text description of the SVG to generateoutput_path
(required): Local file path where the SVG will be saved (must end with .svg)quality
(optional): Quality level -"low"
,"medium"
, or"high"
low
/medium
: Uses automatic aspect ratiohigh
: Uses square aspect ratio by default
aspectRatio
(optional): Override aspect ratio -"square"
,"portrait"
, or"landscape"
Example:
{
"prompt": "A simple blue circle with a red border",
"output_path": "./generated_circle.svg",
"quality": "high",
"aspectRatio": "square"
}
Testing with MCP Inspector
You can test the server using the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.js
Claude Desktop Configuration
To use this server with Claude Desktop, add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"svgmaker": {
"command": "node",
"args": ["/absolute/path/to/your/svgmaker-mcp-server/build/index.js"],
"env": {
"SVGMMAKER_API_KEY": "your_api_key_here"
}
}
}
}
Security
- Basic path validation prevents access to system directories
- File operations are restricted to safe locations
- All user inputs are validated before processing
Development Roadmap
- [x] Phase 1: Basic SVG generation tool
- [ ] Phase 2: Add edit and convert tools
- [ ] Phase 3: Enhanced error handling and progress notifications
- [ ] Phase 4: Complete documentation and NPM packaging
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.