Skip to main content
Glama
SankofaForge

glaxnimate-mcp-server

by SankofaForge

兼容 Glaxnimate 的 SVG 动画 MCP

这个本地 MCP 服务器会检查 SVG 图形,并为带有稳定 ID 的元素添加 SMIL 关键帧。它专为 LLM 工作流设计:先生成结构化的 SVG,检查其分组,添加动效,然后在 Glaxnimate 中打开结果,或直接在网页上使用。

Glaxnimate 在其源码树中提供了无头 Python API,但已发布的 Python 包目前仅限 Windows 使用。因此,此服务器使用可移植的 SVG 动画原语,而不是假装控制一个并不可用的 Glaxnimate 安装。生成的 SVG 文件仍可在 Glaxnimate 中编辑。

工具

  • glaxnimate_inspect_svg 列出 SVG ID 以及它们所引用的元素。

  • glaxnimate_animate_svg 为平移、旋转、缩放、不透明度、路径变形和 stroke-dashoffset 添加 SMIL 动画。

glaxnimate_animate_svg 会同时返回动画版 SVG 和原始 SVG,以支持减少动态效果(reduced-motion)的处理。当宿主页面检测到 prefers-reduced-motion: reduce 时,请使用静态版本。

Related MCP server: text2animate

安装

本项目需要 Python 3.11 或更高版本。在仓库的检出目录中,创建虚拟环境并安装该包:

python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install .

配置你的 MCP 客户端,通过 stdio 启动 glaxnimate-mcp。对于接受 JSON 配置的客户端,命令如下:

{
  "command": "glaxnimate-mcp"
}

验证

在仓库根目录下运行单元测试:

PYTHONPATH=src python -m unittest discover -s tests -v

许可证

MIT

A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Browse, create, edit, and export SVGator animated SVG projects via your SVGator account.

  • Build and run visual creative-production workflows from your AI agent.

  • Multilingual semantic SVG icon search with previews for AI coding agents. 20,000+ icons.

View all MCP Connectors

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/SankofaForge/glaxnimate-mcp-server'

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