What it does
Minecraft Education Edition MCP server: Agent robot, 24 build shapes, events. No add-on needed.
- Connects パソコンで動く
- Account or key No key needed
- Category ゲーム・スポーツ・料理・学習
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 9/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 21/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
BlockHand をインストールして。https://mcp.popnx.com/i/gjlmotea-blockhand-for-minecraft-education-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
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 -v一度入れれば、Node.js を使うすべてのツールで使えます
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "blockhand-for-minecraft-education": { "command": "npx", "args": [ "-y", "@gjlmotea/blockhand-mcp" ] } } }Claude を終了してもう一度開く
試してみる
BlockHand を使って、私に何ができるか教えて、1 つやってみせて✓ 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 は Web 上で動くサーバーにしかつなげません
代わりにできること
A · BlockHand につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · ゲーム・スポーツ・料理・学習 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- ShipSwift✓ ChatGPT
- LearnHouse✓ ChatGPT
- Anime Garden✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
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 -v一度入れれば、Node.js を使うすべてのツールで使えます
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user blockhand-for-minecraft-education -- npx -y @gjlmotea/blockhand-mcpClaude Code で /mcp と入力
BlockHand が一覧にあり、接続済みと表示されれば OK です
試してみる
BlockHand を使って、私に何ができるか教えて、1 つやってみせて✓ 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 を入れてください(1 回だけ)
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
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 -v一度入れれば、Node.js を使うすべてのツールで使えます
Cursor の AI チャットを Agent モードで開く
試してみる
BlockHand を使って、私に何ができるか教えて、1 つやってみせて✓ 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 を入れてください(1 回だけ)
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
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 -v一度入れれば、Node.js を使うすべてのツールで使えます
VS Code の AI チャットを Agent モードで開く
試してみる
BlockHand を使って、私に何ができるか教えて、1 つやってみせて✓ 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 のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user blockhand-for-minecraft-education -- npx -y @gjlmotea/blockhand-mcpClaude 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_PORTenv/connect でゲームが接続するポート(デフォルトは 19131、すべての AI セッションで共有)。英語の原文を見る
Port the game connects to with /connect (default 19131, shared by all AI sessions)MINECRAFT_EDU_WS_HOSTenvリッスンアドレス(デフォルト 127.0.0.1、ループバックのみ)英語の原文を見る
Listen address (default 127.0.0.1, loopback only)
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 66/週
- 接続方法
- パソコンで動く
- 最新バージョンi
- 0.1.1
- カテゴリi
- ゲーム・スポーツ・料理・学習
- レジストリ公開日i
- 2026年10月19日
- コードの最終更新i
- 2026年11月2日
- 作者
- gjlmotea
- パッケージ
npm: @gjlmotea/blockhand-mcp- ウェブサイト
- github.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。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日
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/gjlmotea-blockhand-for-minecraft-education-mcp)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
ゲーム・スポーツ・料理・学習のほかのサーバーとの比較i
- このカテゴリのほかの1623件のうち94%よりスターが多い
- このカテゴリのほかの1623件のうち45%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの1623件のうち99%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
BlockHandは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は18 日前、最新バージョン(0.1.1)がレジストリに届いたのは32 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
WilmAI
Finland's Wilma school system for parents and students: schedule, homework, exams and messages.
Lumify Sports Intelligence
Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.
Savecraft
Savecraft serves real save game data and expert game knowledge to AI assistants.
GoodWatch
Find movies and TV shows, track watches, and get suggestions based on your taste.
| これ BlockHand | Anime Garden | WilmAI | Lumify Sports Intelligence | Savecraft | GoodWatch | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 |
| キーが必要 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 3/3 | 4/4 | 3/4 | 4/4 |
| ライセンス | MIT | AGPL-3.0 | MIT | MIT | Apache-2.0 | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者の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
/fillcommands (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.1unlessMINECRAFT_EDU_WS_HOSTchanges 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
/connectcommand 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:
| Client | Config file |
|---|---|
| Claude Desktop | macOS: ~/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.
- Open a world in Minecraft Education. The main menu is not enough.
- Make sure Cheats are on.
- 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
PATHstill start the server. - Before changing any setting, they run a real MCP
initializewith 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 removecommand, 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.
| Client | Writes to | Then |
|---|---|---|
| Codex | ~/.codex/config.toml | Quit 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.toml | Restart 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)
| Tool | Purpose |
|---|---|
mc_status | Bridge state, the /connect command, subscribed events, command counters. Check this first when anything fails |
mc_await_connection | Wait for the game to connect (up to 120 seconds per call) |
mc_run_command | One raw slash command, for anything without a dedicated tool |
mc_run_commands | Several raw commands in order |
mc_undo_control | Inspect, clear or configure single-step undo (off by default) |
mc_undo | Undo the last protected build, after checking for conflicting changes |
Agent robot (10)
| Tool | Purpose |
|---|---|
mc_agent_create | Summon the Agent |
mc_agent_move | Walk N blocks in a direction |
mc_agent_turn | Turn left or right by 90 degrees |
mc_agent_teleport | Bring a lost Agent back to the player |
mc_agent_act | Attack, destroy or till, optionally repeated |
mc_agent_place | Place a block from an inventory slot |
mc_agent_collect | Pick up dropped items |
mc_agent_inventory | Count, free space, item detail, drop, drop all, transfer |
mc_agent_sense | Inspect, inspect data, detect, detect redstone: the Agent's eyes |
mc_agent_program | Send 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)
| Tool | Purpose |
|---|---|
mc_build_preview | Plan only: block count, bounding box, number of /fill batches |
mc_build_shape | 24 geometric shapes; most support hollow |
mc_blueprint_preview | Preview a block-by-block blueprint |
mc_build_blueprint | Any shape from a list of "coordinate → block"; identical blocks are merged |
| Group | Shapes |
|---|---|
| Solids | box, sphere, ellipsoid, cylinder, cone, pyramid, prism |
|