Bind Alias Mcp

io.github.Prohect由 GitHub 帳號 Prohect 發布v2.2.0更新於 Oct 24, 2026

MCP bridge for BindAlias Minecraft mod: game state, screenshots, aliases, and config editing.

已驗證STDIO僅桌面

概覽

AI 產生的概覽

連接 BindAlias Minecraft 模組的本地 MCP 橋接,讓助理讀取遊戲狀態、截圖、執行別名,並編輯存檔層級的設定與筆記。

可以做什麼
  • 讀取遊戲狀態:畫面、世界、玩家位置、生命值、物品欄、狀態效果與附近玩家的完整快照
  • 以 base64 PNG 形式擷取畫面
  • 執行與定義別名,可延後若干客戶端 tick 再回傳結果
  • 讀取並覆寫存檔層級的 agent 設定,讀寫存檔層級 agent 目錄中的檔案
  • 在開啟配方書介面時列出已解鎖配方
適用情境
適合已安裝 BindAlias 模組的 Minecraft 玩家,想讓 AI 助理觀察並操作遊戲,透過別名、設定與筆記完成自動化流程,或建立與特定存檔綁定的助理工作流程。
執行需求
以 stdio 在本機執行,可用 npx bind-alias-mcp 或本機程式碼搭配 Node.js 啟動。需要已載入 BindAlias 模組的 Minecraft,並開啟模組的 HTTP API,預設監聽 127.0.0.1:25575,可用 --port 參數對應非預設連接埠。設定與筆記相關工具需處於單人世界。
安裝前請注意
助理可寫入檔案、覆寫存檔層級的 agent 設定並立即重新載入,也可定義並執行會在遊戲中產生動作的別名。筆記與設定工具只接受純檔名。伺服器連線本機模組 HTTP 端點,該連接埠應只綁定在本機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Bind Alias Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

BindAlias MCP

MCP bridge for the BindAlias Minecraft mod. Lets AI agents control Minecraft: query game state, take screenshots, execute aliases, manage recipes, read/write notes, and edit the per-save agent config.

Prerequisites

  • Minecraft with the BindAlias mod loaded
  • The mod's HTTP API enabled (listens on 127.0.0.1:25575 by default, with automatic port fallback)

Install in Zed

Add to your settings.json:

json
{  "context_servers": {    "bind-alias": {      "command": {        "path": "npx",        "args": ["bind-alias-mcp"]      }    }  }}

Or with a local checkout:

json
{  "context_servers": {    "bind-alias": {      "command": {        "path": "node",        "args": ["path/to/BindAlias-MCP/mcp_server.js"]      }    }  }}

Use --port N to match a non-default mod port:

json
"args": ["path/to/BindAlias-MCP/mcp_server.js", "--port", "25576"]

Zed spawns MCP servers at startup — reload Zed (zed-reload) after editing to pick up the new server.

Install via CLI

bash
npx bind-alias-mcp# or globallynpm install -g bind-alias-mcp

The server speaks MCP on stdio. Point any MCP client at it.

Tools

ToolWhat it does
getFullStateFull game state snapshot — screen, world, dimension, player pos/rot, health, hotbar, inventory, effects, nearby players, plus drained chat/mod/sound/recipe messages
getScreenshotTake a screenshot, return as base64 PNG with the standard state envelope
runAliasExecute a chain of aliases. Optional nap (client ticks) defers the response while the game keeps running.
defineAliasDefine a new alias at runtime (requires being in a world).
readCFGRead the per-save agent config (saves/<save>/bind-alias/agent.cfg). Requires being in a singleplayer world.
writeCFGOverwrite the per-save agent config and reload. Requires being in a singleplayer world.
readNotesRead a file from the per-save agent directory (saves/<save>/bind-alias/). Plain filenames only, no paths.
writeNotesWrite a file to the per-save agent directory. Plain filenames only, no paths.
listRecipesList unlocked recipes (diff or by query). Only works with a recipe-book screen open (inventory, crafting table, furnace, …).

The tool descriptions only cover the wire protocol — see the mod docs and the system prompt patch for the full alias reference.

Agent system prompt patch

The tool descriptions this server advertises only cover the wire protocol — the fixed facts the tools themselves must know. The gameplay knowledge (the full alias catalog, screens, variables, per-world cfg semantics) changes with the mod and your world, so it lives separately in a flexible patch:

  • PATCH TO YOUR PROJECT RULE.md — paste this into your agent's system prompt / project rules (e.g. Zed's AGENTS.md) to teach it how to drive the game.

Related

來源:README.md,提交 0439549

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。