Game Asset MCP Server

Generate 2D and 3D game assets using AI models hosted on Hugging Face Spaces

Local serverstdioTypeScript

What is the Game Asset MCP MCP server?

Generate 2D and 3D game assets using AI models hosted on Hugging Face Spaces. The game asset mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 6 defined tools rather than through you.

What it actually does

This project is an innovative tool that simplifies game asset creation by leveraging AI-powered generation. Whether you're a game developer seeking rapid prototypes or an AI enthusiast exploring generative models, this tool enables you to create 2D and 3D game assets from text prompts effortlessly. It integrates AI models from Hugging Face Spaces—powered by "gokaygokay/Flux-2D-Game-Assets-LoRA", "gokaygokay/Flux-Game-Assets-LoRA-v2", and one of three 3D model generation spaces (InstantMesh, Hunyuan3D-2, or Hunyuan3D-2mini-Turbo, which you must duplicate to your account)—and uses the **Model

  • 2D Asset Generation — Create pixel art, sprites, or other 2D assets from text prompts (e.g., "pixel art sword")
  • 3D Asset Generation — Generate 3D models (OBJ and GLB formats) from text descriptions, with automatic image-to-model conversion
  • Multiple 3D Model Spaces — Supports InstantMesh, Hunyuan3D-2, and Hunyuan3D-2mini-Turbo for varied 3D generation workflows
  • MCP Integration — Seamlessly interact with the tool via MCP-compatible clients like Claude Desktop
  • File Management — Automatically saves and organizes assets in a local assets directory with resource URIs (e.g., asset://{type}/{id})
  • Robust Input Validation — Uses Zod for secure and reliable input processing

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Its toolset

Everything the assistant can do here goes through one of these:

  • Command — generate_2d_asset prompt:"pixel art sword"
  • Output — Saves a PNG file (e.g., 2d_asset_generate_2d_asset_1698765432.png) and returns its URI
  • InstantMesh — Multi-step (/check_input_image, /preprocess, /generate_mvs, /make3d)
  • Hunyuan3D-2 — Single-step (/generation_all)
  • Hunyuan3D-2mini-Turbo — Single-step (/generation_all) with turbo modes
  • Versioning — The Versioning tool exposed by this server

Configuration

  • Node.js: Version 16+ (includes npm). - Git: For cloning the repository. - Internet Access: Required for Hugging Face API connectivity. - Hugging Face Account: Needed for API access; obtain your token from huggingface.co/settings/tokens. - NPM Packages: - @gradio/client: Interacts with Hugging Face Spaces. -

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the game asset mcp mcp server does with a few real requests.

When to reach for it

Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Game Asset MCP's toolset — Command, Output, InstantMesh and 3 more — is a fair guide to whether it matches your workflow. It is maintained by MubarakHAlketbi; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Game Asset MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
Commandgenerate_2d_asset prompt:"pixel art sword"
OutputSaves a PNG file (e.g., 2d_asset_generate_2d_asset_1698765432.png) and returns its URI.
InstantMeshMulti-step (/check_input_image, /preprocess, /generate_mvs, /make3d).
Hunyuan3D-2Single-step (/generation_all).
Hunyuan3D-2mini-TurboSingle-step (/generation_all) with turbo modes.
VersioningThe Versioning tool exposed by this server.

Configuration

  • Node.js: Version 16+ (includes npm). - Git: For cloning the repository. - Internet Access: Required for Hugging Face API connectivity. - Hugging Face Account: Needed for API access; obtain your token from huggingface.co/settings/tokens. - NPM Packages: - @gradio/client: Interacts with Hugging Face Spaces. -

Example prompts to try

  • Use Game Asset MCP to Command.
  • Use Game Asset MCP to Output.
  • Use Game Asset MCP to InstantMesh.

Frequently asked questions

It connects Game Asset MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (Command, Output, InstantMesh, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Game Asset MCP directly.