MCP Server · 47 tools

Sprixen MCP Server

Give Claude Code, Cursor, Codex, Windsurf, VS Code, Claude Desktop, Gemini CLI or any MCP-capable agent a direct line to game asset generation: consistent pixel art sprites, animations, tiles, maps, music and more, without leaving your editor.

Transport:Streamable HTTPEndpoint:https://api.sprixen.com/v1/mcpAuth:Authorization: Bearer spx_live_...

What it is

Sprixen runs a native Model Context Protocol server with 47 tools, reachable over Streamable HTTP at https://api.sprixen.com/v1/mcp. Every tool call authenticates with your API key in the header Authorization: Bearer spx_live_... and runs through the same controllers, DTO validation, credit accounting and ownership checks as the REST API and the app itself, an agent calling generate_sprite gets exactly what a human clicking Generate would get.

Beyond the sprite/animation/map/music shortcuts, three discovery tools cover the rest of the product surface: list_api_operations to browse everything by feature, describe_api_operation for exact parameters and referenced schemas, and call_api to execute it. This covers RPG adventures, parallax, project/sprite editing, batch animations, isometric sequences, and Game/Mod Builder conversations. Admin, auth, payment and player-runtime endpoints are excluded on purpose.

Get a key

New to Sprixen: create a free account (6 credits, no card) and land straight on the key screen with the install command ready.

Keys look like spx_live_{random} and are shown once, at creation. Manage and revoke keys any time under Settings › API.

Install

Pick your client, paste your key (or leave the placeholder and swap it in after), copy the snippet.

Stays in your browser only, never sent anywhere. Don't have a key yet? Create a free account.

claude mcp add --transport http sprixen https://api.sprixen.com/v1/mcp \
  --header "Authorization: Bearer spx_live_YOUR_KEY"
bash

Run this once in your terminal. Claude Code stores the server in its project or user MCP config.

Teach your agent

Connecting the server gets the tools listed; it doesn't teach the agent the workflow (create one project per game, generate the character before animations, poll instead of resubmitting, export at the end). Install the Sprixen skill so your agent knows this up front.

Claude Code / any agent reading SKILL.md

mkdir -p ~/.claude/skills/sprixen && curl -fsSL https://sprixen.com/skills/sprixen/SKILL.md \
  -o ~/.claude/skills/sprixen/SKILL.md
bash

Cursor rule

mkdir -p .cursor/rules && curl -fsSL https://sprixen.com/agents/sprixen.mdc \
  -o .cursor/rules/sprixen.mdc
bash

Codex / generic agents (AGENTS.md)

curl -fsSL https://sprixen.com/agents/AGENTS.md >> AGENTS.md
bash

Prefer reading the raw source first? /skills/sprixen/SKILL.md and /agents/AGENTS.md are plain Markdown, open them in a browser or fetch them from any script.

Starter project

A minimal Phaser 3 game with no art in it. Open the folder in Claude Code or Cursor, connect the MCP server above, and ask for a character, the agent generates it, exports it, and drops it into assets/character/.

sprixen-phaser-starter.zip

Phaser 3 + a scene that plays an idle animation once assets land, with the skill and MCP setup pre-wired.

Download starter

Godot addon

