MCP.so
登录

Minecraft MCP Server

@Peterson047

基本信息

分类

其他

传输方式

stdio

作者

Peterson047

提交者

Peterson Alves

关于 Minecraft MCP Server

Python-based MCP server for seamless Minecraft server management via RCON. Integrates FastMCP for easy command execution, supports interaction with Claude Desktop and other MCP clients, and offers a flexible architecture for local development and production use.

Minecraft MCP Server 配置

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

{
  "mcpServers": {
    "minecraft-controller": {
      "type": "stdio",
      "command": "C:\\...\\venv\\Scripts\\python.exe",
      "args": [
        "C:\\...\\mcp_server\\server.py"
      ],
      "env": {
        "PATH": "%PATH%"
      }
    }
  }
}

Minecraft MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Minecraft MCP Server?

Minecraft MCP Server is a Python server built with FastMCP that allows LLM‑powered AI assistants (like Claude) to control a Minecraft server remotely via RCON. It provides a structured commands dictionary and a tool to execute Minecraft commands.

How to use Minecraft MCP Server?

Install dependencies (mcp[cli], mcrcon), enable RCON in server.properties, and run server.py. Optionally integrate with Claude Desktop by adding the server to claude_desktop_config.json. The server exposes a tool called run_minecraft_command and a resource minecraft://commands that lists available commands.

Key features of Minecraft MCP Server

  • Exposes a commands dictionary to contextualize the LLM
  • Executes Minecraft commands via RCON
  • Integration with Claude Desktop or any MCP client
  • Supports STDIO (local) and HTTP/SSE (production) transports
  • Simple, Python‑based structure using FastMCP

Use cases of Minecraft MCP Server

  • Let an AI assistant run Minecraft commands like /give, /weather, or /gamemode
  • Automate server management through natural language conversation
  • Build a smart Minecraft controller that responds to player requests via chat

常见问题

1

What is required to run Minecraft MCP Server?

You need Python 3, a Minecraft server with RCON enabled (`enable-rcon=true`, set `rcon.password` and `rcon.port` in `server.properties`), and the dependencies `mcp[cli]` and `mcrcon`.

2

How do I set up RCON for the Minecraft server?

Edit `server.properties` and set `enable-rcon=true`, `rcon.password=minemcp` (or your own), and `rcon.port=25575`. Restart the Minecraft server.

3

Can I test the server locally without an AI client?

Yes, the README includes a Python test script using FastMCP’s `Client` to call tools and read resources, for example to run `/list` and list available commands.

4

What commands can the server execute?

Any Minecraft command that the RCON password allows. The `commands.json` file contains a dictionary of example commands (like `/give`, `/weather`, `/gamemode`) with descriptions and usage examples.

5

How do I integrate with Claude Desktop?

Add an entry to `claude_desktop_config.json` (at `%APPDATA%\Claude\`) pointing to the `server.py` script and Python executable. After restarting Claude, the “minecraft‑controller” server will appear.

评论

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