Skip to content

Connect Lottie Creator to OpenCode

LottieFiles' browser-based animation editor. Its local MCP server lets agents build and edit Lottie animations inside the Creator tab you have open.

MCP serverOfficialChecked 2026-11-16

Before you start

  • OpenCode installed (see its MCP documentation (opens in a new tab)).
  • Lottie Creator is available on macOS, Windows and Linux.
  • Needs Node.js 18 or later. Open creator.lottiefiles.com and keep the tab open, then turn on Settings → MCP Settings → Enable local MCP and wait for “Local MCP bridge connected”. What you can do follows your Creator workspace and plan.
  1. Step 1: Add Lottie Creator 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 lottie-creator -- npx -y @lottiefiles/creator-mcp@latest

    Or edit the config file

    Add this to opencode.json at the project root.

    opencode.json
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "lottie-creator": {
          "type": "local",
          "command": [
            "npx",
            "-y",
            "@lottiefiles/creator-mcp@latest"
          ],
          "enabled": true
        }
      }
    }
  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 Lottie Creator connected:

    Say to OpenCode
    In Lottie Creator, make a 2-second loading spinner with three dots that bounce in turn.

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>.