Agents In Use
What’s new todayLast update
108 use cases added today

How to use Claude to build a Minecraft bot

A player built a Claude Minecraft bot with chat participation, memory, custom MCP tools, Mineflayer wrappers, and support for land claims and shops.

OUR ADAPTATION

Suggested prompt

Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.

Build a Minecraft bot for [server] using the Agent SDK and custom MCP tools wrapping [Mineflayer actions]. Add in-game chat participation and memory for events and player interactions. Integrate [plugins], and keep optional administration tools in a separate repository.

Evidence at a glance

Sourced account
Source author
haksndot
Original account
Read the source ↗
Published
Source link checked
Reported result
The author reported a chat-participating Minecraft bot with memory and 69 tools, including game interactions and plugin support, released under the MIT License.
Human involvement
The author says no human wrote or read the code. The post does not describe a formal review or testing process.

A linked account supports attribution. It does not mean we independently reproduced its result.

Report an issue with this caseOpen correction email

Opens your email app with the case link included. Nothing is sent automatically.

How the agent did it

  1. Built a Minecraft bot around the Agent SDK main loop.
  2. Added custom MCP tools for game interactions.
  3. Added memory for events and player interactions.

A Minecraft player built a bot for a server they already played on, using the Agent SDK for its main loop and custom MCP tools for game interactions. The bot participates in the in-game chat, allowing other players to interact with it through that shared channel.

The developer added tools for containers, crafting, villager trading, and other activities. A memory system lets the agent track game events and interactions with players. A screenshot tool also gives Claude a way to look around using vision, although the author described that feature as more fun than useful.

The tool set extends to GriefPrevention land claims and QuickShop shops. Server administration and server commands are available through a separate, optional set of tools kept in another repository. At the time of the post, the project had 69 tools, with roughly two thirds wrapping Mineflayer. The player community continued suggesting additions.

The author described the implementation as entirely AI coded, with no code written or even read by a human, and released it under the MIT License.

Who it's for: Minecraft server communities interested in a conversational bot with access to game actions and plugin features.

Prompt
Suggested prompt (written by Agents In Use, not the author's)

Source: Hacker News · haksndot

Frequently asked questions

How does the Minecraft bot interact with players?

It participates in the in-game chat, where all players can interact with it, and uses a memory system to track events and player interactions.

Which Minecraft integrations did the author add?

The post names Mineflayer wrappers, GriefPrevention land claims, and QuickShop shops. Optional administration tools and server commands live in a separate repository.

More details

Remaining steps

  1. Extended tools to land claims, shops, and optional administration.

About this account

Claude participates in game chat and can use custom tools to interact with the server and track events.

Platform: Hacker News. Attribution: https://news.ycombinator.com/item?id=46673699. Prompt: Suggested (written by Agents In Use, not the author's). Sourced by the Agents In Use pipeline.

Credit: haksndot on Hacker News

Source published

Added to Agents In Use

Source checked

Tools and topics

Agent SDK · MCP · Mineflayer · GriefPrevention · QuickShop

Minecraft · MCP · Game bots

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.