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 Server?

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

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

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. -

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Game Asset MCP Server

{
  "mcpServers": {
    "game-asset-generator": {
      "command": "node",
      "args": [
        "/full/path/to/game-asset-mcp/src/index.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

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

Generate 2D and 3D game assets using AI models hosted on Hugging Face Spaces Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.