/ Каталог / Песочница / minecraft-mcp-server
● Сообщество yuniko-software ⚡ Сразу

minecraft-mcp-server

автор yuniko-software · yuniko-software/minecraft-mcp-server

Control a Minecraft bot with Claude — build structures, explore worlds, manage inventory, and interact in real-time via natural language.

minecraft-mcp-server uses the Mineflayer API to let AI assistants control a Minecraft character in real-time. Claude can navigate, build structures, manage inventory, interact with blocks and entities, smelt items, and communicate in chat. Supports Minecraft 1.21.11, connects via LAN to your singleplayer world, and works with Claude Desktop.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

minecraft-mcp-server-2.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "minecraft-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/yuniko-software/minecraft-mcp-server"
      ]
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "minecraft-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/yuniko-software/minecraft-mcp-server"
      ]
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "minecraft-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/yuniko-software/minecraft-mcp-server"
      ]
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "minecraft-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/yuniko-software/minecraft-mcp-server"
      ]
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "minecraft-mcp-server-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/yuniko-software/minecraft-mcp-server"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "minecraft-mcp-server-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/yuniko-software/minecraft-mcp-server"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add minecraft-mcp-server-2 -- TODO 'See README: https://github.com/yuniko-software/minecraft-mcp-server'

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: minecraft-mcp-server

How to build a Minecraft structure with AI assistance

👤 Minecraft players who want AI help with building ⏱ ~15 min beginner

Когда использовать: You want to build something complex in Minecraft without placing every block manually.

Предварительные требования
  • Minecraft Java Edition 1.21.11 — Create a singleplayer world and Open to LAN
  • minecraft-mcp-server configured — Add to Claude Desktop config with host, port, and username
Поток
  1. Describe the build
    Build a 10x10 stone house with oak wood corners, glass windows on each wall, an oak door, and a flat stone roof. Start at my current position.✓ Скопировано
    → Bot begins placing blocks systematically, reporting progress
  2. Modify the build
    Add a second floor with the same layout and a staircase connecting them.✓ Скопировано
    → Second floor built with stairs

Итог: A complete structure built in Minecraft via natural language instructions.

Подводные камни
  • Bot doesn't have required blocks in inventory — Ensure the bot has materials or switch to Creative mode for unlimited blocks

Send an AI bot to explore and gather resources in Minecraft

👤 Minecraft players who want automated resource gathering ⏱ ~20 min beginner

Когда использовать: You need resources but don't want to grind for them.

Предварительные требования
  • Minecraft world open to LAN with bot connected — Configure and launch
Поток
  1. Explore surroundings
    Look around and tell me what biome we're in. Find the nearest cave entrance.✓ Скопировано
    → Biome info and cave location
  2. Gather resources
    Go to the cave and mine all iron ore you can find. Come back and smelt it into iron ingots.✓ Скопировано
    → Mining progress updates and smelting confirmation

Итог: Resources gathered and processed automatically.

Подводные камни
  • Bot gets stuck on complex terrain — Use fly-to for navigation over rough terrain

Комбинации

Сочетайте с другими MCP — эффект x10

minecraft-mcp-server-2 + filesystem

Save build plans as files and load them for construction

Save this house blueprint to a file so we can build it again in another world.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
get-position none Get the bot's current position 0
move-to-position x: int, y: int, z: int Navigate to a specific position 0
place-block x: int, y: int, z: int, block_name: str Place a block at a position 0
dig-block x: int, y: int, z: int Mine/dig a block 0
list-inventory none List items in the bot's inventory 0
find-blocks block_name: str, range?: int Find nearby blocks of a type 0
send-chat message: str Send a message in game chat 0

Стоимость и лимиты

Во что обходится

Квота API
N/A — connects directly to Minecraft LAN
Токенов на вызов
100–500 tokens per action
Деньги
Free MCP server — requires Minecraft Java Edition ($26.95)
Совет
Give high-level instructions ('build a house') rather than individual block placements to reduce calls.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: N/A — connects to LAN game
Исходящий трафик: Connects to your local Minecraft LAN server only

Устранение неполадок

Частые ошибки и исправления

Bot can't connect to server

Ensure you opened the world to LAN (ESC → Open to LAN) and the port in your config matches the LAN port shown in chat.

Проверить: Check the Minecraft chat for 'Local game hosted on port XXXXX'
Bot disconnected

The Minecraft server may have kicked the bot for inactivity or invalid actions. Restart Claude Desktop to reconnect.

Проверить: Check Minecraft chat for kick messages
Can't place blocks — invalid position

The bot may be too far from the target position. Move closer first with move-to-position.

Проверить: Check bot position relative to target

Альтернативы

minecraft-mcp-server в сравнении

АльтернативаКогда использоватьКомпромисс
Roblox Studio MCPYou want AI-assisted game development in Roblox instead of MinecraftDifferent platform and audience

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills