Labsco
yuniko-software logo

Minecraft MCP

โ˜… 638

from yuniko-software

Control a Minecraft character to build, explore, and interact with the game world using natural language.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

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.

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.