Spline MCP Server
by aydinfer
Generate @splinetool/runtime code for Spline 3D scenes via Claude — Vanilla JS, React, and Next.js snippets on demand.
What it does
Spline MCP Server connects Claude to Spline.design workflows by providing code-generation tools for the @splinetool/runtime library. Rather than calling a non-existent Spline REST API, this server gives AI assistants the ability to produce working JavaScript and React code that integrates Spline 3D scenes into web projects.
Note: This project is archived. Spline does not expose a public REST API for scene manipulation, so the majority of the ~130 tool stubs that target api.spline.design are non-functional. The 10 code-generation tools, however, do work and produce valid @splinetool/runtime snippets.
Tools
- generate_vanilla_js — Produce plain JavaScript that loads a Spline scene and attaches event listeners
- generate_react_component — Create a React component wrapping a Spline scene with props for interactivity
- generate_nextjs_integration — Output a Next.js-compatible component with dynamic import and SSR guard
- generate_animation_code — Write animation logic using
position,rotation,scaleobject properties - generate_variable_state — Scaffold state management with
setVariable/getVariablecalls - generate_event_handler — Build
emitEventandaddEventListenerhandler code - generate_object_finder — Produce
findObjectByName/findObjectByIdlookup utilities - generate_camera_control — Write
setZoom,play, andstopcontrol snippets - generate_hover_interaction — Create hover-triggered transformations on Spline objects
- generate_click_interaction — Scaffold click-based scene interactions
Installation
Add to your Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"spline": {
"command": "npx",
"args": ["-y", "spline-mcp-server"]
}
}
}
Supported hosts
Claude Desktop is the only client confirmed in the README.
Quick install
npx -y spline-mcp-serverInformation
- Pricing
- free
- Published
- 4/4/2026
- stars
- 0