Skip to main content

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服务器通信

使用方法

配置服务器

  1. 启动Web配置界面:

    uvx minecraft-web-config
    
  2. 在浏览器中访问 http://localhost:5000 进行配置

  3. 填写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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minecraft-mcp-server-1.0.0.tar.gz (70.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minecraft_mcp_server-1.0.0-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

Details for the file minecraft-mcp-server-1.0.0.tar.gz.

File metadata

  • Download URL: minecraft-mcp-server-1.0.0.tar.gz
  • Upload date:
  • Size: 70.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for minecraft-mcp-server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cfc115921d949ba01b4f509a1374565ef27c4e4f7ba450aaae86cd14a2d51f30
MD5 047156505c894370e1f4550a23b1994c
BLAKE2b-256 21600dfc22ce9fcd5e6eec93944dd5e36ab63ac6eed497afd49e8e2f6c01c9b3

See more details on using hashes here.

File details

Details for the file minecraft_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for minecraft_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1db9c5119381d6bc1013c96c1eefaf2cef2fbda08d4c45a302df2a5b63d6178
MD5 6d8037e80615945a0717b0b0519232bc
BLAKE2b-256 17befc223944740235de810f0b27c3d618b1eb187328d3cbfcc3a66542f152af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page