minecraft-rcon-mcp

minecraft-rcon-mcp

0

The project is a Spring Boot application designed to connect AI models with a Minecraft server using the RCON protocol. It facilitates the execution of commands on a Minecraft server through Model Context Protocol (MCP).

Minecraft RCON MCP Server

A Spring Boot application bridging Model Context Protocol (MCP) with a Minecraft server's RCON interface to enable AI model interactions.

Description

This tool allows AI models using Spring AI's MCP to communicate and control a Minecraft server via RCON commands, facilitating server queries and management.

Prerequisites

  • Java 21 or higher
  • Maven 3.6 or higher
  • Enabled RCON on Minecraft server

Configuration

Configure using environment variables:

  • RCON_HOST: Minecraft server's host (default: localhost)
  • RCON_PORT: RCON port (default: 25575)
  • RCON_PASSWORD: RCON password (required)

Usage

Integrate with MCP Client to interface with a Minecraft server, employing a sendCommand tool for command execution.