GBox MCP Server
@jinruozai
GBox MCP Server 是一个基于 FastMCP 协议的服务器实现,提供了与 GBox 游戏引擎的实时通信和控制能力。它能帮助 AI 理解和操作 GBox 脚本,实现游戏运行时的智能控制和资源管理。同时通过与 ComfyUI 的集成,支持基于文本描述生成游戏素材和图像资源
Overview
What is GBox MCP Server?
GBox MCP Server is a FastMCP protocol server that provides real-time communication and control capabilities with the GBox game engine. It helps AI understand and manipulate GBox scripts, enabling intelligent runtime control and resource management. Through integration with ComfyUI, it supports generating game assets and images from text descriptions.
How to use GBox MCP Server?
Clone the repository and install dependencies with pip install -r requirements.txt. Configure your MCP client with a JSON block specifying the Python command, script path, and optional --gbox_ip and --comfyui_ip arguments to connect to a GBox runtime and ComfyUI instance.
Key features of GBox MCP Server
- Real-time communication and control of GBox game engine
- AI-assisted understanding and manipulation of GBox scripts
- Integration with ComfyUI for text-to-image generation
- Lightweight cross-platform game engine (GBox) support
- Resource management and runtime intelligence
Use cases of GBox MCP Server
- AI-driven game debugging and script modification at runtime
- Automated game asset creation from textual descriptions via ComfyUI
- Intelligent game resource management and optimization
- Interactive control of GBox applications through natural language
FAQ from GBox MCP Server
What are the system requirements?
Python 3.6+, FastMCP, and optionally ComfyUI for image generation features.
How do I connect the server to a GBox runtime?
Set the --gbox_ip argument to the GBox runtime address (e.g., 127.0.0.1:30080) in the MCP client configuration.
Does the server require an internet connection for image generation?
No, image generation relies on a local ComfyUI instance; the server connects to it via the --comfyui_ip argument.
What license is this server distributed under?
MIT License.
Can I use GBox MCP Server without ComfyUI?
Yes, the ComfyUI integration is optional. Image generation features will be unavailable if ComfyUI is not configured.