A Godot 4 editor addon that asks for your Sprixen key and imports generated characters as SpriteFrames directly into your project. Download the addon (drop into res://addons/sprixen/and enable it under Project Settings › Plugins).

Tools

The catalogue below covers the most-used shortcuts. Everything else in the product, RPG adventures, parallax, Sprixen Live, VFX Foundry setup and more, is reachable through list_api_operations / describe_api_operation / call_api.

ToolDescription
list_api_operations / describe_api_operation / call_apiDiscover the full product API (167 operations) and execute any of them with your key's normal validation, credits and ownership checks
get_creditsCheck current credit balance and subscription status, call this first
list_projectsList the user's style-lock projects (artStyle, resolution, viewAngle)
generate_spriteGenerate a pixel art sprite from a prompt, supports pixelPerfect, variantCount, packItems, chainAnimation/chainAnimations (2 credits per variant)
get_generationPoll sprite generation status and get result URLs
list_spritesList sprites in a project
generate_animationGenerate an animated sprite sheet for a sprite, type, archetype, weapon, direction, quality standard (4 credits) or premium (8 credits)
list_sprite_animationsList all animation versions for a sprite, sort by createdAt, the latest per type/direction wins
generate_tileGenerate a custom isometric tile (1 credit)
list_tile_packsList available tile packs (built-in and custom)
create_map / list_maps / export_mapCreate, list and export a map (JSON, TMX, or Godot)
generate_3d_model / get_3d_model / list_3d_modelsCreate, poll and list 3D models
animate_3d_model / get_3d_animationAnimate a 3D model and retrieve its result
generate_music / get_music / list_musicGenerate, poll and list game music tracks (3 credits)
list_vfx_presets / get_vfx_capabilitiesBrowse 36 effect families and check visual AI pricing
create_vfx / create_ai_vfx / get_vfx / list_vfxCreate catalogue (2 credits) or original AI (6 credits) effects, then poll and download
list_game_templates / create_game_project / list_game_projects / get_game_project / publish_game_projectAI Game Builder: templates, projects, and one-click publish to a public slug
list_mod_templates / create_mod_project / list_mod_projects / get_mod_project / export_mod_projectMod Builder: FiveM and Roblox mod projects, export as a deploy-ready ZIP

Credits and limits

ItemValue
Free trial6 credits on signup, no card
Pro plan$10/month, ~200 generations/month
Sprite (per variant)2 credits
Animation (standard)4 credits
Tile1 credit
Music3 credits
MCP rate limit120 requests/minute/user/instance, plus normal API limits
MCP session idle timeout30 minutes
Sessions are in-memory: if a client sits idle past 30 minutes or the server restarts, reinitialize rather than retrying the same session. Always call get_credits before a batch of generations, an agent generating several characters with multiple animations can spend well over 100 credits in one sitting.

Errors

Every error carries a stable code and an actionable hint, an agent should branch on code, never parse message. A hint always says what to do next, and sometimes a URL to hand to the human it's working for.

{
  "statusCode": 402,
  "message": "Insufficient credits: animation costs 4 and you have 1.",
  "error": "Payment Required",
  "code": "INSUFFICIENT_CREDITS",
  "hint": {
    "action": "upgrade",
    "url": "https://sprixen.com/settings/billing",
    "details": { "required": 4, "available": 1 }
  }
}
json

On INSUFFICIENT_CREDITS, stop and tell the human the upgrade URL, don't retry, and don't silently downgrade to a cheaper operation without asking.

FAQ

Is the Sprixen MCP server free to use?

Connecting is free, install any client above with your API key and the discovery tools (list_api_operations, get_credits) work at no cost. Generating assets spends the same credits as the app: 6 free on signup, then 200/month on the $10 Pro plan.

Which AI coding agents work with Sprixen MCP?

Any client that speaks MCP over Streamable HTTP with custom headers: Claude Code, Cursor, Codex CLI, Windsurf, VS Code (GitHub Copilot), Gemini CLI, and Claude Desktop via the mcp-remote bridge. Rosebud, Lovable and other agent platforms that support remote MCP servers work the same way.

How does style consistency work when an agent generates assets?

Create one project per game and pass its projectId to every generate_sprite / generate_animation call. The project's artStyle, resolution, viewAngle and palette lock in, so every sprite the agent generates afterward matches the first one automatically, no need to repeat style instructions in every prompt.

Can my agent export sprites for my specific game engine?

Yes. export_character_package builds a ZIP for Godot (SpriteFrames and scene), Phaser (TexturePacker atlas), Unity (sliced sheet meta), GameMaker (strips) or RPG Maker MZ (48x48 walk sheet), with every animation normalized to the same cell and pivot. export_map covers JSON, TMX and Godot for maps.

Are generations synchronous or do I need to poll?

Every generation tool (generate_sprite, generate_animation, generate_3d_model, generate_music, create_vfx) returns immediately with an ID and a queued/processing status. Poll the matching get_* or list_* tool every few seconds until status is completed or failed, never resubmit a paid request just because a poll timed out.

Is my prompt or generated art used to train models or shown to other users?

No. Projects, prompts and generated assets are private to your account. MCP analytics record which tool ran and whether it succeeded, never your prompts, arguments or output content.