Minecraft MCP Server
Project description
Minecraft MCP 服务器
一个现代化的 Minecraft MCP (Model Context Protocol) 服务器管理工具,提供美观的Web界面用于配置环境变量,并支持与Trae IDE集成。
安装
使用pip安装
pip install minecraft-mcp-server
使用uvx直接运行(推荐)
uvx minecraft-mcp-server
或者启动Web配置界面:
uvx minecraft-web-config
功能特性
- 🎨 现代美观的Web界面 - 响应式设计,支持移动端
- ⚙️ 环境变量配置 - 可视化配置Minecraft服务器连接参数
- 🔧 实时连接测试 - 一键测试服务器连接状态
- 💾 自动保存配置 - 配置自动保存到环境变量
- 🚀 Trae IDE 集成 - 自动同步配置到 Trae 的 MCP 服务器配置
- 🛡️ 输入验证 - 完整的表单验证和错误提示
- 📱 响应式设计 - 完美适配各种设备屏幕
- 🔌 RCON通信 - 通过RCON协议与Minecraft服务器通信
使用方法
配置服务器
-
启动Web配置界面:
uvx minecraft-web-config -
在浏览器中访问
http://localhost:5000进行配置 -
填写Minecraft服务器连接信息并保存
运行MCP服务器
uvx minecraft-mcp-server
Trae IDE 集成
本工具已集成 Trae IDE 支持,配置会自动同步到 Trae 的 MCP 服务器配置文件。
配置示例
{
"mcpServers": {
"minecraft": {
"command": "uvx",
"args": [
"minecraft-mcp-server"
],
"env": {
"MC_HOST": "localhost",
"MC_RCON_PORT": "25575",
"MC_RCON_PASSWORD": "your_password"
}
}
}
}
许可证
本项目采用MIT许可证。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minecraft-mcp-server-1.0.2.tar.gz.
File metadata
- Download URL: minecraft-mcp-server-1.0.2.tar.gz
- Upload date:
- Size: 76.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9edfb20c52c428ecb26bac6fa764f9f380b32882d80d7daee1419076f4d41f40
|
|
| MD5 |
182bde75f4a03e1cfe49f126360af7aa
|
|
| BLAKE2b-256 |
f9a28734f42276c2307472fa51889e0bd8dc6775ebd15c63078445fa339da868
|
File details
Details for the file minecraft_mcp_server-1.0.2-py3-none-any.whl.
File metadata
- Download URL: minecraft_mcp_server-1.0.2-py3-none-any.whl
- Upload date:
- Size: 57.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b50bf1ef9a5d18decb913f43cd1b5b0f0ac7242fe0760a7303cdcbea849d01
|
|
| MD5 |
51ca5ec72b90e482247be44e71de638f
|
|
| BLAKE2b-256 |
256c7cfb3d0c9d0a03c3d2383dd83c75dfcaef000061a404e791f13be76cd233
|