Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPINE_BINYesPath to the local Spine CLI executable, for example C:\Program Files\Spine\Spine.com. Required for project import/export and native rendering.
SPINE_VERSIONYesSpine version to use, for example 4.3.26.
SPINE_MCP_TOOLSETNoOptional toolset mode. Set to "all" to load all 39 tools, or "core" to load only the 11 tools for inspection, preview, animation editing, and backups. By default, 15 animation-production tools are loaded.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Spine 4.3. Absolute paths; seconds, degrees, skeleton units. Start with spine_inspect; use spine_doctor for setup failures. Writes default to dry-run: prefer new names, then apply:true. While editor is open, use returned staging project and importSteps. Oversized text returns a summary and paged report resource; read only needed pages. CLI calls are serialized and cached. SPINE_MCP_TOOLSET: core=minimal, animation=default, all=optional asset/QA/media/Unity tools.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
spine_doctorA

Checks the Spine CLI, editor version and license, spine-core version and work folder. Run first when something fails.

spine_project_infoA

Fast CLI summary (Spine -i): editor version, FPS, skeletons, bone/slot/constraint/animation lists. Several paths per call (one ~3 s CLI start).

spine_export_jsonA

Exports a .spine project's skeletons to JSON in the cache folder (never next to the project); re-exports only when the project changed.

spine_inspectB

Skeleton structure. view summary (default): counts, bone tree, constraints, per-animation stats; bones|slots|skins|constraints: raw section JSON; animation: every timeline with exact keys.

spine_validateB

Finds problems: duplicate names, bone order, missing references (Spine drops them on import), mesh indices, key order, curves, keys on physics bones; samples every animation in spine-core (NaN, loop seams, clamps, invisible keys, mesh folds, joints opening). face: blinks vs pose changes and mouth swaps, lashes while shut, mouth bones, blink timing.

spine_measureB

Samples an animation in spine-core (constraints, physics warmed up); per bone: rotation range, path, peak speeds, pops, holds, loop seam. rootMotion: what SkeletonRootMotion reads (travel, sliding feet, in-place speed). parts: how far each slot travels.

spine_render_framesA

Renders an animation with Spine's renderer (~4 s, cached) and returns a contact sheet. No MSAA or physics warm-up: for checking, not final video.

spine_add_animationA

Adds one Spine 4.3 JSON animation to a .spine project. Dry-run validates against the skeleton; apply backs up, imports only this animation through the CLI, re-exports, verifies and rolls back on any mismatch. Existing names need replace; prefer a new name. Times in seconds; rotate uses value; bezier curve is absolute [cx1,cy1,cx2,cy2] per channel.

spine_derive_animationA

Builds a new animation from an existing one with ops applied in order on the server, then adds it like spine_add_animation (validated, backed up, verified; dry-run unless apply). Ops: docs/USAGE.md#derive-operations.

spine_generate_animationA

Generate a named animation draft. Fill the object matching type; missing controls return suggestions. Dry-run by default; apply uses verified CLI animation import and backup. Types include breathe, blink, gaze, lookAt, sway, settle, followThrough, walk, blocking, turn, squash, lipSync. Seconds/degrees/skeleton units. See docs/USAGE.md#generate-options.

spine_list_backupsA

Backups made before writes (newest first), ids for spine_restore_backup.

spine_restore_backupA

Puts a backup back. Dry-run by default; apply backs up the current file first, then restores atomically.

spine_edit_animationA

Copies source to name, edits timelines in order, then uses backed-up CLI import and readback verification. Dry-run by default. edits:[] duplicates. path is JSON segments, e.g. ['bones','head','rotate']; times are seconds. set replaces whole keys at matching times. easing is normalized; raw key.curve is absolute Spine 4.3. See docs/USAGE.md#keyframe-editing.

spine_editor_statusC

Is a Spine editor window open (and likely on this project)? While it is, writes go to a verified staging copy. With project: what still waits in the staging copy; animations confirms each one after Import Project and a save.

spine_statusA

Instant, no CLI: file state, editor window, staging copy, backups, spine-mcp's last steps on the project and outside changes since. Call first when resuming work.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 15 tools

Disambiguation3/5

Several clusters blur together: spine_doctor, spine_status, spine_editor_status and spine_project_info all answer 'what's the current state?', and both doctor and status are described as 'call first', which leaves the agent guessing which to invoke. Likewise spine_add_animation, spine_generate_animation, spine_derive_animation and spine_edit_animation all produce a new animation via the same CLI import path, so choosing among them requires reading the long descriptions carefully. Detailed prose helps recover the boundaries, but the overlaps are real.

Naming Consistency4/5

Everything is uniformly snake_case with a spine_ prefix, and the majority are verb_noun (export_json, add_animation, restore_backup, render_frames). A handful of exceptions are noun-only (spine_doctor, spine_status, spine_editor_status, spine_project_info), which is a minor deviation from the dominant pattern but still readable.

Tool Count4/5

15 tools sit at the top of the ideal 3-15 range and each maps to a plausible domain operation (diagnostics, inspection, validation, rendering, export, authoring, backups). The count is slightly inflated by four overlapping status/diagnostic tools that could arguably be consolidated, but nothing feels gratuitously padded.

Completeness4/5

The surface covers a full authoring workflow: inspect, validate, measure, render, export, create/edit/derive/generate animations, and backup/restore with dry-run safety. The notable gap is a delete/remove path — there is no way to remove or rename an existing animation, and backup listing has no corresponding cleanup. These are minor gaps an agent can work around via export and re-import.