Skip to main content
Glama
leo4life2

Minecraft MCP Server

by leo4life2

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
joinGameC

Spawn a bot into the Minecraft game

leaveGameC

Disconnect a bot from the game

attackSomeoneC

Attack, kill, defend against, or initiate combat with someone

cookItemC

Cook an item in a furnace

craftItemsC

Craft items using a crafting table or inventory

danceC

Make the bot dance by moving and jumping

dropItemC

Drop items from inventory

eatFoodB

Eat food from inventory to restore hunger

equipItemC

Equip an item (armor, tool, or weapon)

giveItemToSomeoneC

Give items to another player

goToKnownLocationC

Navigate to specific coordinates

goToSomeoneC

Navigate to another player

harvestMatureCropsC

Harvest mature crops from nearby farmland

huntC

Hunt animals or mobs

mineResourceC

Mine specific blocks or resources

openInventoryC

Open the bot's inventory

openNearbyChestC

Open a nearby chest

pickupItemC

Pick up items from the ground

placeItemNearYouC

Place a block or item near the bot

prepareLandForFarmingB

Prepare land for farming by tilling soil

restC

Rest to regain health

retrieveItemsFromNearbyFurnaceB

Retrieve smelted items from a nearby furnace

runAwayC

Run away from a threat

sleepInNearbyBedC

Find and sleep in a nearby bed

smeltItemC

Smelt items in a furnace

swimToLandB

Swim to the nearest land when in water

useItemOnBlockOrEntityC

Use an item on a block or entity

lookAroundB

Look around and observe the environment, providing a detailed text-based view of surroundings

buildSomethingA

Build 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'); }"

buildPixelArtA

Build 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.

readChatC

Read recent chat messages from the server. Returns player messages, system messages, whispers, action bar messages, and titles.

sendChatB

Send chat messages or commands to the server. Can send regular messages, commands (starting with /), or whispers.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leo4life2/minecraft-mcp-http'

If you have feedback or need assistance with the MCP directory API, please join our Discord server