1. Conduid
  2. Content
  3. Spine2d Animation MCP
MCP server · Content

Spine2d Animation MCP

MCP server for creating SPINE2D animations

Unclaimed MIT content
52Fair

Scored 3 days ago · breakdown

About Spine2d Animation MCP

Spine2d Animation MCP is an MCP server published by ampersante in the Content category: mCP server for creating SPINE2D animations.

The repository has 116 stars and 24 forks, with the last commit 4 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/ampersante/spine2d-animation-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Spine2d Animation MCP

Powered by Claude · Grounded in docs

I know everything about Spine2d Animation MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

spine2d-mcp

An MCP server that converts a layered PSD character into a Spine 4.2 project — skeleton JSON, texture atlas, and atlas page PNG(s) — ready to import into the Spine editor and Unity.

The goal is to cut the manual rig-and-import work for a character from days down to roughly an hour.

Status

Phase 0 (proof of concept): PSD → a correct, importable rig (no animations yet).

The pipeline is implemented and covered by tests against synthetic fixtures. It has not yet been validated against a real PSD in the Spine editor / Unity — that is the next milestone. Animation generation, headless preview, and Unity export are planned for later phases.

What it does today

Given a PSD whose layers are named after body parts (head, body/torso, arm_left, hand_right, leg_left, foot_right, …), the import_psd_to_spine tool produces:

  • <name>.json — Spine 4.2 skeleton (bones, slots, default skin, region attachments)
  • <name>.atlas — libgdx/Spine texture atlas
  • <name>.png — packed atlas page(s)

Key behaviors:

  • Multi-segment skeleton (root → hip → torso → chest → neck → head, limbs off chest, legs off hip); missing intermediate bones are created as positioned virtual bones.
  • Joint-correct pivots — each bone pivots at the joint edge of its part (or an explicit <part>[pivot] marker layer), not the image center, so rotation behaves anatomically.
  • PSD draw order is preserved as Spine slot order.
  • Structural validation of the skeleton against the invariants the Spine 4.2 reader enforces.

Format source of truth: reference/SkeletonJson.java (spine-runtimes 4.2).

Requirements

  • Python 3.11+
  • uv

Setup

uv sync

Run the tests

uv run pytest

Run the MCP server

uv run spine2d-mcp

This starts a stdio MCP server exposing a single tool:

import_psd_to_spine(psd_path: str, out_dir: str | None = None)
  -> { project_path, atlas_path, png_paths }

Point an MCP client (e.g. Claude Desktop / Claude Code) at it, then ask it to import a PSD by path.

Project layout

src/spine2d_mcp/
  server.py          FastMCP server + import_psd_to_spine tool
  pipeline.py        PSD -> Spine project orchestration
  psd/parser.py      PSD -> flat layer list (+ pivot markers)
  psd/conventions.py bone hierarchy, joint sides, [pivot] tag
  spine/schema.py    Pydantic models for Spine 4.2 JSON
  spine/builder.py   layers -> SpineProject
  spine/writer.py    SpineProject -> JSON
  spine/validator.py structural validation
  atlas/packer.py    rectpack bin packing
  atlas/writer.py    .atlas text + composite PNG
reference/           SkeletonJson.java, spineboy.atlas (format references)
tests/               pytest suite (synthetic PSD fixtures)

License

This project is released under the MIT License.

You may use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software, provided that the original copyright notice and license text are included with substantial portions of the software.

The software is provided "as is", without warranty of any kind. See LICENSE for the full license text.

README fetched from the repository 3 days ago. The original is authoritative.

Questions

About Spine2d Animation MCP

How do I install Spine2d Animation MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Spine2d Animation MCP safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 5 of the 5 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Spine2d Animation MCP still maintained?

Yes — the last commit was 4 months ago. The repository has 116 stars and 24 forks and 4 open issues.