Open-source vector graphics editor.
## Inkscape MCP Server: Vector Graphics Automation The **Inkscape MCP Server** integrates the powerful open-source vector graphics editor directly into Google Antigravity, enabling AI assistants to create, manipulate, and convert vector artwork programmatically. This integration brings professional SVG editing capabilities to your development workflow. ### Why Inkscape MCP? - **SVG Native**: Industry-leading SVG support with full specification compliance - **Command-Line Interface**: Powerful CLI for scripted operations and batch processing - **Format Conversion**: Convert between vector formats including SVG, PDF, EPS, and more - **Path Operations**: Boolean operations, path effects, and advanced vector manipulation - **Extension System**: Extensible architecture with Python scripting support ### Key Features #### 1. SVG Manipulation ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Open this SVG icon and change all fill colors to match our brand color #4A90D9" }], tools=[{ "name": "inkscape_edit", "description": "Edit vector graphics" }] ) ``` #### 2. Format Conversion ```python # Convert vector formats response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Convert this SVG file to PDF and PNG at 300 DPI for print" }], tools=[{"name": "inkscape_convert", "description": "Convert vector formats"}] ) ``` #### 3. Batch Operations ```python # Process multiple files response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Resize all SVG icons to 24x24 viewBox and optimize for web" }], tools=[{"name": "inkscape_batch", "description": "Batch process vectors"}] ) ``` #### 4. Path Operations ```python # Manipulate vector paths response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Convert text to paths and unite overlapping shapes in this logo" }], tools=[{"name": "inkscape_paths", "description": "Vector path operations"}] ) ``` ### Configuration ```json { "mcpServers": { "inkscape": { "command": "npx", "args": ["-y", "@anthropic/mcp-inkscape"], "env": { "INKSCAPE_PATH": "/usr/bin/inkscape" } } } } ``` ### Use Cases **Icon Processing**: Batch process icon sets for consistent sizing, colors, and optimization. **Print Preparation**: Convert vector artwork to print-ready formats with proper color handling. **SVG Optimization**: Clean and optimize SVG files for web performance. **Asset Generation**: Create resolution-independent assets for web and mobile applications. The Inkscape MCP Server brings professional vector graphics automation directly into your development workflow, enabling scalable artwork manipulation.
{
"mcpServers": {
"inkscape": {}
}
}