Back to Home
Flux159 icon

mcp-game-asset-gen

Verified Safe

by Flux159

Overview

A Model Context Protocol (MCP) server for generating various types of game assets including images, videos, audio, and 3D models using multiple AI providers.

Installation

Run Command
npx mcp-game-asset-gen

Environment Variables

  • OPENAI_API_KEY
  • GEMINI_API_KEY
  • FAL_AI_API_KEY

Security Notes

The server retrieves API keys from environment variables, which is a good practice. It utilizes `child_process.execFile` with `curl` for external HTTP requests and file downloads. While `execFile` is generally safer than `exec`, direct user-controlled `outputPath` or `imageUrl` parameters could pose risks if not strictly validated against path traversal or malicious URLs by the underlying functions. The implementation uses `path.dirname` and `mkdirSync` to ensure output directories exist, which provides some mitigation against arbitrary file writes, but a comprehensive path validation against traversal is not explicitly evident in the provided snippets. Temporary files are created in `/tmp`, which is generally acceptable for transient data.

Similar Servers

Stats

Interest Score39
Security Score7
Cost ClassMedium
Avg Tokens500
Stars5
Forks1
Last Update2025-11-21

Tags

game developmentasset generationAIimage generation3D modelingMCP