How to add sprites to your Godot project with your AI coding assistant

If you build your game with an AI coding assistant, it can fetch your SpriteRig characters for you. You ask for a walk cycle in plain words, and the assistant puts the sprite sheet into your Godot 4 project as a scene that already plays. SpriteRig's connector does this. It is a small free program that runs on your own computer and speaks MCP, the standard that assistants use to reach outside tools. The feature is in beta, on the Indie and Studio plans.

What can the assistant do?

What do you need?

New to AI sprite sheets? AI sprite sheets for Unity, Godot and GameMaker

How do you set it up?

It takes about two minutes, and you only do it once on each computer.

  1. Make a token. On SpriteRig, open Billing, find Connect your AI coding assistant, type a name such as My laptop, and click Make a token. Copy it straight away: it is shown once.
  2. Add SpriteRig to your assistant. The Billing page shows the command for your assistant with your token already filled in. Paste it into a terminal. The same commands are listed below.
  3. Open your Godot project in the assistant. Start the assistant in the project folder, the one that holds project.godot, and begin a new chat so that it picks up the new tools.
  4. Ask for a sprite sheet. For example: "Add my knight's walk animation from SpriteRig to this Godot project." The assistant asks before it writes files. Say yes.
  5. Open the scene in Godot. Godot imports the new folder by itself. Open the .tscn file or drag it into your level, and the animation plays.

Open the Billing page

What is the command for each assistant?

Replace srk_your_token with your own token. The Billing page shows the same lines with your token filled in.

To add SpriteRig to Claude Code, run:

claude mcp add --env SPRITERIG_TOKEN=srk_your_token --transport stdio spriterig -- npx -y spriterig-mcp

To add SpriteRig to OpenAI Codex, run:

codex mcp add spriterig --env SPRITERIG_TOKEN=srk_your_token -- npx -y spriterig-mcp

To add SpriteRig to Google Antigravity, run:

agy mcp add --env SPRITERIG_TOKEN=srk_your_token spriterig -- npx -y spriterig-mcp

For Cursor, Claude Desktop, Google Antigravity, add this to the app's MCP settings:

{
  "mcpServers": {
    "spriterig": {
      "command": "npx",
      "args": [
        "-y",
        "spriterig-mcp"
      ],
      "env": {
        "SPRITERIG_TOKEN": "srk_your_token"
      }
    }
  }
}

Where each app keeps those settings:

Any other app that runs local MCP servers: add a server with the command npx -y spriterig-mcp and the environment variable SPRITERIG_TOKEN.

Gemini CLI takes the same settings block. Since June 2026 Google only runs Gemini CLI for business licences and paid API keys, so with a personal Google account, use Antigravity.

What can you ask for?

Talk to the assistant the way you normally do. A few examples:

What ends up in your Godot project?

One new folder at the top of the project, named after the character and the move, with three files in it:

Adding a sheet costs no credits. It was paid for when it was made.

To export by hand instead, see How to import animated sprites into Godot 4

Is it safe to connect an assistant?

What if something doesn't work?

The assistant doesn't see SpriteRig.
Start a new chat, or restart the assistant, after adding it. The first start can take a few seconds while npx downloads the connector, so a quick status check may show it as not connected yet.
It says the token isn't valid.
The token was revoked or not copied whole. Make a new one on the Billing page and run the command again.
It says the connector is available on Indie and Studio.
The account the token belongs to is on the Free plan.
It says the folder isn't a Godot project.
Give the assistant the full path of the folder that holds project.godot.
It says the files already exist.
Ask it to replace them, or to use a different name.

Frequently asked questions

Which AI coding assistants work with SpriteRig?
Claude Code, OpenAI Codex, Google Antigravity, Cursor and Claude Desktop have been tested. Any other app that can run a local MCP server should work with the same command.
Does adding a sprite sheet cost credits?
No. Credits are spent when the sprite sheet is made on SpriteRig. Adding it to a project is free, as many times as you like.
Can the assistant create a new character or animation?
Not yet. It lists and adds what is already in your account. Make the character and its sprite sheets on SpriteRig first.
Does it work with Unity or GameMaker?
Not yet. The connector writes Godot 4 files. For Unity and GameMaker, download the sheet from the AI animation page instead.
What is MCP?
The Model Context Protocol, an open standard that lets AI assistants use outside tools. SpriteRig's connector is a small MCP server that runs on your own computer.
Do I have to install anything?
Only Node.js. The command uses npx, which downloads the connector the first time you use it.

The connector is part of the Indie and Studio plans. Rigging, posing and export are free on every plan. Start with 20 free credits.