MCP.so
登录

Minecraft RCON MCP Server

@deemkeen

关于 Minecraft RCON MCP Server

a tiny minecraft mcp server, using the rcon interface

基本信息

分类

其他

运行时

java

传输方式

stdio

发布者

deemkeen

提交者

deemkeen

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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>"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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).

评论

其他 分类下的更多 MCP 服务器