原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

BlockHand

作者:gjlmotea版本 0.1.1i★ 5i在你的电脑上运行代码仓库 ↗
注册名称io.github.gjlmotea/blockhand-for-minecraft-education-mcp

安装方法

能做什么

Minecraft Education Edition MCP server: Agent robot, 24 build shapes, events. No add-on needed.

作者提供的原文

  • 连接方式 在你的电脑上运行
  • 账号或密钥 无需密钥
  • 分类 游戏、体育、美食与学习

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度9/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分21/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 BlockHand。按照 https://mcp.popnx.com/i/gjlmotea-blockhand-for-minecraft-education-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server BlockHand,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "blockhand-for-minecraft-education": { "command": "npx", "args": [ "-y", "@gjlmotea/blockhand-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 BlockHand 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "blockhand-for-minecraft-education": {
          "command": "npx",
          "args": [
            "-y",
            "@gjlmotea/blockhand-mcp"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 BlockHand 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 BlockHand,或回答中出现 BlockHand 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MINECRAFT_EDU_WS_PORT 游戏通过 /connect 连接的端口(默认 19131,由所有 AI 会话共享)。
    查看英文原文Port the game connects to with /connect (default 19131, shared by all AI sessions)
  • MINECRAFT_EDU_WS_HOST 监听地址(默认 127.0.0.1,仅限回环地址)
    查看英文原文Listen address (default 127.0.0.1, loopback only)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 BlockHand

BlockHand 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 BlockHand 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)

B · 游戏、体育、美食与学习 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server BlockHand,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user blockhand-for-minecraft-education -- npx -y @gjlmotea/blockhand-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 BlockHand 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user blockhand-for-minecraft-education -- npx -y @gjlmotea/blockhand-mcp
  4. 在 Claude Code 中输入 /mcp

    应能看到 BlockHand 在列表中并显示已连接

  5. 试一试

    用 BlockHand 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 BlockHand,或回答中出现 BlockHand 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MINECRAFT_EDU_WS_PORT 游戏通过 /connect 连接的端口(默认 19131,由所有 AI 会话共享)。
    查看英文原文Port the game connects to with /connect (default 19131, shared by all AI sessions)
  • MINECRAFT_EDU_WS_HOST 监听地址(默认 127.0.0.1,仅限回环地址)
    查看英文原文Listen address (default 127.0.0.1, loopback only)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server BlockHand,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "blockhand-for-minecraft-education": { "command": "npx", "args": [ "-y", "@gjlmotea/blockhand-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 BlockHand 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 BlockHand 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 BlockHand,或回答中出现 BlockHand 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MINECRAFT_EDU_WS_PORT 游戏通过 /connect 连接的端口(默认 19131,由所有 AI 会话共享)。
    查看英文原文Port the game connects to with /connect (default 19131, shared by all AI sessions)
  • MINECRAFT_EDU_WS_HOST 监听地址(默认 127.0.0.1,仅限回环地址)
    查看英文原文Listen address (default 127.0.0.1, loopback only)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server BlockHand,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "blockhand-for-minecraft-education": { "type": "stdio", "command": "npx", "args": [ "-y", "@gjlmotea/blockhand-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 BlockHand 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 BlockHand 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 BlockHand,或回答中出现 BlockHand 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MINECRAFT_EDU_WS_PORT 游戏通过 /connect 连接的端口(默认 19131,由所有 AI 会话共享)。
    查看英文原文Port the game connects to with /connect (default 19131, shared by all AI sessions)
  • MINECRAFT_EDU_WS_HOST 监听地址(默认 127.0.0.1,仅限回环地址)
    查看英文原文Listen address (default 127.0.0.1, loopback only)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 BlockHand 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user blockhand-for-minecraft-education -- npx -y @gjlmotea/blockhand-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "blockhand-for-minecraft-education": {
      "command": "npx",
      "args": [
        "-y",
        "@gjlmotea/blockhand-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "blockhand-for-minecraft-education": {
      "command": "npx",
      "args": [
        "-y",
        "@gjlmotea/blockhand-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "blockhand-for-minecraft-education": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@gjlmotea/blockhand-mcp"
      ]
    }
  }
}

需要你填写的值

  • MINECRAFT_EDU_WS_PORT env
    游戏通过 /connect 连接的端口(默认 19131,由所有 AI 会话共享)。
    查看英文原文Port the game connects to with /connect (default 19131, shared by all AI sessions)
  • MINECRAFT_EDU_WS_HOST env
    监听地址(默认 127.0.0.1,仅限回环地址)
    查看英文原文Listen address (default 127.0.0.1, loopback only)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
66/周
连接方式
在你的电脑上运行
最新版本i
0.1.1
发布到注册中心i
2026年10月19日
代码最后更新i
2026年11月2日
作者
gjlmotea
软件包
npm: @gjlmotea/blockhand-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 gjlmotea 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于18天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 @gjlmotea/blockhand-mcp@0.1.1 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/gjlmotea-blockhand-for-minecraft-education-mcp.svg)](https://mcp.popnx.com/en/servers/gjlmotea-blockhand-for-minecraft-education-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“游戏、体育、美食与学习”中的其他服务器比较i

  • 星标数多于此分类中其他 1631 个服务器的 94%
  • 发布到注册中心的时间比此分类中其他 1631 个服务器的 44% 更新
  • 基础检查结果等于或优于此分类中其他 1631 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

BlockHand 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于18天前,最新版本(0.1.1)于32天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:LearnHouse, Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

LearnHouse

Build, edit and run courses, learning paths and communities in your LearnHouse academy.

作者:learnhouse广泛使用★ 2482昨天更新

在云端运行✓ 服务方 · learnhouse.app

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

作者:aikarjal正在增长↓ 1399/周★ 89 整个仓库的星标11天前更新

在你的电脑上运行✓ 服务方 · wilm.ai

Savecraft

Savecraft serves real save game data and expert game knowledge to AI assistants.

作者:joshsymonds起步阶段★ 137个月前更新

在云端运行仓库已归档✓ 服务方 · savecraft.gg
与相似项目对比
本项
BlockHand
LearnHouseAnime GardenWilmAILumify Sports IntelligenceSavecraft
运行位置需要安装在电脑上在云端运行,无需安装在云端运行,无需安装需要安装在电脑上在云端运行,无需安装在云端运行,无需安装
需要密钥否否否否是否
可在 Claude 中按 + 添加否否否否否否
基础检查3/35/54/43/34/43/4
许可证MITAGPL-3.0AGPL-3.0MITMITApache-2.0
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

BlockHand — MCP server for Minecraft Education

English | 繁體中文

BlockHand gives AI agents hands and eyes inside Minecraft Education Edition. Claude Code, Codex, Gemini CLI, Grok or any other Model Context Protocol client can drive the Agent robot, build structures, read blocks, compare regions and react to game events.

It talks to the game only through Minecraft Education's built-in /connect (/wsserver) WebSocket command. There is no add-on, behavior pack, mod or Script API to install in the game, nothing is injected into the game process, and no screen reading is involved. On a school computer, the only thing to install is the AI client.

  • 44 tools and 2 resources: Agent robot control, world edits, 24 build shapes, blueprints, block reading, region comparison, symmetry checks and event subscription.
  • Fast building: shapes are merged into the fewest possible /fill commands (a solid sphere of radius 8 goes from 2,000+ blocks to under 200 commands).
  • Local by default: the game WebSocket listens on 127.0.0.1 unless MINECRAFT_EDU_WS_HOST changes it, and no account or online service is involved.
  • One fixed address: every AI session on the machine shares one background hub, so the game always connects with /connect 127.0.0.1:19131.
  • Hands-off by design: the agent reloads packs, rejoins the world and restarts a hung game by itself instead of asking the player to. The player is needed only to sign in. See Hands-off operation.
  • Installers for Claude Code, Codex, Gemini CLI and Grok CLI when you run from source.

The /connect command is an official interface. The WebSocket message protocol behind it has no published stability guarantee, so behavior should be re-checked after game updates.

Contents

  • Quick start
  • Install from source
  • Tools
  • Connecting and staying connected
  • Hands-off operation
  • How building stays fast
  • Reading blocks
  • Undo (off by default)
  • Configuration
  • Safety
  • Troubleshooting
  • Known limitations
  • Development
  • License and trademarks

Quick start

Requirements:

  • Minecraft Education Edition, in a world with Cheats on. The player who connects needs operator rights. Verified on 1.26.32 (Windows desktop and macOS 14+).
  • Node.js 22 or newer on the machine that runs the AI client.
1. Register the server with your AI client

Claude Code:

claude mcp add blockhand --scope user -- npx -y @gjlmotea/blockhand-mcp

Codex:

codex mcp add blockhand -- npx -y @gjlmotea/blockhand-mcp

Clients that read an mcpServers JSON config (Claude Desktop, Cursor, Gemini CLI):

{

"mcpServers": { "blockhand": { "command": "npx", "args": ["-y", "@gjlmotea/blockhand-mcp"] } } }

VS Code uses a top-level servers key instead, and each server has a type:

{

"servers": { "blockhand": { "type": "stdio", "command": "npx", "args": ["-y", "@gjlmotea/blockhand-mcp"] } } }

Where each client keeps the file:

ClientConfig file
Claude DesktopmacOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json. Settings → Developer → Edit Config opens it
Cursor~/.cursor/mcp.json for every project, .cursor/mcp.json inside one project
Gemini CLI~/.gemini/settings.json (user), .gemini/settings.json (project)
VS Code.vscode/mcp.json in the workspace, or the user mcp.json that the MCP: Open User Configuration command opens

Sources: Claude Desktop, Cursor, Gemini CLI, VS Code.

Desktop apps started from Finder or the Start menu often do not see your shell's PATH. If the server fails to start with a vague "server not responding" error, replace npx with its absolute path (which npx on macOS, where npx on Windows).

Restart the AI client after registering.

2. Connect the game

The game connects to the server, not the other way round.

  1. Open a world in Minecraft Education. The main menu is not enough.
  2. Make sure Cheats are on.
  3. Type in the chat:
   /connect 127.0.0.1:19131

If your agent can send keys to the game window (see Hands-off operation), it types this itself; it reads the exact command from mc_status.

When the connection is made, a green "✔ BlockHand connected" line appears in the chat, in the game's own language: English, Traditional Chinese or Simplified Chinese, and English for any other game language. You can also ask the AI to call mc_status, which returns the exact connectCommand.

3. Ask for something

Build a hollow glass sphere with radius 6 in front of me.

Summon the Agent, walk it five blocks forward and plant a row of wheat.

Check whether the house at 0 64 0 to 20 80 20 is mirror-symmetric and show me which blocks break the symmetry.

Install from source

Use this route to work on BlockHand itself, or to use the installers and the doctor check.

git clone https://github.com/gjlmotea/blockhand-mcp.git

cd blockhand-mcp corepack pnpm install --frozen-lockfile corepack pnpm run build

Register with one of the installers:

corepack pnpm run setup:claude    # or setup:codex / setup:gemini / setup:grok

corepack pnpm run doctor # add --client=claude etc. to check another client

The installers do more than write a config entry:

  • They fill in the absolute path of this machine's Node, so desktop apps that cannot read nvm, Homebrew or your shell PATH still start the server.
  • Before changing any setting, they run a real MCP initialize with the exact command, arguments and environment they are about to save, and check that all 44 tools are there.
  • They do nothing when the server is already registered correctly, so re-running is safe.
  • When an entry with the same name exists but differs, they stop and show the difference instead of overwriting someone else's settings.
  • They write only through each client's official mcp add / mcp remove command, never by editing config files directly.

Remove with corepack pnpm run uninstall:claude (or uninstall:codex, and so on). It refuses to remove entries it cannot identify as belonging to this checkout.

ClientWrites toThen
Codex~/.codex/config.tomlQuit and restart; desktop app, CLI and IDE share it
Claude Code~/.claude.json (user scope)Restart the session
Gemini CLI~/.gemini/settings.json (user scope)Restart the CLI
Grok CLI~/.grok/config.tomlRestart the CLI

To register by hand, point the client at /dist/index.js, where is the absolute path from node -p "process.execPath" and is the absolute path of the checkout. Claude Code and Gemini CLI place the command differently:

claude mcp add blockhand --scope user -- <NODE> <REPO>/dist/index.js

gemini mcp add --scope user blockhand /dist/index.js

Claude Code wants -- before the command. Gemini CLI takes the command right after the name (gemini mcp add [options] [args...]); a -- there would leave it without a command. Gemini only needs -- after the command, in front of server arguments that collide with its own options, and BlockHand takes no arguments. Gemini's default scope is project, so use --scope user to make it global. Claude Code's default scope is local; --scope project writes a shareable .mcp.json, which is handy for a whole class. Sources: Claude Code, Gemini CLI.

Tools

Connection and fallback (6)
ToolPurpose
mc_statusBridge state, the /connect command, subscribed events, command counters. Check this first when anything fails
mc_await_connectionWait for the game to connect (up to 120 seconds per call)
mc_run_commandOne raw slash command, for anything without a dedicated tool
mc_run_commandsSeveral raw commands in order
mc_undo_controlInspect, clear or configure single-step undo (off by default)
mc_undoUndo the last protected build, after checking for conflicting changes
Agent robot (10)
ToolPurpose
mc_agent_createSummon the Agent
mc_agent_moveWalk N blocks in a direction
mc_agent_turnTurn left or right by 90 degrees
mc_agent_teleportBring a lost Agent back to the player
mc_agent_actAttack, destroy or till, optionally repeated
mc_agent_placePlace a block from an inventory slot
mc_agent_collectPick up dropped items
mc_agent_inventoryCount, free space, item detail, drop, drop all, transfer
mc_agent_senseInspect, inspect data, detect, detect redstone: the Agent's eyes
mc_agent_programSend a whole sequence of actions in one call and get a result per step

Agent directions are relative to the way the Agent is facing, not compass directions.

World (13)

mc_set_block, mc_fill, mc_clone, mc_test_block, mc_read_block, mc_verify_reading, mc_compare_regions, mc_analyze_symmetry, mc_query_target, mc_summon, mc_world_settings (time, weather, game rules, difficulty), mc_structure (save and load structures), mc_ticking_area.

mc_query_target parses the JSON that querytarget returns. It is the way to find where the player or the Agent is before building.

mc_compare_regions compares two regions with a single testforblocks. Its masked mode ignores air in the source, which is how you check that a student's build contains everything it should, whatever else is around it.

mc_analyze_symmetry checks whether a region is mirror-symmetric and, when it is not, points to the cells that differ. It works by saving the region, loading a mirrored copy into a scratch area, comparing, and restoring the scratch area afterwards. The scratch area may not overlap the region being analyzed; this is checked before any command is sent. If backing up the scratch area fails, nothing is placed.

mc_structure saves to memory by default (gone when the game closes). Use saveMode: "disk" only when the user asks to keep a structure; it writes into the world folder. The game has no command that lists saved structures, so mc_status reports the names saved during the current session.

Player and feedback (7)

mc_teleport, mc_give, mc_gamemode, mc_effect, mc_player_action (kill, clear, xp, ability), mc_message (say, tell, title, subtitle, action bar), mc_feedback (sounds and particles).

Building (4)
ToolPurpose
mc_build_previewPlan only: block count, bounding box, number of /fill batches
mc_build_shape24 geometric shapes; most support hollow
mc_blueprint_previewPreview a block-by-block blueprint
mc_build_blueprintAny shape from a list of "coordinate → block"; identical blocks are merged
GroupShapes
Solidsbox, sphere, ellipsoid, cylinder, cone, pyramid, prism

|

只显示了开头部分;其余内容请在仓库中阅读