Godot 4 workflow guide

Godot MCP for 2D Game Assets

Try a game template without an account. Follow the Godot 4 SpriteFrames import steps and review MCP configuration examples for future access.

MCP setup example · Early AccessScroll sideways for the full command
codex mcp add game-studio --url https://spritedash.com/mcp --bearer-token-env-var GAME_STUDIO_TOKEN
Pixel-art platformer practice scene

Workflow

  1. Review the scoped key setup

    The configuration examples show how Codex, Claude Code or Cursor can connect once the endpoint is available. Use only the scopes and project the client needs.

  2. Review the asset workflow

    The documented workflow quotes an action, checks its task status and selects Godot 4 as the export target.

  3. Import a SpriteFrames resource

    If you have a Godot export ZIP, extract it so the adapters/godot paths exist under res://. Assign frames.tres to AnimatedSprite2D and use play.gd to apply the exported pivot.

Engine export specifications

Engine export specifications
TargetIncluded filesHow to use
Universal spritesatlas.json · sheet.png · frames/ · audio/Frame bounds, anchor and durations
Phaser 3texture-atlas.json · sheet.pngLoad via this.load.atlas()
Godot 4frames.tres · sheet.png · play.gdLoad in AnimatedSprite2D
Static web gamewhitebox_web · game-config.json · asset-manifest.jsonServe the unpacked folder over HTTP

Load it in your game

Godot 4 · AnimatedSprite2D

@onready var actor: AnimatedSprite2D = $AnimatedSprite2D

func _ready() -> void:
    actor.sprite_frames = preload("res://adapters/godot/frames.tres")
    actor.play("attack")

The 12 Studio MCP tools

Public MCP access is closed during Early Access. These setup examples document the scoped Streamable HTTP workflow for when the endpoint opens.

get_account

Read the current plan, both credit pools and entitlements. Free. Call at most once per session.

projects

List, get or whitebox_get with read scope. Create or whitebox_save with generate scope. Creation needs idempotencyKey; whitebox saves use expectedRevision. Free.

set_style_lock

Save a new default style lock version with palette and project-owned reference images. Free.

request_upload

Request a short-lived PUT ticket for a project-owned image or audio file. Free. Send binary bytes, not base64 JSON.

create_subject

Create a character or a 2D VFX subject. Prompt generation requires a matching quote; registering an uploaded image is free. Use an idempotency key.

quote_task

Quote an existing Studio task input. Free. Quotes expire in five minutes; use the exact quoted input and a fresh idempotency key.

generate_animation

Queue a character action with a matching quote and idempotency key. Paid generation consumes quoted credits.

generate_vfx

Queue a weapon slash, explosion, hit sparks or magic clip with a matching quote and idempotency key. Supports luma_alpha. Uses quoted credits.

generate_sfx

Queue SFX generation or register uploaded audio. Uses the matching quote and idempotency key; upload registration is free.

get_task_status

Read one to twelve project-owned tasks. Free. Optionally wait up to 15 seconds; respect retryAfterMs for pending work.

reslice_or_bind_sfx

Reslice an existing video, or CAS-save frame bindings and mix. Both are free. Use an idempotency key.

export_assets

Queue an Atlas-validated generic, Phaser 3 and Godot 4 ZIP, or a standalone whitebox_web game ZIP using whiteboxConfigId. Free. Use an idempotency key; poll with get_task_status and download with export scope.

Codex

codex mcp add game-studio --url https://spritedash.com/mcp --bearer-token-env-var GAME_STUDIO_TOKEN

Claude Code

claude mcp add --transport http game-studio https://spritedash.com/mcp --header "Authorization: Bearer $GAME_STUDIO_TOKEN"

Cursor

{
  "mcpServers": {
    "game-studio": {
      "url": "https://spritedash.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_STUDIO_KEY"
      }
    }
  }
}

Frequently asked questions

Can I connect to MCP during Early Access?

The public MCP endpoint is closed. The setup examples document how the asset workflow is designed to connect.

Does the workflow control the Godot editor?

The MCP tools are designed for asset workflows. Import the files in your own Godot project.

What Godot resource is exported?

The Godot 4 adapter includes frames.tres, its sheet and play.gd for pivot and playback.

Explore the Studio workflows

Build your first playable move

Try the public demos during Early Access. Hosted generation, MCP and checkout are currently closed.

Open Studio Free