svg-editor
SVG Editor
面向 Wisp Science 与 Claude Science 的 SVG 图编辑 MCP App。
核心能力:在对话里打开一张科学图 SVG,用手改(点选、拖动、改颜色/文字/字体),或 口述 / 打字(发给宿主助手,或就地执行简单指令)。
它按 Motif / Ketcher 同一套约定打包:
.claude-plugin/plugin.json+.mcp.json+skills/*/SKILL.md预打包的 stdio MCP(安装时不跑
npm install)ui://svg-editor/editor.html(text/html;profile=mcp-app)宿主不挂 live App 时,用
svg_create_artifact退回独立 HTML
工作方式
助手调用
svg_open_editor(可带上 SVG 文本)。Wisp / Claude Science 在中间栏打开编辑器。你在画布上点选、改属性;选择状态通过
ui/update-model-context进入下一轮对话。底部指令栏:
就地执行:本地语法(改标题、换色、隐藏图例、字号、平移)
发给助手:
ui/message,由模型svg_inspect+svg_apply做手术式修改
不要整图重画。路径和数据几何默认保持原样。
Related MCP server: imagetosvg-mcp
开发
需要 Node.js 20.19+(推荐 22+)。
npm install
npm test
npm run preview # 浏览器里单独预览编辑器
npm run build # UI + server + dist-plugin zip
node dist/svg-editor-mcp.mjs # stdio MCP安装到 Wisp Science
npm run build打开 设置 → 插件 → 安装插件,选择
svg-editor-for-claude-science.zip远程安装请使用
svg-editor-for-claude-science.checksums.json里的 SHA-256为当前项目启用插件,点 在新会话中使用
Wisp 会把 MCP App 开成中间标签,并在 App 仍绑定原 MCP 连接时转发 tools/call(含 app-only 的 svg_commit)。
安装到 Claude Science
把 dist-plugin/ 或 zip 作为 Claude plugin 加载(与 Motif for Claude Science 相同的目录布局)。批准本地 MCP 后调用:
svg_open_editor— live Appsvg_create_artifact— 独立 HTML 回退
工具
工具 | 作用 |
| 打开 live 编辑器 |
| 列出可编辑元素 |
| 结构化手术式修改 |
| 取当前 SVG |
| 文档级撤销 |
| 导出独立 HTML |
| 仅 App:手动编辑回写 |
选择器:#id、[data-se-id="e12"]、text:精确、text:~部分、简单 CSS。
安全边界
去掉
<script>、foreignObject、事件属性和javascript:URLUI 在脚本-only、不透明 origin 的 iframe 里运行;CSP 不允许外网
单图上限 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