Minecraft MCP Server

An MCP server for Minecraft: an agent controls a bot character via Mineflayer to build and explore

  • 816 ★ on the repository
  • Last commit
  • Apache-2.0
MCP server

Extended access

Why this level

  • Controls a bot in your Minecraft world and changes the game environment
  • Downloads and runs code via npx
All reasons and checks

yuniko-software/minecraft-mcp-server

Install

Manual install

{
  "mcpServers": {
    "minecraft": {
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}

Check the host and port of your world opened to LAN.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Controls a bot in your Minecraft world and changes the game environment
  • Downloads and runs code via npx

This is third-party code. Review the repository files before installing.

What it does

The server runs a Mineflayer-based Minecraft bot and hands control of it to an agent over MCP. The bot joins your world opened to LAN and follows natural-language commands: move to coordinates, fly, look at a point, jump, dig and place blocks, find blocks and entities, manage the inventory, smelt items, send and read chat, and detect the game mode. You can upload an image of a build and ask the bot to reproduce it. The connection is set through host, port and username in the client config.

Who it is for. For developers and enthusiasts who want to control a Minecraft character through an agent.

Good fit when

  • You want to build or explore in your Minecraft world by chat
  • You want to experiment with a game bot and MCP
  • You want to reproduce a build from an image

Not a fit when

  • Your Minecraft version does not match the one supported in the README
  • The world is not opened to LAN and the bot cannot connect

Example request

In Minecraft, move to coordinates 100, 64, 200 and build a three by three stone wall there

MCP

Transport
stdio
Authentication
not required

Limitations

You need Node.js 20.10 or newer, Git and a running Minecraft Java Edition with a world opened to LAN. The README notes support for a specific game version; newer ones may not work. By default the bot connects to localhost and port 25565, and parameters are set in the client config. The sample setup targets Claude Desktop.

How to disable. Remove the server entry from your MCP client config and fully restart the application.

FAQ

How does the bot join the game?

You open a singleplayer world to LAN, and the bot connects to localhost and port 25565 unless you set other parameters.

What is the bot built on?

The Mineflayer API. Its control is handed to the agent over MCP.

Discussion

No questions or reviews yet.

Needs a VPN

MCP server for Discord: an agent manages channels, roles, messages and moderation through your server bot token

MCP serverBroad access603Repository stars
Needs a VPN

A Discord MCP with over 200 typed tools: the agent handles messages, roles and moderation, builds a server from a plan, and writes default to preview mode

MCP serverBroad access188Repository stars

A Node.js MCP server through which an agent controls Home Assistant devices and edits its automations

MCP serverBroad access574Repository stars

An MCP server for driving Windows: the agent opens apps, clicks and types, reads window and UI state, and works with files and PowerShell

MCP serverBroad access11.6KRepository stars
Russian stack

MCP server for MAX messenger Bot API: messages, media, chats, participants and buttons from an agent

MCP serverExtended access12Repository stars

MCP server for AppleScript: the agent runs scripts and controls Mac apps, from Notes and Calendar to files

MCP serverBroad access468Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
Minecraft MCP Server (this card)nonot required816
kubectl-mcp-servernonot required972reads cluster state and diagnoses pod failures
Unreal Engine MCP Servernonot required1,033Unreal Engine assets, actors and blueprints
Android MCPnonot required924controls an Android device through ADB

README in short

The README explains that a Mineflayer bot is controlled by large language models over MCP and is aimed at Claude Desktop. It shows the steps: open a world to LAN, paste a config with npx github:yuniko-software/minecraft-mcp-server and host, port, username parameters, and restart the client. It lists commands for movement, flight, inventory, blocks, furnaces, entities, chat and game state. It notes support for a specific Minecraft version. Apache-2.0 licensed.

README badge

Report a problem