MCP.so
Sign In

Minecraft MCP Server

@Peterson047

Basic information

Category

Other

Transports

stdio

Author

Peterson047

Submitted by

Peterson Alves

About 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 config

Add this server to your MCP-compatible client using the configuration below.

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

Minecraft MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

Frequently asked questions

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.

Comments

More Other MCP servers