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: inkscape-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 MCPWisp 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 Code と同じディレクトリ構成)。ローカル MCP を承認してから、次を呼び出します:
svg_open_editor— live Appsvg_create_artifact— スタンドアロン HTML へのフォールバック
ツール
ツール | 機能 |
| live エディタを開く |
| 編集可能な要素を一覧表示 |
| 構造化された外科的変更を適用 |
| 現在の SVG を取得 |
| ドキュメントレベルの取り消し / やり直し |
| スタンドアロン HTML を書き出す |
| App のみ:手動編集の書き戻し |
セレクター:#id、[data-se-id="e12"]、text:精确、text:~部分、単純な CSS。
安全上の境界
<script>、foreignObject、イベント属性、javascript:URL を除去しますUI は、スクリプトのみの不透明なオリジンを持つ iframe 内で実行されます。CSP は外部ネットワークを許可しません
1 枚あたりの上限は 2 MB です
This server cannot be deployed
Maintenance
Related MCP Connectors
Create and edit architecture diagrams from your AI agent; get an SVG and a live editable canvas.
Agent-Native design tool - create and edit visual designs with agent assistance
Generate and vectorize clean, editable SVG graphics from text, images, or both.
- DiagramOAuthla.diagram
Saves the diagrams your AI draws and gives you a link to share. Edits update the same link.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to vectorize raster images and import vector files (PDF/AI/EPS), then inspect, edit, render, and optimize SVGs locally.6MIT
- AlicenseAqualityDmaintenanceEnables AI agents to inspect, edit, validate, render, and export SVG/Inkscape documents safely with reversible operations and risk-classed tools.876MIT

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.1MIT- FlicenseAqualityCmaintenanceEnables annotating SVG paper figures in the browser by picking elements or drawing regions, and feeds those annotations back to Claude via MCP so it can edit the underlying SVG or generation scripts, with automatic page refresh on changes.41-