Minecraft RCON MCP Server
@deemkeen
About Minecraft RCON MCP Server
a tiny minecraft mcp server, using the rcon interface
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"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>"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Minecraft RCON MCP Server?
Minecraft RCON MCP Server is a Spring Boot application that bridges the Model Context Protocol (MCP) with a Minecraft server’s RCON interface. It allows AI models using Spring AI to send commands to a Minecraft server and receive responses.
How to use Minecraft RCON MCP Server?
Build the project with Maven and Java 21+. Configure required environment variables RCON_HOST, RCON_PORT, and RCON_PASSWORD. Then add the built JAR to an MCP Client. The server exposes a tool called sendCommand that accepts a Minecraft command and returns the server’s response.
Key features of Minecraft RCON MCP Server
- Bridges MCP to a Minecraft server via the RCON protocol.
- Provides a
sendCommandtool for sending Minecraft commands. - Configuration via environment variables or a
.envfile. - Built with Spring Boot and Spring AI for MCP integration.
- Requires a Minecraft server with RCON enabled.
Use cases of Minecraft RCON MCP Server
- An AI model automating in-game actions (e.g., teleporting players, summoning entities).
- Querying server status or player information programmatically.
- Integrating AI‑driven game management into a broader workflow.
FAQ from Minecraft RCON MCP Server
What is RCON and why do I need it?
RCON (Remote Console) is a protocol that allows remote administration of a Minecraft server. You must enable RCON in your server’s server.properties and set a password.
What environment variables are required?
RCON_HOST (default localhost), RCON_PORT (default 25575), and RCON_PASSWORD (no default, must be set).
What runtime is needed to run the server?
Java 21 or higher and Maven 3.6 or higher are required to build the project.
How do I send a command once the server is running?
After adding the MCP server to a compatible MCP Client, use the tool named sendCommand with a Minecraft command string as input.
Does the server store any data outside the Minecraft world?
No—the server only relays commands and responses; it does not persist any state beyond logging (configurable via logging.file.name).
More Other MCP servers
Codelf
unbugA search tool helps dev to solve the naming things problem.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Comments