Skip to content

Connect LottieFiles to OpenCode

Platform for Lottie animations. Its hosted MCP server gives agents your LottieFiles workspace through a small GraphQL toolset, acting with your account's permissions.

MCP serverOfficialChecked 2026-11-16

Before you start

  • OpenCode installed (see its MCP documentation (opens in a new tab)).
  • LottieFiles is available on macOS, Windows, Linux and the web.
  • Needs a LottieFiles account; your agent opens a sign-in page the first time it connects. The four tools explore and run LottieFiles' GraphQL API rather than one tool per action.
  1. Step 1: Add LottieFiles 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 lottiefiles --url https://mcp.lottiefiles.com/mcp

    Or edit the config file

    Add this to opencode.json at the project root.

    opencode.json
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "lottiefiles": {
          "type": "remote",
          "url": "https://mcp.lottiefiles.com/mcp",
          "enabled": true
        }
      }
    }
    Good to know
    • Sign in once with opencode mcp auth lottiefiles.
  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 LottieFiles connected:

    Say to OpenCode
    List the Lottie animations in my LottieFiles workspace and tell me which ones were updated most recently.

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