Skip to main content
Glama
Minecraft Bedrock MCP Server
by Mming-Lab

minecraft-bedrock-education-mcp

日本語版 README はこちら / Japanese README here

An MCP server that lets a model build in Minecraft Education — draw the thing before placing it, put all of it down in one call, and read back what actually landed.

v2 — rewritten. The previous version is tagged legacy/v1.0.0 and still builds and runs.

What it needs

  • Minecraft Education 1.26 or later, on the same machine as this server. The game connects to the server, not the other way round, and the tools that read the world go through an add-on running inside it.

  • Node 22 or later.

  • Windows, if you want the paths below to match. The server itself has no platform requirement.

Bedrock Edition works for building. Reading needs the add-on, which needs the Script API.

Related MCP server: Godot MCP Runtime

Setting it up

Three steps, in this order. The middle one is the one people skip.

1. Install the add-on

Copy addon/ into the game's pack folder as mcp-bridge, replacing any copy already there:

%LOCALAPPDATA%\Packages\Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe\LocalState\games\com.mojang\development_behavior_packs\

Then activate MCP Bridge on the world, and close Minecraft Education completely and open it again. Pack folders are scanned when the game launches and at no other time; reloading the world is not enough, and the game gives no sign that it is still running the script it loaded at startup. world.bridge_status is the only thing that reports which version is actually running.

2. Build the server, then point an MCP client at it

npm install
npm run build

That writes dist/index.js, which is what the client spawns:

{
  "mcpServers": {
    "minecraft": {
      "command": "node",
      "args": ["path/to/dist/index.js"]
    }
  }
}

Flag

Variable

Default

--port N

MINECRAFT_MCP_PORT

19131

What /connect dials

--host H

MINECRAFT_MCP_HOST

all interfaces

Set to 127.0.0.1 to refuse other machines

--no-encryption

MINECRAFT_MCP_NO_ENCRYPTION

off

See below

Encryption has to match the game, and a mismatch is silent. If the game is set to refuse encrypted sessions, /connect appears to work and then nothing ever answers — which looks exactly like a /connect nobody typed. If your connection goes quiet, try the other setting before looking anywhere else.

3. Connect from inside the game

/connect localhost:19131

Nothing is connected until this happens, and the server cannot do it for you.

On Windows this fails silently until the package is exempted. Education Edition is a packaged app, and packaged apps cannot reach localhost. Without the exemption /connect reports nothing useful and the server never sees a connection — which looks exactly like the encryption mismatch above. From an elevated prompt, once per machine, then restart the game:

CheckNetIsolation.exe LoopbackExempt -a -n=Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe

CheckNetIsolation LoopbackExempt -s lists what is currently exempted.

That is all the setup there is — the tools carry their own instructions, and the model reads them from there.

When it does not work

Ask world.bridge_status first. It answers rather than failing, because it is the tool you reach for when the others are failing:

It says

Then

connected: false

Nobody has run /connect — or the encryption settings disagree

upToDate: false

The game is running an older add-on than the files on disk. Close and reopen Minecraft; reloading the world will not do it

everything fine

The problem is in the request, and the failing tool will have said what

A build that reports negative entries is usually fine. Bedrock's status codes are not verdicts: 0 blocks filled is negative and means the fill ran and matched nothing. To find out whether something is actually in the world, read it.

overwritten entries are not an error either. The call succeeded; those entries are simply not in the world because a later shape covered them.

Contributing

npm run verify runs everything without Minecraft. See CONTRIBUTING.md.

License

MIT

Available Tools

21 tools
agentC

Agent control: movement, building, mining, inventory, exploration, construction, resource gathering

Inputs: action (required), amount, data, direction, +7 more.

blocksC

Block operations: placement, area filling, terrain queries, single blocks, large areas, surface detection

Inputs: action (required), block_id, mode, steps, +6 more.

build_cubeC

Build CUBE/RECTANGLE: box, rectangle, wall, platform, room, house frame. Define with 2 corners (x1,y1,z1) to (x2,y2,z2). Coordinates can be positive or negative (e.g. x:-50, z:-100). Supports sequences for automation.

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +5 more.

build_cylinderC

Build CYLINDER: tower, pillar, column, chimney, pipe, tube. Requires: centerX,centerY,centerZ,radius,height. Optional: axis

Inputs: centerX (required), centerY (required), centerZ (required), height (required), +5 more.

build_ellipsoidA

Build an ellipsoid (stretched/oval sphere) structure. Perfect for egg shapes, stretched domes, oval rooms, or artistic sculptures. Different radii create unique shapes. Example: radiusX=10, radiusY=5, radiusZ=10 creates a flattened dome

Inputs: centerX (required), centerY (required), centerZ (required), radiusX (required), +5 more.

build_helixB

Build HELIX/SPIRAL: spiral staircase, corkscrew, DNA model, twisted tower. Requires: centerX,centerY,centerZ,radius,height,turns. Optional: axis,direction,chirality

Inputs: centerX (required), centerY (required), centerZ (required), height (required), +8 more.

build_hyperboloidC

Build HYPERBOLOID: cooling tower, hourglass, nuclear tower. Requires: centerX,centerY,centerZ,baseRadius,waistRadius,height. Optional: axis

Inputs: baseRadius (required), centerX (required), centerY (required), centerZ (required), +6 more.

build_lineA

Build a straight line of blocks between two points. Perfect for paths, roads, fences, bridges, pillars, or structural frameworks. Example: from (0,64,0) to (10,80,10) creates a diagonal line useful for building supports or artistic structures

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +4 more.

build_paraboloidC

Build PARABOLOID: satellite dish, bowl, dish, parabolic. Requires: centerX,centerY,centerZ,radius,height. Optional: axis,direction

Inputs: centerX (required), centerY (required), centerZ (required), height (required), +6 more.

build_rotateB

Rotate and copy a structure around a pivot point. Perfect for creating rotated copies of buildings, making symmetrical structures, or spinning decorations. Example: rotate a house 90° around its center to create multiple orientations

Inputs: angle (required), axis (required), originX (required), originY (required), +9 more.

build_sphereB

Build SPHERE: ball, dome, round structure, planet, orb. Specify center (centerX,centerY,centerZ) + radius. Coordinates can be positive or negative (e.g. centerX:-25, centerZ:-75). Perfect for domes, decorations, planets, bubbles.

Inputs: centerX (required), centerY (required), centerZ (required), radius (required), +3 more.

build_torusC

Build TORUS: donut, ring, circular fountain, arena seating, portal. Requires: centerX,centerY,centerZ,majorRadius,minorRadius. Optional: axis

Inputs: centerX (required), centerY (required), centerZ (required), majorRadius (required), +5 more.

build_transformB

Transform structures by copying, rotating, mirroring, or scaling. Perfect for duplicating buildings, creating mirror images, or making scaled versions. Popular options: copy=duplicate, mirror_x=flip horizontally, scale_up=make 2x bigger

Inputs: sourceCorner1X (required), sourceCorner1Y (required), sourceCorner1Z (required), sourceCorner2X (required), +8 more.

cameraB

CAMERA control: move_to (position camera), smooth_move (animated movement), track_entity (follow targets), fade (screen effects), reset (clear camera), set_mode (view presets). Supports both individual actions and cinematic sequences. Perfect for filming, showcasing builds, or creating camera movements. Requires cheats enabled.

Inputs: action (required), auto_clear, color, duration, +15 more.

execute_commandC

Execute a Minecraft command

Inputs: command (required).

minecraft_wikiA

Search Minecraft Wiki for Bedrock Edition and Education Edition commands, blocks, items, entities, and game mechanics. Excludes Java Edition-only features. Returns accurate, up-to-date information from the official Minecraft Wiki. Use sequence action for step-by-step information gathering: 1) search for topic, 2) get specific page, 3) get detailed section - reduces overwhelming responses.

Inputs: action (required), focus, page_title, query, +3 more.

playerC

PLAYER management: info/location/communication/inventory/abilities/gamemode. Actions: get_info/location (player details), send_message (chat to player), give_item (add to inventory), set_gamemode (survival/creative/adventure/spectator), add_levels (XP), get/set_ability (mayfly/mute/worldbuilder), get/check_tag, get_ping, list_all_players. Supports sequences for chained player operations.

Inputs: action (required), ability, ability_value, amount, +10 more.

send_messageA

Send a chat message to the connected Minecraft player. ALWAYS provide a message parameter. Use this to communicate with the player about build progress or instructions.

Inputs: message (required).

sequenceA

Execute CROSS-TOOL SEQUENCES: Chain actions from multiple tools together with timing control. Perfect for complex automation like "teleport player → wait 2s → build cube → take screenshot → say message". Supports all tools: player(teleport/move/say), agent(move/turn), camera(shot/video), blocks(setblock/fill), world(time/weather), building(cube/sphere/line). Use wait_time for delays, on_error for handling failures.

Inputs: steps (required), description.

systemD

System features: scoreboards, screen displays (titles, action bars), player UI, game management

Inputs: action (required), category (required), display_name, display_slot, +11 more.

worldC

World management: time, weather, environment, day/night cycles, world queries, connections

Inputs: action (required), command, duration, message, +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 21 tools

    Disambiguation4/5

    Most tools have distinct purposes, such as 'build_cube' for rectangular structures versus 'build_sphere' for spherical ones, with clear descriptions. However, 'agent' and 'player' overlap in movement/control aspects, and 'blocks' is a general tool that could be confused with specific build tools, causing some ambiguity.

    Naming Consistency4/5

    The naming is mostly consistent with a 'verb_noun' or 'noun' pattern, such as 'build_cube', 'build_sphere', and 'execute_command'. Minor deviations exist, like 'minecraft_wiki' (noun_noun) and 'sequence' (single noun), but overall it remains readable and predictable.

    Tool Count3/5

    With 21 tools, the count is borderline high for a Minecraft server, as it includes many specialized build tools (e.g., 'build_hyperboloid') that might be overkill. While comprehensive, it feels heavy and could overwhelm agents, though it aligns with the broad scope of building and world management.

    Completeness5/5

    The tool set provides complete coverage for Minecraft Bedrock operations, including building (various shapes), player management, world control, camera actions, and command execution. There are no obvious gaps; agents can perform CRUD-like actions and complex sequences without dead ends.

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A TypeScript MCP server that enables AI assistants to create, manage, and manipulate 'crystals' - structured data containers for storing complex analysis, code, and knowledge that can be exported and reimported across different AI conversations.
      -
    • A
      license
      D
      quality
      D
      maintenance
      A TypeScript MCP server demo supporting local Stdio and remote Streamable HTTP, demonstrating tool invocation for AI agents.
      2
      1
      MIT