drio
Open app

Game Asset Generator using MCP and Hugging Face Spaces

Source

An MCP server for creating 2D/3D game assets from text using Hugging Face AI models.

Catalog onlyCatalog onlySTDIO

Overview

Game Asset Generator is a tool that simplifies the creation of 2D and 3D game assets from text prompts using AI models from Hugging Face. It is designed for game developers and AI enthusiasts to quickly generate game-ready assets.

To use the Game Asset Generator, clone the repository, install the necessary dependencies, and run the server. You can then interact with the server via an MCP client or programmatically to generate assets from text prompts.

  • 2D Asset Generation: Create pixel art and sprites from text prompts. - 3D Asset Generation: Generate 3D models from text descriptions. - MCP Integration: Seamless interaction with AI assistants. - File Management: Automatically saves generated assets locally. - Robust Input Validation: Ensures secure processing. - Cross-Platform Support: Runs on Windows, macOS, and Linux.
  1. Quickly prototyping game assets for development.
  2. Generating unique 2D and 3D assets for indie games.
  3. Exploring generative AI models for educational purposes.

Add to your AI client

Use these steps to connect Game Asset Generator using MCP and Hugging Face Spaces in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "game-asset-mcp-mubarakhalketbi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-game-asset-mcp-mubarakhalketbi"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "game-asset-mcp-mubarakhalketbi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-game-asset-mcp-mubarakhalketbi"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "game-asset-mcp-mubarakhalketbi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-game-asset-mcp-mubarakhalketbi"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "game-asset-mcp-mubarakhalketbi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-game-asset-mcp-mubarakhalketbi"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "game-asset-mcp-mubarakhalketbi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-game-asset-mcp-mubarakhalketbi"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "game-asset-mcp-mubarakhalketbi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-game-asset-mcp-mubarakhalketbi"
      ]
    }
  }
}

FAQ

Can I generate both 2D and 3D assets?

Yes! The tool supports both 2D and 3D asset generation.

Is there a cost to use the Game Asset Generator?

The tool is free to use, but requires a Hugging Face account for API access.

What are the prerequisites for using this tool?

You need Node.js, Git, and an internet connection to access Hugging Face APIs.