MCP ExplorerExplorer

Rcon Mcp

@rgbkrkon a year ago
4 MIT
FreeCommunity
AI Systems
Model Context Protocol for Minecraft Server Management

Overview

What is Rcon Mcp

rcon-mcp is a Model Context Protocol designed for managing Minecraft servers running in Docker. It facilitates AI interactions with the Minecraft server using itzg’s docker-minecraft-server container.

Use cases

Use cases for rcon-mcp include enabling AI-driven interactions with Minecraft servers, automating server management tasks, and allowing AI models to generate in-game content dynamically.

How to use

To use rcon-mcp, ensure you have a running Minecraft server in a Docker container named ‘mc’ with RCON enabled. You can run the server using the command: ‘docker run -d --name mc -p 25565:25565 -e EULA=TRUE itzg/minecraft-server’. After setting up, you can test the RCON connection with ‘docker exec -it mc rcon “list”’. Additionally, install the ‘rcon.py’ tool using the MCP CLI with ‘mcp install rcon.py’ to connect to AI clients like Claude Desktop.

Key features

Key features of rcon-mcp include the ability to expose server administration to AI clients, programmatically create Minecraft builds, and leverage the built-in RCON functionality of itzg’s docker-minecraft-server container.

Where to use

undefined

Content

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers