attackSomeone
Attack, kill, defend against, or initiate combat with someone
Put a bot on a Minecraft server and have it mine, farm, smelt, fight, build and answer in chat — described in plain verbs rather than coordinates.
LABSCO SUMMARY
The verbs are the game's own — mine, craft, smelt, equip, hunt, sleep — so an instruction like keeping a furnace fed is a sequence of calls rather than a pathfinding problem. lookAround is what holds it together: without a text view of the surroundings the rest would need coordinates you do not have. The two building tools stand apart because they need cheats or operator permissions, and pixel art stops at 256x256 blocks.
A Minecraft bot client with 32 tools: joining a server, moving, fighting, gathering, crafting, farming, building and reading and writing chat.
A Minecraft server to join — joinGame takes a host, port and username. buildSomething and buildPixelArt need cheats or operator permissions on that server.
One command — npx -y @fundamentallabs/minecraft-mcp
USE CASES
Join with a host, port and username, get a text description of the surroundings, and read what has been said in chat — the three calls that make everything after them possible.
Till the ground, harvest what has matured within a radius, pick up what dropped, and mine the blocks the next cycle needs.
Feed the furnace with a named fuel, cook or smelt the stack, and collect the output once it is done.
Eat, rest and sleep on a schedule, get out of the water, and run rather than fight when the target is bigger than the bot.
Structures come from an array of Minecraft commands, and an image becomes pixel art in coloured blocks up to 256x256. Both need cheats or operator permissions on the server.
Follow a named player, hand over the items they asked for, and answer in chat — including whispers and slash commands.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
attackSomeoneAttack, kill, defend against, or initiate combat with someone
buildPixelArtBuild pixel art from an image in Minecraft (requires cheats/operator permissions). Converts an image to pixel art using colored blocks. Maximum size is 256x256 blocks.
buildSomethingBuild structures using Minecraft commands (requires cheats/operator permissions). Supports two modes: 1) buildScript - array of command objects like [{"command": "fill", "x1": 0, "y1": 64, "z1": 0, "x2": 10, "y2": 70, "z2": 10, "block": "stone"}], 2) code - JavaScript string for dynamic building like "for(let i = 0; i < 10; i++) { setBlock(pos.x + i, pos.y, pos.z, 'stone'); }"
cookItemCook an item in a furnace
craftItemsCraft items using a crafting table or inventory
danceMake the bot dance by moving and jumping
dropItemDrop items from inventory
eatFoodEat food from inventory to restore hunger
equipItemEquip an item (armor, tool, or weapon)
giveItemToSomeoneGive items to another player
goToKnownLocationNavigate to specific coordinates
goToSomeoneNavigate to another player
harvestMatureCropsHarvest mature crops from nearby farmland
huntHunt animals or mobs
joinGameSpawn a bot into the Minecraft game
leaveGameDisconnect a bot from the game
lookAroundLook around and observe the environment, providing a detailed text-based view of surroundings
mineResourceMine specific blocks or resources
openInventoryOpen the bot's inventory
openNearbyChestOpen a nearby chest
pickupItemPick up items from the ground
placeItemNearYouPlace a block or item near the bot
prepareLandForFarmingPrepare land for farming by tilling soil
readChatRead recent chat messages from the server. Returns player messages, system messages, whispers, action bar messages, and titles.
restRest to regain health
retrieveItemsFromNearbyFurnaceRetrieve smelted items from a nearby furnace
runAwayRun away from a threat
sendChatSend chat messages or commands to the server. Can send regular messages, commands (starting with /), or whispers.
sleepInNearbyBedFind and sleep in a nearby bed
smeltItemSmelt items in a furnace
swimToLandSwim to the nearest land when in water
useItemOnBlockOrEntityUse an item on a block or entity
BEFORE YOU INSTALL
32 tools when we connected.
CONTEXT COST
Rated by the size of the 32 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"minecraft-mcp": {
"command": "npx",
"args": [
"-y",
"@fundamentallabs/minecraft-mcp"
]
}
}
}npx -y @fundamentallabs/minecraft-mcp