io.github.Prohect/bind-alias-mcp
MCP bridge for BindAlias Minecraft mod: game state, screenshots, aliases, and config editing.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
bind-alias-mcpclaude mcp add bind-alias-mcp -- npx -y bind-alias-mcp@2.2.0
{
"mcpServers": {
"bind-alias-mcp": {
"command": "npx",
"args": [
"-y",
"bind-alias-mcp@2.2.0"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
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:25575by default, with automatic port fallback)
Install in Zed
Add to your settings.json:
{
"context_servers": {
"bind-alias": {
"command": {
"path": "npx",
"args": ["bind-alias-mcp"]
}
}
}
}
Or with a local checkout:
{
"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:
"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
npx bind-alias-mcp
# or globally
npm install -g bind-alias-mcp
The server speaks MCP on stdio. Point any MCP client at it.
Tools
| Tool | What it does |
|---|---|
getFullState | Full game state snapshot — screen, world, dimension, player pos/rot, health, hotbar, inventory, effects, nearby players, plus drained chat/mod/sound/recipe messages |
getScreenshot | Take a screenshot, return as base64 PNG with the standard state envelope |
runAlias | Execute a chain of aliases. Optional nap (client ticks) defers the response while the game keeps running. |
defineAlias | Define a new alias at runtime (requires being in a world). |
readCFG | Read the per-save agent config (saves/<save>/bind-alias/agent.cfg). Requires being in a singleplayer world. |
writeCFG | Overwrite the per-save agent config and reload. Requires being in a singleplayer world. |
readNotes | Read a file from the per-save agent directory (saves/<save>/bind-alias/). Plain filenames only, no paths. |
writeNotes | Write a file to the per-save agent directory. Plain filenames only, no paths. |
listRecipes | List 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'sAGENTS.md) to teach it how to drive the game.
Related
- BindAlias mod — the Minecraft mod this server bridges to
- MCP Registry — registered as
io.github.Prohect/bind-alias-mcp
الأسئلة الشائعة
ما هو io.github.Prohect/bind-alias-mcp؟
MCP bridge for BindAlias Minecraft mod: game state, screenshots, aliases, and config editing.
كيف أثبّت io.github.Prohect/bind-alias-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add bind-alias-mcp -- npx -y bind-alias-mcp@2.2.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.Prohect/bind-alias-mcp إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.Prohect/bind-alias-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.Prohect/bind-alias-mcp؟
ينشره Prohect. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.