spine2d-animation-mcp

spine2d-animation-mcp

1

The SPINE2D Animation MCP Server is a tool for generating animations from PSD character files using natural language descriptions. It automates the rigging and animation process, offering previews and multiple export formats for user-defined animations. The server aims to make animation creation accessible and efficient by integrating natural language processing capabilities.

SPINE2D Animation MCP Server

This Model Context Protocol (MCP) server provides tools for creating SPINE2D animations from PSD character files using natural language descriptions.

Overview

  • Import PSD character files
  • Automatically rig characters
  • Generate animations using natural language descriptions
  • Preview animations
  • Export animations in various formats

Requirements

  • Python 3.6+
  • Required Python packages: Flask, Pydantic, Pillow, PSD-Tools, OpenAI, Requests, Python-dotenv

Installation

  • Clone repository
  • Run installation script to set up environment

Usage

  • Import PSD Character
  • Setup Character
  • Generate Animation
  • Preview Animation
  • Export Animation

Project Structure

  • Contains directories for character data, generated animations, rigs, and exports

How It Works

  • PSD Import and Character Rigging
  • Animation Generation, Preview, and Export

Limitations

  • Requires specific naming conventions for optimal results
  • Predefined animation templates

Future Improvements

  • Enhance natural language understanding
  • Improve rigging with image analysis