用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill connect-claude命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | connect-claude |
| description | >- Use when this capability is needed. |
This is the final phase of the Minecraft Bedrock MCP setup. It assumes
Phase 3 (setup-mcp-server) is done: the MCP server is running and its bridge
handshake with the world succeeded.
Before starting, get two things from the user:
/mcp URL — http://<host>:<port>/mcp, e.g.
http://localhost:8765/mcp. Use localhost only if Claude runs on the same
machine as the MCP server; otherwise use the host's LAN IP or hostname. If
the MCP server uses TLS, the scheme is https.BRIDGE_CLIENT_TOKEN — the first secret from Phase 3 (the client
token, not the agent token).Name the server
minecraft-bedrock. The builder agent and skills in this plugin expect MCP tools under that name (mcp__minecraft-bedrock__mc_*). Use exactlyminecraft-bedrockas the server name below.
Ask the user which Claude they're connecting: Claude Code (CLI / IDE extension) or Claude Desktop. Follow the matching section.
The MCP server speaks the Streamable HTTP transport, which Claude Code
supports natively. The simplest path is the claude mcp add command:
claude mcp add --transport http minecraft-bedrock "http://<host>:8765/mcp" \
--header "Authorization: Bearer <BRIDGE_CLIENT_TOKEN>"
Pick a scope with -s: local (default, this project only), project
(shared via a committed .mcp.json), or user (all projects on this
machine). For a personal setup, user is usually what the user wants:
-s user.
Do not commit the token. If the user wants project scope, write the
.mcp.json with the token pulled from an environment variable instead of
inlining it. This plugin ships .mcp.json.example in its repo root showing
that pattern:
{
"mcpServers": {
"minecraft-bedrock": {
"type": "http",
"url": "${MINECRAFT_MCP_URL:-http://localhost:8765/mcp}",
"headers": { "Authorization": "Bearer ${MINECRAFT_MCP_TOKEN}" }
}
}
}
With that, the user sets MINECRAFT_MCP_URL and MINECRAFT_MCP_TOKEN in their
environment and the committed file stays secret-free.
After adding it, the user restarts Claude Code (or reloads the window in the
IDE extension). Confirm the server shows up with claude mcp list or
/mcp — it should report minecraft-bedrock as connected.
Two options:
A — Native custom connector (preferred, if the user's Claude Desktop has
it). In Settings → Connectors, add a custom connector with the URL
http://<host>:8765/mcp and a header Authorization: Bearer <BRIDGE_CLIENT_TOKEN>.
B — Via the mcp-remote adapter. Edit Claude Desktop's config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd under mcpServers:
{
"mcpServers": {
"minecraft-bedrock": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://<host>:8765/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <BRIDGE_CLIENT_TOKEN>"
}
}
}
}
The token goes through the AUTH_HEADER env var so its space isn't mangled by
argument parsing. Then fully restart Claude Desktop — the mc_* tools
appear under the tools (🔌) menu once it reconnects.
A registered server isn't a working one — confirm with a live call:
mc_world_get_info (or mc_server_get_status). A successful
response — time, weather, dimensions — means the full chain is up: Claude →
MCP server → bridge → behavior pack → world.mc_world_send_message with a short greeting
and confirm the user sees it in the in-game chat.If a call fails:
secrets.json token).Once mc_world_get_info returns cleanly, the setup is complete:
minecraft-bedrock MCP server registered with Claude.mc_* tools visible.Tell the user they're done — all four phases are complete. Suggest next steps:
mc_* tools to plan and place blocks in the world.Source: chapmanjw/minecraft-bedrock-claude-plugin — distributed by TomeVault.