GBox MCP Server
by jinruozai
GBox MCP Server is a server implementation based on FastMCP, used for communication and control with the GBox game runtime. It supports dynamic loading and management of tools.
View on GitHub
Last updated: N/A
GBox MCP Server
GBox MCP Server 是一个基于 FastMCP 的服务器实现,用于与 GBox 游戏运行时进行通信和控制。
功能特点
- 基于 FastMCP 协议实现
- 支持工具动态加载和管理
- 支持 TCP 通信
- 自动工具变更通知
系统要求
- Python 3.6+
- FastMCP
安装
- 克隆仓库:
# 从 Gitee 克隆
git clone https://gitee.com/lazygoo/gbox_mcp.git
# 或从 GitHub 克隆
git clone https://github.com/jinruozai/gbox_mcp.git
- 安装依赖:
pip install -r requirements.txt
MCP 配置方法
在您的 MCP 客户端配置中添加以下配置:
{ "gbox": { "command": "python", "args": [ "/path/to/gbox_mcp/gbox_mcp_server.py", "--ip", "your_ip_address", "--port", "your_port" ] } }
配置说明:
command
: 使用 python 执行服务器脚本args
: 服务器脚本路径和参数- 第一个参数为服务器脚本的完整路径
--ip
: 设置服务器监听的 IP 地址--port
: 设置服务器监听的端口号
许可证
本项目采用 MIT 许可证。详见 LICENSE 文件。