Spline MCP 服务器
一个用于与 Spline 3D 设计工具 API 配合使用的 MCP 服务器。该服务器为 Claude 提供了一个便捷的界面,以便与 Spline 的功能进行交互,包括导出场景、导入模型、创建动画和管理项目。
特征
基本操作
将 Spline 场景导出为各种格式(GLB、GLTF、FBX、OBJ)
将 3D 模型导入 Spline
获取有关 Spline 场景的详细信息
列出可用的 Spline 场景
动画功能
为对象创建关键帧动画
触发现有动画
列出场景中的动画
创建事件触发动画(onClick、onHover 等)
Related MCP server: Sketchfab MCP Server
安装
npm install spline-mcp-server或者直接通过 npx 使用:
npx spline-mcp-server配置
使用您的 Spline API 凭据创建一个.env文件:
SPLINE_API_KEY=your_api_key_here
SPLINE_API_URL=https://api.spline.design用法
此 MCP 服务器可与 Claude 配合使用,与 Spline 的功能进行交互。以下是一些使用示例:
基本操作
Export my Spline scene with ID "abc123" to GLB formatImport the 3D model from "https://example.com/model.glb" into my Spline projectGet details for my Spline scene with ID "abc123"List my available Spline scenes动画操作
Create an animation named "Rotate" for the cube object in my sceneTrigger the "Bounce" animation for the ball objectCreate an onClick animation that makes an object move up when clickedList all animations in my scene动画示例
创建简单的旋转动画
Create an animation named "Spin" for object "cube-123" in scene "abc456" with keyframes for rotation创建基于事件的动画
Create an onClick animation named "Grow" for object "button-123" in scene "abc456" that scales the object to 1.5x its size触发动画
Trigger the "Pulse" animation for object "heart-123" in scene "abc456" with loop enabledAPI 文档
有关 Spline API 的更多信息,请参阅官方文档。
执照
麻省理工学院
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.