Game Asset Generator

v1.0.0Cloud Servicesstable

An MCP server that generates 2D and 3D game assets from text prompts using AI models from Hugging Face Spaces, allowing developers to easily create game art through Claude Desktop or other MCP clients.

game-asset-generatormcpai-integration
Share:
137
Stars
0
Downloads
0
Weekly
0/5

What is Game Asset Generator?

Game Asset Generator is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that generates 2d and 3d game assets from text prompts using ai models from hugging face spaces, allowing developers to easily create game art through claude desktop or other mcp clients....

An MCP server that generates 2D and 3D game assets from text prompts using AI models from Hugging Face Spaces, allowing developers to easily create game art through Claude Desktop or other MCP clients.

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server that generates 2D and 3D game assets from text

Use Cases

Generate 2D and 3D game assets from text descriptions using AI models.
Create game art through Claude Desktop or other MCP-compatible clients.
MubarakHAlketbi

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y game-asset-generator

Manual Installation

npx -y game-asset-generator

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Game Asset Generator

Game Asset Generator is an MCP server that enables AI assistants like Claude to generate 2D and 3D game assets directly from text descriptions using AI models hosted on Hugging Face Spaces. It exposes two core tools — one for 2D pixel art and sprites, and one for 3D models in OBJ/GLB formats — making it easy for indie developers to prototype game art without specialized design skills. Assets are automatically saved to a local directory and returned as resource URIs for immediate use.

Prerequisites

  • Node.js 18+ and npm installed
  • A Hugging Face account with an API token (free tier available at huggingface.co)
  • A duplicated Hugging Face Space for 3D generation (e.g., InstantMesh or Hunyuan3D-2) linked to your account
  • An MCP-compatible client such as Claude Desktop
1

Clone the repository

Clone the game-asset-mcp repository from GitHub to your local machine.

git clone https://github.com/MubarakHAlketbi/game-asset-mcp.git
cd game-asset-mcp
2

Install Node.js dependencies

Install the project's dependencies using npm.

npm install
3

Set up environment variables

Copy the example environment file and fill in your Hugging Face token and model space name.

cp .env.example .env
# Edit .env and set:
# HF_TOKEN=your_huggingface_api_token
# MODEL_SPACE=your-username/InstantMesh
4

Configure Claude Desktop

Add the game asset generator to your Claude Desktop MCP configuration. The server will use the env vars from your .env file.

{
  "mcpServers": {
    "game-asset-generator": {
      "command": "npx",
      "args": ["-y", "game-asset-generator"],
      "env": {
        "HF_TOKEN": "your_huggingface_api_token",
        "MODEL_SPACE": "your-username/InstantMesh"
      }
    }
  }
}
5

Generate your first game asset

Ask Claude Desktop to generate a 2D or 3D asset. Generated files are saved to the local assets/ directory.

Game Asset Generator Examples

Client configuration

Claude Desktop configuration for the Game Asset Generator MCP server with Hugging Face credentials.

{
  "mcpServers": {
    "game-asset-generator": {
      "command": "npx",
      "args": ["-y", "game-asset-generator"],
      "env": {
        "HF_TOKEN": "hf_your_api_token_here",
        "MODEL_SPACE": "your-username/InstantMesh"
      }
    }
  }
}

Prompts to try

Example prompts for generating game assets using Claude Desktop.

- "Generate a pixel art sword for a 2D RPG game"
- "Create a 3D model of an isometric castle for a strategy game"
- "Make a pixel art character sprite of a knight in blue armor"
- "Generate a 3D low-poly tree suitable for a mobile game"
- "Create a 2D pixel art coin with a gold shine effect"

Troubleshooting Game Asset Generator

generate_3d_asset fails with 'Space not found' error

The MODEL_SPACE env var must point to a Hugging Face Space you have duplicated to your own account. Go to the original space (e.g., InstantMesh), click Duplicate, and set MODEL_SPACE to your-username/InstantMesh.

HF_TOKEN authentication errors

Generate a new token at huggingface.co/settings/tokens with at least 'read' scope. If using a duplicated private Space, the token needs 'write' scope. Paste the full token value including the 'hf_' prefix.

2D asset generation returns empty or corrupt image files

The 2D generation relies on Hugging Face Inference API availability. Check the model status at huggingface.co/models and try again during off-peak hours. Ensure your HF account has sufficient API credits for the model being used.

Frequently Asked Questions about Game Asset Generator

What is Game Asset Generator?

Game Asset Generator is a Model Context Protocol (MCP) server that mcp server that generates 2d and 3d game assets from text prompts using ai models from hugging face spaces, allowing developers to easily create game art through claude desktop or other mcp clients. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Game Asset Generator?

Install via npm with the command: npx -y game-asset-generator. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Game Asset Generator?

Game Asset Generator works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Game Asset Generator free to use?

Yes, Game Asset Generator is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "game-asset-generator": { "command": "npx", "args": ["-y", "game-asset-generator"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Game Asset Generator?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides