BlockHand
Minecraft Education Edition MCP server: Agent robot, 24 build shapes, events.
Connector by gjlmotea · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/gjlmotea-blockhand-for-minecraft-education-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 12 read · 18 write · 14 delete
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 44
Read from the source code; the running server may list different tools.
Read 12 · Look things up without changing anything.
mc_agent_sensemc_await_connectionmc_blueprint_previewmc_build_previewmc_compare_regionsmc_events_catalogmc_events_pollmc_query_targetmc_read_blockmc_statusmc_test_blockmc_verify_reading
Write 18 · Create, change, send or run things.
mc_agent_collectmc_agent_createmc_agent_inventorymc_agent_movemc_agent_placemc_agent_teleportmc_agent_turnmc_effectmc_events_subscribemc_events_unsubscribemc_feedbackmc_gamemode
Show 6 more tools
mc_givemc_messagemc_summonmc_teleportmc_ticking_areamc_world_settings
Delete 14 · Delete, drop, revoke or wipe things.
mc_agent_actmc_agent_programmc_analyze_symmetrymc_build_blueprintmc_build_shapemc_clonemc_fillmc_player_actionmc_run_commandmc_run_commandsmc_set_blockmc_structure
Show 2 more tools
mc_undomc_undo_control
Secrets and settings it asks for
Other settings (environment variables or headers).
MINECRAFT_EDU_WS_HOSTMINECRAFT_EDU_WS_PORT
Network hosts it talks to 2
github.com· found in codeglama.ai· found in code
Files it touches
/opt/homebrew/bin/ffmpeg/usr/sbin/screencapture/usr/sbin/sysctl- Your home directory (~)
~/.codex/config.toml~/.grok/config.toml
Tools (44)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
mc_agent_actAgent attack / destroy / tillcan change or delete dataAct in a direction: attack hits a mob, destroy breaks a block and puts it in the inventory, till turns dirt into farmland. repeat runs it several times in a row. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_agent_collectAgent collect itemsPick up dropped items near the Agent. Leave item empty to pick up everything. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_agent_createSummon the AgentSpawn the Agent next to the player. Calling it again when the Agent already exists is safe. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_agent_inventoryAgent inventoryDo one thing with the Agent inventory: count reads the amount in a slot, space reads the room left, detail reads item details, drop drops a quantity, dropAll drops everything in a direction, transfer moves items between slots. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_agent_moveMove the AgentMove the Agent steps blocks in a direction, one command per block. A step blocked by a block fails without stopping the rest. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_agent_placeAgent place blockTake a block from an inventory slot (1-27) and place it in a direction. Fails when the slot is empty. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_agent_programRun an Agent programcan change or delete dataRun a sequence of Agent actions in order as one program. This is the main tool for getting real work done with the Agent: laying a path as it walks, digging a tunnel, tilling a whole field. Each step is reported separately, and it can stop at the first failure.
mc_agent_senseAgent sense surroundingsread-onlyRead what is around the Agent without changing the world: inspect reads the block type, inspectData reads the block data value, detect checks whether there is a solid block in that direction, detectRedstone checks for a redstone signal. These are the Agent's eyes; look before acting.
mc_agent_teleportTeleport the Agent to the playerBring the Agent to the player. Use it to recover the Agent when it is lost, stuck or has fallen into a hole. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_agent_turnTurn the AgentTurn the Agent left or right in place, 90 degrees each time. times=2 turns it around. The Agent is the robot found only in Education Edition; summon it with mc_agent_create first. Directions are relative to the way the Agent faces, not world directions.
mc_analyze_symmetryAnalyze how mirror-symmetric a build iscan change or delete dataCheck whether a region is symmetric left to right (or front to back), and when it is not, point out **which parts** are not. Use it to grade student builds: the score is the share of symmetric cells, not a gut feeling. How it works: testforblocks only compares by translation, never mirrored, so a mirrored copy is made first with the mirror option of structure save / load and then compared with the original. Warning: this **temporarily writes** to the scratch area: its contents are always backed up first and restored right after the comparison; if the backup fails, it stops without touching the…
mc_await_connectionWait for Minecraft to connectread-onlyBlock until the game connects to the bridge, for at most timeoutSeconds seconds. A timeout is not an error; it just reports connected=false. Call it after asking the user to type /connect.
mc_blueprint_previewPreview a blueprint buildread-onlyCompute only, build nothing: group a block-by-block blueprint by block type and report the total block count and the number of merged fill batches.
mc_build_blueprintBuild a block-by-block blueprintcan change or delete dataBuild any form from a list of coordinate -> block entries; identical blocks are merged into the fewest fill commands automatically. Prefer mc_build_shape for geometric shapes; this tool is for pixel art, text, irregular forms, or models converted from external data.
mc_build_previewPreview a shape buildread-onlyCompute only, build nothing: report how many blocks the shape uses, where its bounding box is, and how many fill commands it splits into. All coordinates are absolute world coordinates; if you do not know where the player is, call mc_query_target first. Building changes the world directly, so check the block count and bounding box with the matching preview tool before you build.
Show 29 more tools
mc_build_shapeBuild a shapecan change or delete dataBuild a shape directly in the world. Block coordinates are merged into the fewest fill commands automatically, so a sphere of radius 20 takes a few hundred commands instead of thirty thousand. [Choose a shape by intent] Basic volumes: box, sphere, ellipsoid, cylinder, cone (topRadius>0 makes a truncated cone), pyramid (sides sets the number of sides, topRadius>0 makes a frustum), prism (regular n-sided prism). Lines and surfaces: line (straight line), curve (smooth curve), disk (disk / ring), tube (cylinder in any direction). Building parts: wedge (single slope), roof (gable / hip), arch, stai…
mc_cloneClone a regioncan change or delete dataCopy the region from begin to end to destination. cloneMode="move" clears the original. Good for mass-producing a hand-built template.
mc_compare_regionsCompare two regions of equal sizeread-onlyCompare a whole region with one command; good for checking whether a student build matches a reference. Comparing block by block hits the MCP host timeout beyond a few hundred blocks; this does not. masked=true ignores air in the source region and only checks that what should be there is there, regardless of anything extra around it; masked=false requires an exact match. Both regions must be the same size; destination is the minimum corner of the target region.
mc_effectApply or clear status effectsaction="apply" applies a potion effect; "clear" removes all effects.
mc_events_catalogList subscribable event namesread-onlyReturn the event names known to work. Mojang does not formally document this list, so subscribing to a name outside it is allowed; it is just marked unverified. No side effects.
mc_events_pollRead received eventsread-onlyReturn the events after a cursor. Use afterCursor=0 the first time, then pass back the nextCursor from the previous call to keep reading. dropped greater than 0 means the buffer wrapped around and some events are lost for good; poll more often. No side effects.
mc_events_subscribeSubscribe to game eventsStart receiving a kind of game event (for example PlayerMessage for chat, BlockPlaced for placed blocks, PlayerTravelled for movement). Events go into a ring buffer; read them later with mc_events_poll. This is how the AI perceives what the player is doing. Subscriptions are renewed automatically after a reconnect.
mc_events_unsubscribeUnsubscribe from game eventsStop receiving a kind of event. Events already in the buffer are kept.
mc_feedbackPlay a sound or particlePlay a sound or spawn a particle effect at a coordinate, to give players immediate sensory feedback.
mc_fillFill a boxcan change or delete dataFill the box from from to to with one kind of block. Bedrock allows at most 32768 blocks per fill; beyond that use mc_build_shape, which splits the work into batches automatically. mode=hollow fills the six outer faces and clears the inside to air; mode=outline replaces only the six outer faces and leaves the inside as it is.
mc_gamemodeChange game modeSwitch the target to survival, creative, adventure or spectator.
mc_giveGive itemsGive a target a number of items. To give the Agent something to place, give it to the player first and then hand it to the Agent.
mc_messageShow a message in the gamesay posts to everyone in chat, tell sends a private message, title / subtitle / actionbar show large text on screen. Use it to talk to players while teaching or reporting progress.
mc_player_actionMiscellaneous player actionscan change or delete datakill kills the target, clear empties the inventory (optionally one item only), xp gives experience, ability turns the worldbuilder / mayfly / mute abilities on or off.
mc_query_targetQuery entity position and facingread-onlyQuery the coordinates, facing and unique ID of entities by selector, returned as parsed JSON. This is the standard way to get the current position of the player or the Agent; ask this before building so you know where to build. It defaults to @p (the nearest player) rather than @s: commands sent over the WebSocket have no entity identity, so @s cannot be resolved in some cases.
mc_read_blockRead which block is at a coordinateread-onlyReport what is actually at a coordinate, without you having to guess first. Education has no command to read a block, so this runs testforblock with air as a sentinel; when the guess is wrong, the game message names the actual block. Note: it returns the **localized display name** (for example "Dirt", or "泥土" in a Chinese game), not the block ID (dirt), so it cannot be fed back to mc_set_block; to check by ID, use mc_test_block. The message format has no official guarantee; when it cannot be parsed, this tool returns an error with the raw message instead of guessing.
mc_run_commandRun one slash commandcan change or delete dataSend one raw slash command, for anything this server has no dedicated tool for. Single line only, no newline chaining. Refuses wsserver / connect / closewebsocket, including when wrapped in execute (that would cut this bridge). The leading slash is optional.
mc_run_commandsRun several slash commands in ordercan change or delete dataSend several raw commands in order; each one passes the command policy on its own. Good for hand-written macros; for many blocks use mc_build_shape or mc_build_blueprint, which merge them into the fewest fill commands automatically.
mc_set_blockPlace one blockcan change or delete dataPlace one block at a coordinate. For many blocks use mc_fill or mc_build_shape instead; calling this tool block by block is very slow.
mc_statusRead bridge and connection statusread-onlyReport the WebSocket bridge, whether the game is answering commands (commandState), the last reply and timeout times, the /connect command and subscribed events. connected only means the network link is up; timed-out means a recent command got no reply, so do not assume the game can still act. No side effects.
mc_structureSave or load a structurecan change or delete dataSave a region as a named structure, or place a saved structure back into the world. This is the official way to keep what the AI built, mass-produce it, or take it to another world. **Choose saveMode by what the user wants; do not always use the same one:** - `memory` (default) = temporary storage for this connection. Use it while the AI keeps revising the same build: save a version to keep a way back, and load it if a change goes wrong. It disappears when the game closes and leaves no files on disk. - `disk` = only when **the user explicitly says to keep it** ("remember this building", "save…
mc_summonSummon a mob or entitySpawn one entity at a coordinate, optionally with a name tag. Leave position empty to spawn it where the command runs.
mc_teleportTeleport a player or entityTeleport the targets of a selector to a coordinate. target defaults to @s, the player running the commands.
mc_test_blockTest whether a coordinate holds a blockread-onlyReport whether a coordinate holds the given block, without changing the world. Use it to check the terrain before building or to verify what was just built.
mc_ticking_areaAdd a ticking areaKeep a region loaded so its mechanisms keep running after the player leaves. Needed when the Agent works on its own far away.
mc_undoUndo the last buildcan change or delete dataUndo the last protected setblock/fill or build tool call; several build commands count as one step. All target blocks are checked first, then each region is restored with conditional commands so later changes are not overwritten. operationId guards against undoing the wrong version. Use overwriteChanges only when the user explicitly asks to overwrite conflicts, or accepts restoring the site after an operation whose outcome is uncertain; never set it to true on your own. This first version covers basic Overworld building blocks only: no mobs, inventories, water flow or redstone chains outside t…
mc_undo_controlView or configure one-step undocan change or delete dataDescription is built at runtime.
mc_verify_readingVerify that block reading still worksread-onlyBlock reading relies on the testforblock **failure message** revealing the block name, and that message format has no official stability guarantee. When a game update changes the wording, or the game language is not Traditional Chinese, Simplified Chinese or English, parsing breaks, and it breaks **silently**. This probe actively checks whether the reading path still works; **run it once before class** to know whether mc_read_block results can be trusted. It does not need to know what is at the spot: if it is air, it asks about bedrock (a guaranteed mismatch) to force a failure message; if som…
mc_world_settingsChange a world settingChange one world setting at a time: time sets the time (day/night/noon/midnight or a tick count), weather the weather, gamerule a game rule, difficulty the difficulty.
Compare and alternatives
Featured in
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 275
- Last commit
- Oct 19, 2026 (9 days ago)
- Last release
- Oct 19, 2026 (9 days ago)
- Last package publish
- Oct 19, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.gjlmotea/blockhand-for-minecraft-education-mcp- Version
- 0.1.1
- Auth
- No auth
- Packages
- npm @gjlmotea/blockhand-mcp
- License
- MIT
- Repository
- github.com/gjlmotea/blockhand-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from gjlmotea
Cite this page
BlockHand MCP server. Agent Mart. https://agentmart.dev/connectors/gjlmotea-blockhand-for-minecraft-education-mcp (last updated 2026-10-24)