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许可证。
Metadata
Release files for minecraft-mcp-server 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| minecraft-mcp-server-1.0.2.tar.gz | 76.9 kB | Without provenance | Details for minecraft-mcp-server-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| minecraft_mcp_server-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for minecraft_mcp_server-1.0.2-py3-none-any.whl |
Total release size: 134.6 kB
Release files / minecraft-mcp-server-1.0.2.tar.gz
| Download URL | minecraft-mcp-server-1.0.2.tar.gz |
|---|---|
| Size | 76.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9edfb20c52c428ecb26bac6fa764f9f380b32882d80d7daee1419076f4d41f40
|
|
BLAKE2b-256 checksum How to use checksums |
f9a28734f42276c2307472fa51889e0bd8dc6775ebd15c63078445fa339da868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Release files / minecraft_mcp_server-1.0.2-py3-none-any.whl
| Download URL | minecraft_mcp_server-1.0.2-py3-none-any.whl |
|---|---|
| Size | 57.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49b50bf1ef9a5d18decb913f43cd1b5b0f0ac7242fe0760a7303cdcbea849d01
|
|
BLAKE2b-256 checksum How to use checksums |
256c7cfb3d0c9d0a03c3d2383dd83c75dfcaef000061a404e791f13be76cd233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Security for minecraft-mcp-server 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.