Spine MCP Server
Integrates with Cocos Creator 3.8+ via an extension panel, allowing asset listing, reference validation, and skeleton building, along with starting/stopping the MCP service and generating AI client configurations.
Provides tools for reading, modifying, and creating Spine projects, covering skeleton structure, attachments, skins, constraints, animations, keyframes, meshes, and atlas operations, as well as rendering previews.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Spine MCP ServerRender a preview of the 'jump' animation from my project."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🦴 Spine MCP Server
AI-driven Spine 3.8.75 animation workflow server — lets AI clients (Trae / Cursor / Claude Desktop) directly control Spine.
📖 Overview
Spine MCP Server is a server built on the MCP (Model Context Protocol) that wraps Spine 3.8.75 Professional editor capabilities into 70 MCP tools, allowing AI clients to directly:
Read Spine projects (bones, slots, skins, animations, events, constraints)
Modify animation keyframes (rotation, translation, scale, shear, curves)
Edit skeleton structure (add/delete bones, slots, attachments, skins, outfit swapping)
Manipulate constraints (IK, transform, path) and meshes (FFD deformation)
Split atlases (extract parts from character illustrations), auto-rig, repack atlases
Render animation preview frames via JS runtime
One-click configuration, start/stop service, and generate AI client configs via Cocos Creator extension panel
Related MCP server: unreal-animation-mcp
✨ Features
Capability | Description |
70 MCP Tools | Covers all Spine domains (info, skeleton, attachments, constraints, animation, atlas, project) |
Round-Trip Modification | Export JSON → Modify → In-place import, automatic backup ( |
Version Compatibility | Locked to Spine 3.8.75, friendly warnings for other versions |
Cocos Extension | Cocos Creator 3.8+ visual panel + |
Installer Wizard | One-click environment detection + config writing |
🔧 Requirements
Node.js ≥ 20 (tested on v22)
Spine.com (3.8.75 Professional, e.g.
D:\cocos\SpinePro3.8.75\Spine.com)Optional: Cocos Creator 3.8+ (for extension panel)
🚀 Quick Start
# 1. Install dependencies + build
npm install
npm run build
# 2. Configure Spine path (or run the installer wizard)
npm run installer # Auto-detect Spine/Cocos/Node and write .env
# 3. Verify
node dist/index.js check
node dist/index.js info "D:/cocos/SpinePro3.8.75/examples/hero/hero-pro.spine"🤖 MCP Config
Add the following configuration to your Trae / Cursor / Claude Desktop MCP server settings:
{
"mcpServers": {
"spine-mcp": {
"command": "node",
"args": ["D:/cocos/spine-mcp-server/dist/index.js", "mcp"],
"env": { "SPINE_EXE": "D:/cocos/SpinePro3.8.75/Spine.com" }
}
}
}⚠️ If MCP shows "No tools yet", restart your AI client to allow the server process to reload.
🧩 Tools (70)
Category | Tools |
Information (9) | get_project_info · inspect_json · describe · list_animations · list_events · list_constraints · get_attachments · get_animation_detail · render_preview |
Skeleton Structure (10) | control_bone · add_bone · delete_bone · set_bone · mirror_bones · add_slot · delete_slot · set_slot · rename_slot · batch_rename |
Attachments & Skins (7) | set_attachment · add_attachment · delete_attachment · set_attachment_transform · edit_mesh · set_skin · import_skin |
Constraints (9) | add/set/delete × {ik, transform, path} |
Animation (19) | add_simple_animation · generate_animation · list_effects · apply_effect · pose_to_animation · mirror_animation · mix_animations · mesh_wave · export_sheet · duplicate/delete/rename_animation · set_animation_settings · control_slot · control_constraint · add_event_keyframe · set_draw_order · set_curve · export_video |
Workflow (2) | check_project · pipeline |
Atlas & Project (9) | split_atlas · repack_atlas · import_image · export · import · clean · create_project · scale_project · rollback |
Cocos Toolchain (5) | list_cocos_assets · validate_references · build_skeleton · cut_parts · assemble |
🎮 Cocos Extension
The cocos-extension/ directory provides a Cocos Creator 3.8+ panel:
Installation: Extension Manager → Local Extension → Add
cocos-extensiondirectory (or runnpm run package:ccxto generate a.ccxfile for import)Features: Start/stop MCP service, scan projects, generate AI config, service status
See docs/cocos-extension-README.en.md for details
🧪 Tests
npm run test:all # Run all test suites (unit + integration + MCP protocol + extension bridge)
npm run test:unit # Unit tests only (node:test)Test matrix: Unit 20/20 · Phase 3 37/37 · Phase 4 45/45 · Phase 5 13/13 · MCP Protocol 10/10 (70 tools) · Extension Bridge 12/12
📚 Docs
🗂 Project Structure
├── src/ # Source code (TypeScript)
│ ├── server.ts # MCP stdio server
│ ├── spine/ # Core: cli-executor / json-handler / export / import / render / split ...
│ ├── tools/ # 70 tools (registered in registry.ts)
│ └── utils/ # Config / logger / error codes / file utilities
├── cocos-extension/ # Cocos Creator extension (panel)
├── scripts/ # Installer wizard / .ccx packaging
├── tests/ # All test suites
└── docs/ # Specs, manuals, progress💰 Support
Available on the Swarms Marketplace
📄 License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Create AI animations and export transparent sprite sheets, alpha video, frames, and game assets.
AI-native video editing OS — timeline editing, generation, color, and export as MCP tools.
Remote MCP for RunComfy: ComfyUI deployments, hosted models, LoRA training. 31 tools.
Turn prompts into production-ready game assets: animated characters, textures, terrain, VFX, HUD.
Related MCP Servers
- AlicenseAqualityDmaintenanceLocal MCP server for automating Spine projects via the official CLI, enabling AI tools to inspect, export, import, and add animations to .spine files.163 npm14Apache 2.0
- AlicenseBqualityFmaintenanceEnables AI agents to inspect, search, and edit Unreal Engine animation data including sequences, montages, blend spaces, animation blueprints, skeletons, and skeletal meshes via 62 tools over MCP.61MIT
- FlicenseBqualityDmaintenanceMCP 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-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to directly control SideFX Houdini, including creating nodes, setting parameters, executing Python, capturing viewports, and rendering frames, via 57 MCP tools.2MIT