svg-editor
SVG Editor
An SVG diagram editing MCP App for Wisp Science and Claude Science.
Core capabilities: open a scientific SVG figure in the conversation and edit it by hand (select, drag, change color/text/font) or dictate / type (send it to the host assistant, or execute simple commands in place).
It is packaged under the same conventions as Motif / Ketcher:
.claude-plugin/plugin.json+.mcp.json+skills/*/SKILL.mdPrepackaged stdio MCP (no
npm installat install time)ui://svg-editor/editor.html(text/html;profile=mcp-app)When the host does not attach a live App, fall back to standalone HTML with
svg_create_artifact
How it works
The assistant calls
svg_open_editor(optionally passing SVG text). Wisp / Claude Science opens the editor in the middle panel.You select and change attributes on the canvas; the selection state is carried into the next turn via
ui/update-model-context.Bottom command bar:
Run in place: local syntax (change title, change color, hide legend, font size, pan)
Send to assistant:
ui/message; the model performs surgical edits withsvg_inspect+svg_apply
Do not redraw the whole figure. Paths and data geometry stay untouched by default.
Related MCP server: imagetosvg-mcp
Development
Requires Node.js 20.19+ (22+ recommended).
npm install
npm test
npm run preview # 浏览器里单独预览编辑器
npm run build # UI + server + dist-plugin zip
node dist/svg-editor-mcp.mjs # stdio MCPInstall into Wisp Science
npm run buildOpen Settings → Plugins → Install Plugin, choose
svg-editor-for-claude-science.zipFor remote install, use the SHA-256 in
svg-editor-for-claude-science.checksums.jsonEnable the plugin for the current project and click Use in a new session
Wisp will open the MCP App as a middle tab, and forward tools/call (including the app-only svg_commit) while the App is still bound to the original MCP connection.
Install into Claude Science
Load dist-plugin/ or the zip as a Claude plugin (same directory layout as Motif for Claude Science). After approving the local MCP, call:
svg_open_editor— live Appsvg_create_artifact— standalone HTML fallback
Tools
Tool | Purpose |
| Opens focused editor |
| Lists editable elements |
| Surgical structured edits |
| Gets current SVG |
| Document-level undo/redo |
| Exports standalone HTML |
| App only: writes back manual edits |
Selectors: #id, [data-se-id="id"], text:exact, text:~partial, simple CSS.
Security Boundaries
Removes
<script>,foreignObject, event attributes, andjavascript:URLsThe UI runs in a script-only, opaque-origin iframe; CSP does not allow external domains
Single SVG limit: 2 MB
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables creating and editing draw.io diagrams from structured descriptions, rendering them as interactive inline SVGs, and providing access to the full draw.io editor for further modification and export.970MIT
- AlicenseAqualityBmaintenanceEnables AI agents to vectorize raster images and import vector files (PDF/AI/EPS), then inspect, edit, render, and optimize SVGs locally.6MIT
- AlicenseAqualityBmaintenanceEnables AI agents to inspect, edit, validate, render, and export SVG/Inkscape documents safely with reversible operations and risk-classed tools.872MIT

Rayzia MCPofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to drive a live SVG/vector editor, allowing a full observe-and-act loop on a canvas with real tools, state reading, and PNG rendering.MIT
Related MCP Connectors
Multilingual semantic SVG icon search with previews for AI coding agents. 20,000+ icons.
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Create, validate, edit, export (markdown/svg/png/mermaid), and search JSON Canvas files.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xuzhougeng/svg-editor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server