Skip to content

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_export publishes 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.
  1. 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/mcp

    Or edit the config file

    Add this to opencode.json at 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.
  2. Step 2: Check it's connected

    Terminal
    opencode mcp list

    Start OpenCode in the project; the server's tools are available to the agent straight away.

  3. 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.json from the project root, or ~/.config/opencode/opencode.json for every project.
  • Environment variables use the {env:NAME} syntax inside the config file.
  • Servers that need a sign-in: run opencode mcp auth <name>.