Skip to main content
MCP server CX Codex

2D Assets MCP — Claude Code MCP server: install

This MCP server creates PNG placeholders for game prototypes, including sprites, health bars, and UI elements. Use it to test scale and animation timing before final art.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add 2d-assets-mcp -- npx -y 2d-assets-mcp
Open on GitHub

What 2D Assets MCP does

2D Assets MCP generates PNG files inside the project folder through an AI client. It can produce sprites, animation spritesheets, buttons, health bars, and other interface elements. Visual options include gradients, pattern overlays, transparency, rotated text, and labels that scale to fit the asset.

Generated PNGs carry JSON metadata in EXIF with details such as dimensions, colors, shapes, gradients, patterns, text, and strokes. File names include dimensions, which helps models without vision identify an asset. The server writes to the path supplied by the AI client, so access should be limited to the game project and output paths should be reviewed before confirmation. Claude Code setup uses npx with the 2d-assets-mcp package.

What it helps with

  • create a PNG placeholder for a game object
  • build a spritesheet for a short animation
  • draw a health bar with a chosen fill level
  • prepare a button or other game UI element
  • test scale and animation timing before final art

Example prompts for the agent

  • Create an attack button as button_attack_128x48.png with a red gradient and the label ATTACK.
  • Generate a hero idle-animation spritesheet and save it in the project folder.
  • Make health_bar_200x24.png with the bar filled to 75 percent.

How to install 2D Assets MCP

Platform CLI

claude mcp add 2d-assets-mcp -- npx -y 2d-assets-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about 2D Assets MCP

How do I install 2D Assets MCP in Claude Code?

Run claude mcp add 2d-assets-mcp -- npx -y 2d-assets-mcp. This adds the MCP server to Claude Code.

What does 2D Assets MCP do?

It creates PNG placeholders for game prototypes, such as sprites, animation spritesheets, buttons, and health bars. The images also include JSON metadata that can be read without loading their pixels.

Where does 2D Assets MCP write generated files?

It writes files to the path provided by the AI client. Limit access to the game project directory and review paths before confirming an operation.

Similar MCP servers

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor