Minecraft

Developer tools

A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction.

Your AI app calls the Minecraft MCP server, which does the work through tools like get-position, move-to-position, look-at and move-in-direction and sends the result back to the chat.

About Minecraft

Minecraft is a community MCP server from yuniko-software, filed in our directory under developer tools. A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction.

The README for Minecraft lists tools such as get-position, move-to-position, look-at and jump, which your AI app can call once the server is connected.

At a glance

Publisher
yuniko-software (community)
Runs
See the README for setup
Written in
TypeScript
License
Apache-2.0
GitHub stars
843

Tools Minecraft gives your AI app

  • get-positionGet the current position of the bot.
  • move-to-positionMove to specific coordinates.
  • look-atMake the bot look at specific coordinates.
  • jumpMake the bot jump.
  • move-in-directionMove in a specific direction for a duration.
  • fly-toMake the bot fly directly to specific coordinates.
  • list-inventoryList all items in the bot's inventory.
  • find-itemFind a specific item in inventory.
  • equip-itemEquip a specific item.
  • place-blockPlace a block at specified coordinates.
  • dig-blockDig a block at specified coordinates.
  • get-block-infoGet information about a block.
  • find-blocksFind one or more nearby blocks of a specific type.
  • smelt-itemSmelt items using a furnace-like block.
  • find-entityFind the nearest entity of a specific type.
  • send-chatSend a chat message in-game.
  • read-chatGet recent chat messages from players.
  • detect-gamemodeDetect the gamemode on game.

Tool names as the Minecraft README lists them. Your AI app shows the live list once Minecraft is connected.

How to set up Minecraft

  1. Follow the install steps in the Minecraft README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Minecraft README for keys or settings; the registry lists none that Minecraft requires.
  3. Add Minecraft to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Minecraft tools to confirm the connection.
  5. Run one read-only task with Minecraft first, such as a call to get-position, before you allow anything that writes or sends.

Minecraft compared with similar servers

  • Idea Reality by mnemox-ai has fewer GitHub stars than Minecraft (835 against 843); both are community servers, and both run locally.
  • VibeUE by kevinpbuckley has more GitHub stars than Minecraft (848 against 843); both are community servers, and both run locally.
  • Kraken CLI by krakenfx has fewer GitHub stars than Minecraft (833 against 843); both are community servers, and both run locally.

Before you connect Minecraft

  • Give Minecraft its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Minecraft tool call until you trust what it does with them.
  • Treat text that Minecraft fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Minecraft on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Minecraft

How marketing and sales teams put Minecraft to work, by company size. Pick the size closest to yours and start Minecraft on one use case.

Small business

  • A small business with a developer can use Minecraft to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Minecraft to explain and fix a marketing site issue without context switching between tools.
  • Minecraft runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Minecraft to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Minecraft to keep scripts and automations documented and versioned as they change.
  • Start with get-position and move-to-position, the tools Minecraft lists first, and add more once the team trusts the results.

Enterprise

  • Enterprise engineering teams can roll out Minecraft with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Minecraft so web and marketing engineering share one reviewed way of working with AI.
  • Minecraft is a community server, so have security review the code and pin a version before Minecraft touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Minecraft README

From yuniko-software/minecraft-mcp-server on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Minecraft MCP Server

[!IMPORTANT] Currently supports Minecraft version 1.21.11. Newer versions may not work with this MCP server, but we will add support as soon as possible.

https://github.com/user-attachments/assets/6f17f329-3991-4bc7-badd-7cde9aacb92f

A Minecraft bot powered by large language models and Mineflayer API. This bot uses the Model Context Protocol (MCP) to enable Claude and other supported models to control a Minecraft character.

Prerequisites

  • Git
  • Node.js (>= 20.10.0)
  • A running Minecraft game (the setup below was tested with Minecraft 1.21.8 Java Edition included in Microsoft Game Pass)
  • An MCP-compatible client. Claude Desktop will be used as an example, but other MCP clients are also supported

Getting started

This bot is designed to be used with Claude Desktop through the Model Context Protocol (MCP).

Run Minecraft

Create a singleplayer world and open it to LAN (ESC -> Open to LAN). Bot will try to connect using port 25565 and hostname localhost. These parameters could be configured in claude_desktop_config.json on a next step.

MCP Configuration

Make sure that Claude Desktop is installed. Open File -> Settings -> Developer -> Edit Config. It should open installation directory. Find file with a name claude_desktop_config.json and insert the following code:

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

Double-check that right --port and --host parameters were used. Make sure to completely reboot the Claude Desktop application (should be closed in OS tray).

Running

Make sure Minecraft game is running and the world is opened to LAN. Then start Claude Desktop application and the bot should join the game.

It could take some time for Claude Desktop to boot the MCP server. The marker that the server has booted successfully:

You can give bot any commands through any active Claude Desktop chat. You can also upload images of buildings and ask bot to build them 😁

Don't forget to mention that bot should do something in Minecraft in your prompt. Because saying this is a trigger to run MCP server. It will ask for your permissions.

Using Claude Sonnet could give you some interesting results. The bot-agent would be really smart 🫡

Example usage: shared Claude chat

Available Commands

Once connected to a Minecraft server, Claude can use these commands:

Movement
  • get-position - Get the current position of the bot
  • move-to-position - Move to specific coordinates
  • look-at - Make the bot look at specific coordinates
  • jump - Make the bot jump
  • move-in-direction - Move in a specific direction for a duration
Flight
  • fly-to - Make the bot fly directly to specific coordinates
Inventory
  • list-inventory - List all items in the bot's inventory
  • find-item - Find a specific item in inventory
  • equip-item - Equip a specific item
Block Interaction
  • place-block - Place a block at specified coordinates
  • dig-block - Dig a block at specified coordinates
  • get-block-info - Get information about a block
  • find-blocks - Find one or more nearby blocks of a specific type
Furnace
  • smelt-item - Smelt items using a furnace-like block
Entity Interaction
  • find-entity - Find the nearest entity of a specific type
Communication
  • send-chat - Send a chat message in-game
  • read-chat - Get recent chat messages from players
Game State
  • detect-gamemode - Detect the gamemode on game

Contributing

Feel free to submit pull requests or open issues for improvements. All refactoring commits, functional and test contributions, issues and discussion are greatly appreciated!

To get started with contributing, please see CONTRIBUTING.md.

⭐ If you find this project useful, please consider giving it a star on GitHub! ⭐

Your support helps make this project more visible to other people who might benefit from it.

Questions about Minecraft

What is the Minecraft MCP server?

A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction. Minecraft is maintained by yuniko-software on GitHub at yuniko-software/minecraft-mcp-server, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Minecraft MCP server?

Minecraft doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (yuniko-software/minecraft-mcp-server). Like most servers, Minecraft ends with a command or URL you paste into your AI app's MCP config.

Does Minecraft need an API key?

The registry lists no required keys for Minecraft. Check the Minecraft README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Minecraft an official MCP server?

No. Minecraft is a community server maintained by yuniko-software. Community servers can be excellent; read the code and the open issues before you give Minecraft access to company data.

What license is Minecraft under?

Minecraft is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Minecraft; the service it connects to has its own terms.