Skip to main content
Glama

Minecraft Docker MCP

by rgbkrk

Minecraft Docker MCP

An MCP server for Minecraft-in-Docker that enables AI interactions with a running Minecraft server using itzg's docker-minecraft-server container.

  • Expose server administration to AI clients like Claude Desktop, Cursor, and Zed.
  • Allow models to programmatically create minecraft builds in game

LLMs have largely been trained on rcon commands, so there's a wide breadth of ability inherent in just exposing rcon to the model.

If you're already using the itzg/minecraft-server docker image, this MCP server will allow you to interact with your server via clients like Claude Desktop, Cursor, and Zed. The only requirement is that mc is the name of the container.

Prerequisites

  • A running Minecraft server in a Docker container named mc
  • RCON enabled and properly configured
docker run -d --name mc -p 25565:25565 -e EULA=TRUE itzg/minecraft-server

To ensure you're able to use this server, try running an rcon command to see if you get a response.

docker exec -it mc rcon "list"

If you get a response, you're all set! If you don't, please refer to the itzg/docker-minecraft-server repository for troubleshooting.

MCP Integration

This MCP server leverages itzg's docker-minecraft-server container's built-in RCON functionality to interact with the Minecraft server. The container provides the rcon command within the running container, making it an ideal target for MCP interactions.

Connecting to Claude Desktop

Clone this repository and install the rcon.py tool using the MCP CLI.

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.

Enables AI interactions with a running Minecraft server inside a Docker container using RCON, allowing models to programmatically create Minecraft builds and manage the server.

  1. Prerequisites
    1. MCP Integration
      1. Connecting to 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 -
      31
      82
      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
      2
      32
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      Allows AI assistants to connect to and control Minecraft players on remote servers, enabling navigation, building, mining, inventory management, entity interaction, and chat communication through natural language commands.
      Last updated -
      27
      175
      8
      TypeScript
      MIT License
      • Apple
      • Linux
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that provides tools for interacting with Docker images, containers, and registries, enabling AI assistants to search, analyze, and manage Docker resources through a standardized interface.
      Last updated -
      Python
      MIT License
      • Linux
      • Apple

    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