
minecraft-rcon-mcp
a tiny minecraft mcp server, using the rcon interface
1
Github Watches
0
Github Forks
0
Github Stars
Minecraft RCON MCP Server
A Spring Boot application that provides a bridge between Model Context Protocol (MCP) and a Minecraft server's RCON interface, allowing AI models to send commands to a Minecraft server. Built with SpringAI.
Description
This project enables AI models using Spring AI's MCP functionality to interact with a Minecraft server through the RCON protocol. It provides a simple tool that can send commands to the Minecraft server and receive responses, making it possible for AI models to control and query the Minecraft server.
Prerequisites
- Java 21 or higher
- Maven 3.6 or higher
- A Minecraft server with RCON enabled
Building the Project
-
Clone the repository:
git clone https://github.com/yourusername/minecraft-rcon-mcp.git cd minecraft-rcon-mcp
-
Build the project using Maven:
./mvnw clean package
On Windows:
mvnw.cmd clean package
-
The built JAR file will be located in the
target
directory:target/minecraft-rcon-mcp-1.0.0.jar
Configuration
The application can be configured using environment variables or a .env
file in the project root directory.
Required Env Param Configuration
-
RCON_HOST
: The hostname or IP address of the Minecraft server (default:localhost
) -
RCON_PORT
: The RCON port of the Minecraft server (default:25575
) -
RCON_PASSWORD
: The RCON password for authentication (required, no default)
Optional Configuration
-
logging.file.name
: The name of the log file (default:rconmcp.log
)
Usage
Once the application is built and added to an MCP Client with your Env-Params, it exposes a Model Context Protocol (MCP) server that can be used by Spring AI clients to send commands to the Minecraft server.
The MCP server provides a tool called sendCommand
that takes a Minecraft command as input and returns the response from the server.
License
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Reviews

user_S31eSQnH
I've been a loyal user of minecraft-rcon-mcp, and it has significantly enhanced my server management experience. Created by deemkeen, this tool offers seamless remote control for Minecraft servers, with straightforward setup through the URL provided. The welcome message is informative, making it easy to get started. Highly recommended for anyone looking to efficiently manage their Minecraft server. Check it out: https://github.com/deemkeen/minecraft-rcon-mcp