MCP server for generating 2D/3D game assets from text via Hugging Face AI models. Enables rapid prototyping and asset creation with natural language prompts.
146+ GitHub stars with active development
Open source under MIT license — free to use and modify
Generates 2D pixel art and 3D models (OBJ, GLB) from text prompts
Game Asset Generator MCP Server connects AI assistants to Hugging Face Spaces for generating 2D and 3D game assets from text prompts. It supports 2D asset generation (pixel art, sprites) using Flux LoRA models, and 3D asset generation (OBJ, GLB) via InstantMesh, Hunyuan3D-2, or Hunyuan3D-2mini-Turbo. Built with Node.js and the MCP TypeScript SDK, it integrates seamlessly with MCP-compatible AI clients like Claude Desktop. Best for game developers who want to rapidly prototype assets using natural language without manual 3D modeling.
Yes, you need a Hugging Face account and a valid HF_TOKEN to access the generation spaces. For 3D generation, you must duplicate one of the supported spaces (InstantMesh, Hunyuan3D-2, or Hunyuan3D-2mini-Turbo) to your account.
2D assets are saved as images (PNG/JPG) and 3D assets as OBJ and GLB files. The output directory is configurable.
The tool generates standard asset files (images, OBJ, GLB) that can be imported into any game engine. The MCP integration allows you to trigger generation from AI assistants but does not directly export into engine projects.
Install Game Asset MCP to get started:
Or visit the project page for detailed setup instructions.