Connect Spline to OpenCode
3D design tool that runs in the browser. Its hosted MCP server lets agents build and edit scenes and generate 3D models and images, and the result is an editable Spline file, not code.
MCP serverOfficialChecked 2026-11-16
Before you start
- OpenCode installed (see its MCP documentation (opens in a new tab)).
- Spline is available on macOS, Windows, Linux and the web.
- Your agent opens a Spline sign-in page the first time it connects. Each conversation runs in a cloud editor, so nothing has to be open on your machine. Tool calls are limited per day by plan (20 on Free, 100 on Hobby, 200 on Pro, 400 on Max), with a per-minute cap on top.
3d_publish_exportpublishes the scene to a public URL, so keep it for when you mean to. Spline's desktop app has its own server for macOS and Windows; its paths depend on your machine, so set that one up from Spline's docs.
Step 1: Add Spline to OpenCode
Add it from the terminal
Run this in your project folder. It saves the server to the project's
opencode.json.Terminal opencode mcp add spline --url https://mcp.spline.design/mcpOr edit the config file
Add this to
opencode.jsonat the project root.opencode.json { "$schema": "https://opencode.ai/config.json", "mcp": { "spline": { "type": "remote", "url": "https://mcp.spline.design/mcp", "enabled": true } } }Good to know- Sign in once with
opencode mcp auth spline.
- Sign in once with
Step 2: Check it's connected
Terminal opencode mcp listStart OpenCode in the project; the server's tools are available to the agent straight away.
Step 3: Try a first request
Ask OpenCode something that only works with Spline connected:
Say to OpenCode Create a new Spline scene with a glass card floating over a soft gradient, then tell me what you built.
If it doesn't work
- OpenCode reads
opencode.jsonfrom the project root, or~/.config/opencode/opencode.jsonfor every project. - Environment variables use the
{env:NAME}syntax inside the config file. - Servers that need a sign-in: run
opencode mcp auth <name>.





