spine2d-mcp: an MCP server that converts layered PSD characters into Spine 4.2 projects.

spine2d-mcp: an MCP server that converts layered PSD characters into Spine 4.2 projects.

spine2d-animation-mcp•bynaosen

An MCP server that exposes an import_psd_to_spine tool to turn a layered PSD character into a Spine 4.2 skeleton, texture atlas, and atlas page PNGs.

License: MIT License•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Produces a Spine 4.2 skeleton JSON, a libgdx/Spine texture atlas, and packed atlas page PNGs from a PSD.
  • •Builds a multi-segment skeleton with a root-to-head chain and limbs attached to chest and hip bones.
  • •Places each bone pivot at the joint edge of its part or at an explicit pivot marker layer rather than the image center.
  • •Preserves PSD draw order as Spine slot order and validates the skeleton structurally.

BEST FOR

  • •Cutting manual rig-and-import work for a character from days to roughly an hour.
  • •Preparing a PSD character for import into the Spine editor and Unity.

ABOUT SPINE2D-ANIMATION-MCP

spine2d-mcp: an MCP server that converts layered PSD characters into Spine 4.2 projects. is cataloged as an MCP server attributed to naosen. An MCP server that exposes an import_psd_to_spine tool to turn a layered PSD character into a Spine 4.2 skeleton, texture atlas, and atlas page PNGs. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for spine2d-mcp: an MCP server that converts layered PSD characters into Spine 4.2 projects. are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does it support animations?

No; the current Phase 0 produces an importable rig with no animations yet, and animation generation is planned for later phases.

What kind of PSD layer naming does it expect?

Layers named after body parts such as head, body/torso, arm_left, hand_right, leg_left, and foot_right.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c08209c279ce · 采集于 2026-11-13 12:07:41 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for spine2d-mcp: an MCP server that converts layered PSD characters into Spine 4.2 projects. from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/spine2d-animation-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design