Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPINE_MCP_WORKSPACENoSpecifies the workspace root directory. Defaults to the current working directory.current working directory

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
spine_agent_pingA

Agent 连接握手工具。Agent 成功连接 MCP 后调用它,WinForms 连接向导会据此显示绿色连接状态。只写运行态握手文件,不写 Spine JSON。

spine_agent_get_connection_statusA

读取 Agent 连接状态、最近握手、项目规则检测和 Codex/Claude Code/opencode 配置片段。只读,不写 Spine JSON。

spine_get_document_summaryB

返回 Spine JSON 版本、文件哈希、顶层字段、数量统计,以及 V1 是否允许写入。

spine_get_official_spec_summaryA

返回当前 MCP 内置的 Spine 官方 JSON 规范审查摘要、可写 timeline 规则和 4.1.24 字段适配说明。

spine_get_skeleton_hierarchyB

返回骨骼树;可选返回 setup pose 的局部变换。

spine_get_slotsA

返回插槽绘制顺序、绑定骨骼、默认附件和显示属性。

spine_get_skinsB

返回皮肤名称和附件摘要。

spine_get_animationsB

返回动画名称、估算时长和时间线类型统计。

spine_get_animation_timelinesC

返回指定动画的原始时间线和规范化摘要,可按目标类型和名称过滤。

spine_get_animation_sheetC

返回适合 Agent 编辑的关键帧表格,包含目标、时间线、时间、值、曲线和 JSON path。

spine_create_animationC

新建空动画。默认不覆盖已有动画。

spine_clone_animationB

复制一个已有动画,作为后续编辑模板。默认不覆盖目标动画。

spine_delete_animationB

删除动画。高风险操作,必须显式传 confirm: true。

spine_set_bone_keyframeC

为已有动画中的已有骨骼插入或更新 rotate/translate/scale/shear 关键帧。

spine_set_slot_attachment_keyframeB

插入或更新插槽附件关键帧。attachmentName 为 null 表示隐藏附件。

spine_set_draw_order_keyframeC

使用官方 draw order offsets 结构插入或更新绘制顺序关键帧。

spine_shift_keyframesC

将指定动画、时间范围和目标过滤器内的关键帧整体前后平移。

spine_scale_keyframe_timesC

以 originTime 为原点压缩或拉伸指定关键帧的时间。

spine_delete_keyframe_rangeB

删除某段时间范围内的关键帧,可按骨骼、插槽或绘制顺序过滤。

spine_copy_keyframe_rangeC

把一个动画片段复制到另一个动画或同一动画的指定时间点。

spine_apply_pose_keyframesC

在同一时间点批量设置多个骨骼和插槽的姿态关键帧。

spine_apply_pose_sequenceC

一次性创建或覆盖动画,并批量写入多个姿态时间点;适合减少多次写入、备份和审查调用。

spine_offset_bone_timeline_valuesC

批量调整骨骼时间线数值,可增加偏移或按比例缩放。

spine_make_loopB

把 sourceTime 的已有关键帧复制到 targetTime,用于让循环动画首尾闭合。

spine_remove_keyframeC

按时间从骨骼、插槽或绘制顺序时间线中删除关键帧。

spine_validate_jsonB

校验结构、版本、引用关系、关键帧排序和插槽附件引用。

spine_preview_get_configA

返回浏览器预览层默认配置、官方 runtime 版本和 URL 参数说明。只读,不写入 JSON。

spine_preview_check_assetsA

检查预览所需的 JSON、atlas 和 atlas 引用贴图是否存在,并确认目标动画是否存在。只读,不写入 JSON。

spine_preview_get_urlA

生成可直接打开的浏览器预览 URL,支持指定 JSON、atlas、动画、皮肤、PMA、Mipmaps 和自动载入。只读,不写入 JSON。

spine_runtime_validateA

使用官方 spine-core runtime 读取 JSON、atlas 和附件数据,验证资源是否能被当前 4.1 runtime 加载。只读,不写入 JSON。

spine_run_validation_pipelineA

执行写入后的推荐只读验证流程:结构校验、官方 runtime 加载验证和预览 URL 生成。不写入 JSON。

spine_list_backupsA

列出 backups/ 中的 Spine JSON 备份,可按目标 filePath 过滤,并可校验备份 JSON 是否可用。只读,不写入 JSON。

spine_restore_backupA

将 backups/ 中的指定备份恢复到目标 JSON 文件。高风险操作,必须 confirm:true;默认 dryRun:true;真实恢复前会先备份当前目标文件。

spine_preview_set_sessionA

设置 Agent 驱动的预览会话状态,让 WinForms 或浏览器预览层自动知道当前 JSON、atlas、动画和操作说明。只写会话状态,不写 Spine JSON。

spine_preview_get_sessionA

读取当前 Agent 驱动的预览会话状态,并返回对应预览 URL。只读,不写入 JSON。

spine_preview_clear_sessionA

清空当前预览会话状态,恢复默认 JSON、atlas 和动画。只写会话状态,不写 Spine JSON。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yb901104-wq/spine-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server