spine-mcp
spine-mcp — Spine 2D アニメーション MCP サーバー
切り分けられたキャラクターから本番用 Spine 2D アニメーションを作成します。.psd または PhotoshopToSpine エクスポートフォルダーから直接。 ampersante/spine2d-animation-mcp に触発されていますが、spine-pixi / pixi ゲームで動作する実際のランタイムリグ と、編集可能な .spine プロジェクト(ライセンス版 Spine 4.3 CLI 経由)を提供し、既製テンプレートではなく手作りのモーションを備えています。
cut parts (you, in Photoshop) ──▶ rig_and_animate
PSD or PhotoshopToSpine export │
├─▶ <name>.json runtime skeleton (Spine 4.2)
├─▶ <name>.atlas + .png packed atlas
└─▶ <name>.spine EDITABLE project (open in your Spine)
──▶ preview (montage PNG) / wire into the gameオリジナルに勝る理由
ampersante MCP | spine-mcp (これ) | |
リグ | レイヤー名による自動 | 関節に配置されたボーン、頭/体の階層 |
モーション | 定義済みテンプレート | 手書きの idle/win/blink/pop、スカッシュ&ストレッチ、フェイススワップ |
アトラス | Pillow | 実際の Spine CLI パッカー |
出力 | JSON / PNG / GIF プレビュー | ゲームで動作するランタイムリグ + 編集可能な |
ヘッド状態 | 描画されたスタック | 1つのスロットにまとめられ、win/blink で切り替え |
Related MCP server: spine-mcp
ツール
spine_doctor— Spine CLI と Python 依存関係を確認inspect_source— リギング前にパーツ / 検出されたヘッド状態ファミリーを一覧表示rig_and_animate(source, out_dir, name?, kind?, anims?, make_editable?)— メインのツールpack_atlas(images_dir, out_dir, name)— Spine-CLI アトラスパックmake_project(runtime_json, out_spine)— ランタイム JSON → 編集可能な.spineexport_project(project, out_dir, fmt)—.spine→ ランタイム JSON+アトラスproject_info(project_or_json)— ボーン/スロット/アニメーションpreview(rig_dir, images_dir?, out_png?, maxpx?)— キーフレームモンタージュ PNGbatch(roster_dir, out_root, kind?, make_editable?)— すべてのエクスポートサブフォルダーをリギング
入力規約
ヘッド状態ファミリー: 代替フェイスに
<base>_win/<base>_blinkと名前を付けます(例:head,head_win,head_blink、またはface,face_win,face_blink)。これらは自動的に1つのスロットにまとめられ、win/blink内で切り替わります。グロー層 は
Layer 2という名前で → 加算ブレンド + パルス。*fire*という名前のパーツ → フリッカー。*rot*という名前のパーツ → 回転アクセントボーン。各パーツのジョイントの下に小さなオーバーラップタブを残して、曲げても裂けないようにします。
インストール
簡単な方法は、使い方を知っている頭脳と一緒に:
/plugin marketplace add egorfedorov/mozg-plugin
/plugin install mozg-spine@mozgまたは直接接続する — uv が必要です:
claude mcp add spine -- uvx --from git+https://github.com/egorfedorov/spine-mcp spine-mcpチェックアウトから、ハッキング用に:
uv venv && uv pip install -e .
./.venv/bin/spine-mcp # stdio MCP serverあなたの Spine ライセンスはあなたのもの
このプロジェクトには Spine の一部は含まれておらず、Spine に対するライセンスを付与するものではありません。Spine は Esoteric Software の商用ソフトウェアであり、各ユーザーは自分のライセンスの下で自分のインストールを実行します。サーバーは /Applications/Spine.app/Contents/MacOS/Spine または SPINE_BIN が指す場所で Spine を探します。
ライセンスなしでも動作します。 リギングとアニメーションは Spine プロセスを起動しません — これらは Pillow と psd-tools を使った純粋な Python です。ライセンスにより3つのツールが追加されます:
Spine が必要 | |
| いいえ |
| いいえ |
| はい |
| はい |
| はい |
spine_doctor は見つけたものを報告します。ある人のライセンスが別の人に届くことはなく、他の人が異なるライセンスを持っているからといって何かが劣化することもありません。
想定される命名規則
_classify は、あるスタジオのアートに合わせて調整された単語リストからヘッドを決定します — head, face, golova, crown, tooth。kopf や cabeza という名前のレイヤーは代わりにボディに配置されます。アートをリネームするのではなく、これをオーバーライドしてください:
export SPINE_HEAD_WORDS="kopf,gesicht,krone"ファイル
server.py— FastMCP サーバー(ツールサーフェス)spine_rig.py— リグ + アニメーションビルダー(純粋、インポート可能、スタンドアロンで実行可能)spine_cli.py— Spine 4.3 CLI ラッパー(パック / インポート / エクスポート / 情報)spine_preview.py— キーフレームモンタージュレンダラー
ライセンス
MIT — LICENSE を参照。 mozg の Spine 2D Animation brain のために書かれ、使用されています。これはリグがどのように動くべきかを知っている半分です。
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 gradedqualityBmaintenanceMCP server for Spline.design code generation and asset management.4BSD 3-Clause
- AlicenseAqualityDmaintenanceLocal MCP server for automating Spine projects via the official CLI, enabling AI tools to inspect, export, import, and add animations to .spine files.16105Apache 2.0
- AlicenseAqualityCmaintenanceAn MCP server that converts layered PSD characters into Spine 4.2 rigs with deterministic, parametric 2D/2.5D animations (idle, walk, run, jump, attack, hit) ready for the Spine editor and Unity.4MIT
- FlicenseBqualityCmaintenanceMCP server for reading, validating, and modifying Spine 4.1.24 JSON animation files, with tools for animation timeline editing, validation, preview, and agent integration.36
Related MCP Connectors
Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client
MCP server for Luma Dream Machine AI video generation
MCP server for doc2mcp documentation, generated by doc2mcp.
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/egorfedorov/spine-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server