Submit

Minecraft RCON MCP Server

@deemkeen

a tiny minecraft mcp server, using the rcon interface
Overview

what is Minecraft RCON MCP?

Minecraft RCON MCP is a Spring Boot application that acts as a bridge between Spring AI's Model Context Protocol (MCP) and a Minecraft server's RCON interface, enabling AI models to send commands to the Minecraft server.

how to use Minecraft RCON MCP?

To use Minecraft RCON MCP, clone the repository, build the project using Maven, and configure the required environment parameters. Once set up, it exposes an MCP server that allows Spring AI clients to send commands to the Minecraft server.

key features of Minecraft RCON MCP?

  • Enables AI models to interact with Minecraft servers via RCON.
  • Provides a sendCommand tool to execute Minecraft commands and receive responses.
  • Simple configuration using environment variables or a .env file.

use cases of Minecraft RCON MCP?

  1. Automating server management tasks through AI commands.
  2. Creating interactive AI-driven gameplay experiences.
  3. Querying server status and player information using AI models.

FAQ from Minecraft RCON MCP?

  • What are the prerequisites for using Minecraft RCON MCP?

You need Java 21 or higher, Maven 3.6 or higher, and a Minecraft server with RCON enabled.

  • How do I configure the application?

Configuration can be done using environment variables or a .env file, specifying the RCON host, port, and password.

  • Is there a license for this project?

Yes, it is licensed under the MIT License.

Server Config

{
  "mcpServers": {
    "minecraft-rcon-mcp": {
      "command": "/path/to/java",
      "args": [
        "-jar",
        "/path/to/jar"
      ],
      "env": {
        "RCON_HOST": "<minecraft server host>",
        "RCON_PORT": "<rcon port>",
        "RCON_PASSWORD": "<rcon password>"
      }
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.