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.design Integration Server
This server provides comprehensive integration with Spline.design 3D scenes through multiple modes:
MCP Server - Full Model Context Protocol integration for Claude Desktop
Webhook Server - Standalone webhook support for data-driven visualizations
Minimal Server - Lightweight option with essential functionality
Features
Comprehensive 3D Object Management
Create, modify, and delete any 3D object
Control positioning, rotation, scaling, and visibility
Generate runtime code for object interactions
Runtime API Integration
Direct integration with
@splinetool/runtimefor programmatic controlGenerate ready-to-use JavaScript, React, and Next.js code
Create interactive animations and behaviors
Implement custom event handling and scene manipulation
Advanced Material System
Create layered materials with extensive customization
Support for all Spline material types and properties
Configure complex shading options
Complete Event & Action System
Support for 20+ event types (mouse, keyboard, physics, etc.)
Implementation of 15+ action types
Create complex event chains and conditional logic
Webhook Integration
Create webhooks to receive external data
Build real-time data visualizations
Connect with services like Zapier, IFTTT, n8n, or custom APIs
Related MCP server: Sketchfab MCP Server
Installation
Option 1: Install and run locally
Option 2: Run different server modes
Command-Line Options
The server supports various command-line options through the unified CLI:
Project Structure
Using with Claude Desktop
This server is designed to work with Claude Desktop in MCP mode:
Start the server in MCP mode with stdio transport:
node bin/cli.js --mode mcp --transport stdioIn Claude Desktop, access the MCP connection settings
Connect to the server
Start interacting with Spline.design through Claude
Using Webhook Mode
The webhook server provides a simple web interface for creating and testing webhooks:
Start the server in webhook mode:
node bin/cli.js --mode webhookOpen the web interface at http://localhost:3000
Create a webhook and obtain its URL
In Spline.design, configure the webhook in the Variables & Data Panel
Send test data to see your scene update in real-time
Examples
See the examples/ directory for sample usage patterns and common workflows.
Documentation
For detailed documentation, see the files in the docs/ directory:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.