Spline MCP Server

Integrations

  • Enables configuration of the server with environment variables stored in a .env file, including API credentials for Spline

  • Supports exporting Spline scenes to glTF format, allowing 3D models to be used in various platforms that support the format

  • Allows installation and running of the server through npm, including direct execution with npx

Spline MCP 服务器

一个用于与 Spline 3D 设计工具 API 配合使用的 MCP 服务器。该服务器为 Claude 提供了一个便捷的界面,以便与 Spline 的功能进行交互,包括导出场景、导入模型、创建动画和管理项目。

特征

基本操作

  • 将 Spline 场景导出为各种格式(GLB、GLTF、FBX、OBJ)
  • 将 3D 模型导入 Spline
  • 获取有关 Spline 场景的详细信息
  • 列出可用的 Spline 场景

动画功能

  • 为对象创建关键帧动画
  • 触发现有动画
  • 列出场景中的动画
  • 创建事件触发动画(onClick、onHover 等)

安装

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 format
Import the 3D model from "https://example.com/model.glb" into my Spline project
Get details for my Spline scene with ID "abc123"
List my available Spline scenes

动画操作

Create an animation named "Rotate" for the cube object in my scene
Trigger the "Bounce" animation for the ball object
Create an onClick animation that makes an object move up when clicked
List 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 enabled

API 文档

有关 Spline API 的更多信息,请参阅官方文档

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

该界面使 Claude 能够与 Spline 3D 设计工具进行交互,从而允许通过自然语言命令执行导出场景、导入模型和创建动画等操作。

  1. Features
    1. Basic Operations
    2. Animation Capabilities
  2. Installation
    1. Configuration
      1. Usage
        1. Basic Operations
        2. Animation Operations
      2. Animation Examples
        1. Creating a Simple Rotation Animation
        2. Creating an Event-Based Animation
        3. Triggering Animations
      3. API Documentation
        1. License
          ID: iud5r7i870