MCP.so
Sign In
Servers

Minecraft RCON MCP Server

@deemkeen

a tiny minecraft mcp server, using the rcon interface

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 sendCommand tool for sending Minecraft commands.
  • Configuration via environment variables or a .env file.
  • 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).

Tags

More from Other