inkscape-mcp
inkscape-mcp
stdio を介したローカル MCP サーバーで、Inkscape を限定的にヘッドレス制御するためのものです。このプレアルファ版は、SVG/Inkscape ドキュメント、サイズ、ページ、および PNG・PDF・SVG への検証済みエクスポートに焦点を当てています。
現在動作する機能
Inkscape の検出(Windows の MSIX パッケージを含む)と、能力のエビデンスを備えた
--doctor。安全な相対パス、SHA-256 リビジョン、ロック、バックアップ、アトミックコミットを備えた承認済みワークスペース。
page_onlyセマンティクス、カスタム寸法、A3/A4/Letter プリセット、初期ページを持つ SVG ドキュメントの作成、検査、リサイズ。Inkscape 1.4 の明示的なページ:安定した ID で一覧表示、追加、更新、削除、並べ替え。
ページの型付き設定:ページの色/不透明度、デスクトップの色、ボーダーの色/不透明度。
SVG の基本プリフライトと、PNG、PDF 1.4/1.5、フラット SVG または Inkscape SVG のエクスポート。結果は公開前に検証されます。
まだ完全なベクターエディターではありません。オブジェクト、レイヤー、テキスト、パス、選択、フィルター、ローカル依存関係の一般的な操作は宣言していません。範囲と未対応タスクについてはマスタープランを参照してください。
Related MCP server: SVG Maker MCP Server
要件
Node.js 24.x と npm 11.x。
Inkscape 1.4.4 または互換バージョン。Windows では、開発中に確認された MSIX インストールが自動検出されます。
ローカルでの実行
npm ci
npm run check
npm run test:mcp
node dist/cli.js --doctor --json
node dist/cli.js --workspace-root C:\ruta\a\tus\disenos最後のコマンドは MCP プロトコルを stdout のみに保持します。MCP クライアントを node、引数 dist/cli.js、および 1 つ以上の --workspace-root 引数で起動するよう設定してください。ドキュメントツールから参照できるのはこれらのディレクトリだけです。
現在の MCP ツール
Tool | Uso |
| 状態、機能、セキュリティ方針。 |
| 利用可能なワークスペースと許可された SVG/SVGZ。 |
| viewport、単位、 |
| Inkscape 1.4 の明示的なページを一覧表示または変更。 |
| ページの背景、デスクトップ、ボーダーを読み取りまたは編集。 |
| basic/web/print/interchange プロファイルでアクティブコンテンツ、外部リソース、エラーを検出。 |
| 型付きパッチによるジオメトリ、基本スタイル、テキスト、レイヤーラベルの更新。 |
| 兄弟要素の Z オーダーを変更:front/back/raise/lower。任意のインデックスや XML 順序は使用しません。 |
| 兄弟要素をグループ化、または外部 |
| ID、タイプ、レイヤーによる限定サマリーをページネーションと |
| 型付きのシェイプ、テキスト、グループ、レイヤーを作成。バッチ内で parentId をサポート。 |
| 選択した ID を、壊れた断片参照を残さずに削除。 |
| 型付きの translate、scale、rotate、skew、flip、matrix で要素を変形。 |
| Inkscape による staging 経由のエクスポートと成果物の検証。PNG は area/DPI/背景を受け付け、PDF はページと MediaBox を報告し、SVG はテキストをパスに変換可能。 |
変更とエクスポートには expectedRevision が必要です。読み取りとコミットの間にファイルが変更された場合、他人のリビジョンを上書きする代わりに操作は失敗します。すべてのエクスポートは、ワークスペースの実パスではなく、検証済みの SVG コピーを staging で Inkscape に渡します。
セキュリティとステータス
このプロジェクトは、ネイティブパーサーの未知の脆弱性を隔離することを約束しません。パス、XML、引数、プロセス、サイズ、上書きを制限します。現在のネイティブ入力ポリシーは trusted-local-only です。エクスポートは Inkscape を起動する前に、アクティブコンテンツやリモートリソースを含む SVG を拒否します。リサイズの変更にも同じルールが適用されます。
貢献方法の指示と不変条件は AGENTS.md にあります。パッケージは引き続きプライベートです。npm やレジストリへの公開には、別途明示的な承認が必要です。
ライセンス
MIT Copyright 2026 Berrio.
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
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that converts SVG code to PNG images, offering two conversion methods (CairoSVG and Inkscape) with support for custom working directories.3
- FlicenseNot gradedqualityDmaintenanceEnables creation, validation, rendering, and optimization of SVG images with conversion capabilities to PNG, React components, React Native components, and Data URIs.
- AlicenseNot gradedqualityDmaintenanceEnables high-quality conversion of SVG files to PNG, ICO, and JPG formats with optimized Chinese character rendering. Supports single file, batch, and string-based conversions using multiple rendering engines including Cairo, SVGLib, and PIL.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to control Inkscape for vector graphics editing via MCP tools.39MIT
Related MCP Connectors
Render HTML, Markdown, or URLs to images, PDF, or branded artifacts; extract and watch pages.
Render-and-verify API: HTML/CSS to image or PDF, screenshot any URL, confirm the text rendered.
Host static HTML pages, generate PDFs, screenshots, scrape JS sites, run sandboxed JavaScript.
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/Berrio/inkscape-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server