Skip to main content

MCP server for Spline.design 3D scene orchestration

Project description

spline-mcp

MCP server for Spline.design 3D scene orchestration.

Installation

uv pip install -e .

Configuration

Set your Spline API key as an environment variable:

export SPLINE_API_KEY="your-api-key-here"

Or create a .env file:

SPLINE_API_KEY=your-api-key-here

Usage

Stdio Mode (default)

spline-mcp serve

HTTP Mode

spline-mcp serve --http --port 3048

Health Check

spline-mcp health

Available Tools

Scene Management

Tool Description
list_scenes List all accessible scenes
get_scene Get scene details by ID
create_scene Create a new scene
delete_scene Delete a scene

Object Management

Tool Description
list_objects List all objects in a scene
get_object Get object details
create_object Create a new 3D object
update_object Update object properties
delete_object Delete an object

Material System

Tool Description
list_materials List all materials in a scene
create_material Create a new material
apply_material Apply material to an object

Events & Actions

Tool Description
list_events List all events in a scene
create_event Create a new event
trigger_event Manually trigger an event

Runtime API

Tool Description
get_runtime_state Get current runtime state
set_variable Set a runtime variable
export_scene Export scene to file format

Configuration Options

Set via environment variables with SPLINE_ prefix:

Variable Default Description
SPLINE_API_KEY - Spline API authentication key
SPLINE_API_BASE_URL https://api.spline.design/v1 API base URL
SPLINE_API_TIMEOUT 30.0 Request timeout in seconds
SPLINE_DEFAULT_SCENE_ID - Default scene for operations
SPLINE_AUTO_SAVE true Auto-save after modifications
SPLINE_HTTP_HOST 127.0.0.1 HTTP server host
SPLINE_HTTP_PORT 3048 HTTP server port
SPLINE_LOG_LEVEL INFO Logging level
SPLINE_LOG_JSON true Use JSON logging format

Architecture

Built with the Bodai ecosystem stack:

  • FastMCP: MCP protocol implementation
  • Oneiric: Configuration management
  • mcp-common: Shared utilities
  • Pydantic: Data validation
  • httpx: Async HTTP client

License

BSD-3-Clause

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spline_mcp-0.1.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spline_mcp-0.1.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file spline_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: spline_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spline_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d18331653d146337222f1fe8625c4929a272c49768787ea55135ae42a1e8c9dd
MD5 954612fad2fb3f27637e6dc4af73931a
BLAKE2b-256 e280656457e42ea3ee4b54bae023d47ea9d4c7822d684791273d11525df06069

See more details on using hashes here.

File details

Details for the file spline_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: spline_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spline_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc4c8a8d8a62f466a1326210f2b43066b693a66519f895ada14baf97d3d273dd
MD5 2de9536ef1a6af01090a6df5e54e8fb5
BLAKE2b-256 6b95c7ccf3163ed63097b4be5fccdf42574a4b2d7238ed84470656f58e897fbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page