Skip to main content
Glama

Minecraft Docker MCP

by rgbkrk

Minecraft Docker MCP

用于 Minecraft-in-Docker 的 MCP 服务器,使用 itzg 的 docker-minecraft-server 容器实现与正在运行的 Minecraft 服务器的 AI 交互。

  • 将服务器管理公开给 Claude Desktop、Cursor 和 Zed 等 AI 客户端。
  • 允许模型以编程方式在游戏中创建我的世界构建

LLM 在很大程度上已经接受了rcon命令的训练,因此只需将rcon暴露给模型就可以获得广泛的能力。

如果您已在使用itzg/minecraft-server Docker 镜像,此 MCP 服务器将允许您通过 Claude Desktop、Cursor 和 Zed 等客户端与您的服务器进行交互。唯一的要求是mc是容器的名称。

先决条件

  • 在名为mc Docker 容器中运行的 Minecraft 服务器
  • RCON 已启用并正确配置
docker run -d --name mc -p 25565:25565 -e EULA=TRUE itzg/minecraft-server

为了确保您能够使用此服务器,请尝试运行rcon命令来查看是否得到响应。

docker exec -it mc rcon "list"

如果您收到回复,则表示一切就绪!如果没有,请参考itzg/docker-minecraft-server仓库进行故障排除。

MCP 集成

此 MCP 服务器利用 itzg 的 docker-minecraft-server 容器内置的 RCON 功能与 Minecraft 服务器进行交互。该容器在运行的容器中提供rcon命令,使其成为 MCP 交互的理想目标。

连接到 Claude Desktop

克隆此存储库并使用 MCP CLI 安装rcon.py工具。

mcp install rcon.py
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

使用 RCON 实现 AI 与 Docker 容器内正在运行的 Minecraft 服务器的交互,从而允许模型以编程方式创建 Minecraft 构建并管理服务器。

  1. 先决条件
    1. MCP 集成
      1. 连接到 Claude Desktop

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      Allows AI models to observe and interact with the Minecraft world through a bot.
      Last updated -
      10
      50
      TypeScript
      MIT License
      • Apple
      • Linux
    • -
      security
      A
      license
      -
      quality
      Enables AI agents to control Minecraft bots through a standardized JSON-RPC interface.
      Last updated -
      10
      13
      18
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction
      Last updated -
      14
      100
      TypeScript
      Apache 2.0
      • Apple
    • -
      security
      A
      license
      -
      quality
      A server tool for running Deep Learning models that offers Shell execution, Ngrok connectivity, and Docker container hosting with support for multiple AI frameworks including Anthropic, Gemini, and OpenAI.
      Last updated -
      1
      Python
      MIT License

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/rgbkrk/rcon-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server