Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI โ†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
  • Remote MCP โ†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) โ†— (opens in a new tab)
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐ŸŽฎ Gaming
  3. Awesome Mineflayer MCP
A
Health: ActiveRecent health check succeeded.Last checked 8/11/2026, 12:00:21 AM

Awesome Mineflayer MCP

Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).Visit Website

Control a Mineflayer Minecraft bot with 120+ MCP tools: move, mine, craft, fight, build, and see.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "awesome-mineflayer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "awesome-mineflayer-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Tool Schemas (80) Directory Badge Claim listing Alternatives๐ŸŽฎ More in Gaming

Capabilities & Tool Schemas (80) ~268 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Awesome Mineflayer MCP.

connect_bot

Callable MCP tool function

connect_default

Callable MCP tool function

disconnect_bot

Callable MCP tool function

reconnect_bot

Callable MCP tool function

respawn

Callable MCP tool function

get_connection_status

Callable MCP tool function

Documentation Overview

awesome-mineflayer-mcp

npm version node license: MIT

A production-ready Model Context Protocol server that gives an LLM agent standalone-equivalent control over a Mineflayer Minecraft bot โ€” movement, mining, crafting, inventory, combat, containers, chat, and much more โ€” exposed as 123 strongly-typed tools across 26 groups, plus guided prompts, vision (real first-person screenshots + schematic maps), persistent waypoints, build/dig macros, and dual (poll + push) event streaming, with full bot lifecycle management. Tool results carry both human-readable text and machine-readable structuredContent.

Backed by the Mineflayer ecosystem: mineflayer-pathfinder (A* navigation), mineflayer-pvp (combat), mineflayer-collectblock (gathering), mineflayer-tool (auto tool-select), mineflayer-auto-eat, and mineflayer-armor-manager.


Requirements

  • Node.js โ‰ฅ 20 (developed on 22.16)
  • A Minecraft server to connect to (Java Edition). The bot auto-detects the server version. Don't have one? See Get a server to test against.
  • For online-mode servers: a Microsoft account (auth: "microsoft").

Supported versions

Supported
Minecraft (Java)the range supported by the bundled mineflayer 4.37 / minecraft-data (roughly 1.8 โ†’ 1.21.x); version is auto-detected, or pass version explicitly
Node.js20, 22 (LTS)

A few tools only work on newer versions/features (e.g. elytra_fly, chat signing). On a version mismatch the bot is kicked with an outdated client/server message โ€” pass an explicit version.

Installation

Run it on demand with npx (no install needed):

Terminal
npx awesome-mineflayer-mcp

โ€ฆor install it globally:

Terminal
npm install -g awesome-mineflayer-mcp
awesome-mineflayer-mcp

The server speaks MCP over stdio, so it is normally launched by your MCP client rather than run by hand.

Use with an MCP client

Add it to your client's MCP server configuration. The recommended form uses npx so you always get the latest published build:

Claude Desktop (claude_desktop_config.json), Claude Code, Cursor, or any stdio MCP client:

config.json
{
  "mcpServers": {
    "mineflayer": {
      "command": "npx",
      "args": ["-y", "awesome-mineflayer-mcp"],
      "env": {
        "MCP_DISABLE_GROUPS": ""
      }
    }
  }
}

If you installed it globally, use "command": "awesome-mineflayer-mcp" with "args": [] instead.

Get a Minecraft server to test against

If you don't already have a server, spin up a throwaway offline-mode one with Docker (no account needed):

bash
# from a clone of this repo:
docker compose up -d        # offline 1.20.4 server on localhost:25565
docker compose logs -f      # wait for "Done (โ€ฆ)! For help, type "help""

โ€ฆor a one-liner without the repo:

Terminal
docker run -d --name mc -p 25565:25565 -e EULA=TRUE -e ONLINE_MODE=FALSE -e VERSION=1.20.4 itzg/minecraft-server

Then connect: connect_bot { host: "localhost", username: "DevBot", auth: "offline" }. Tear it down with docker compose down -v (or docker rm -f mc). Don't expose an offline-mode server to the public internet.

Autonomous operation (default account)

For hands-off use, configure a default account so the bot connects automatically on startup โ€” no connect_bot call required. Run the interactive setup:

Terminal
npx awesome-mineflayer-mcp setup

It asks for the server host/port, an offline or Microsoft account, and whether to auto-connect on startup, then writes ~/.awesome-mineflayer-mcp/config.json (no password is stored). For a Microsoft account it runs the device-code sign-in once and caches the token under profilesFolder, so later startups need no prompt.

On startup the server auto-connects the configured account (verify with get_connection_status). The agent can also call connect_default to (re)connect it or get_default_account to inspect it.

Configure without the wizard (env vars)

You can set the default account entirely from your MCP client config โ€” handy for headless deploys. Environment variables override the config file:

config.json
{
  "mcpServers": {
    "mineflayer": {
      "command": "npx",
      "args": ["-y", "awesome-mineflayer-mcp"],
      "env": {
        "MCP_DEFAULT_HOST": "play.example.net",
        "MCP_DEFAULT_USERNAME": "MyBot",
        "MCP_DEFAULT_AUTH": "offline",
        "MCP_AUTO_CONNECT": "true"
      }
    }
  }
}

For Microsoft auth in a headless setup, run setup once locally first (or point MCP_PROFILES_FOLDER at a directory with a pre-cached token).

Configuration (environment variables)

VariableDefaultPurpose
MCP_DISABLE_GROUPS(none)Comma-separated tool-group keys to disable (see catalog). Trim the surface for clients that struggle with a large tool list.
MCP_CHARACTER_LIMIT25000Max characters returned by any single tool call (truncated with a marker).
MCP_EVENT_BUFFER1000Size of the in-memory event ring buffer.
MCP_THROTTLE_MS250Minimum spacing between pushed resource-update / log notifications.
MCP_PROXIMITY_RADIUS32Radius (blocks) for proximity-filtered events (entity spawns, sounds).
MCP_ACTION_TIMEOUT_MS60000Default timeout for long actions when the caller omits one.
MCP_DEFAULT_HOST / MCP_DEFAULT_PORTโ€”Default server to auto-connect on startup.
MCP_DEFAULT_USERNAMEโ€”Default account name (offline) or email (microsoft).
MCP_DEFAULT_AUTHofflineDefault auth mode: offline or microsoft.
MCP_DEFAULT_VERSIONautoForce a protocol version for the default account.
MCP_DEFAULT_AUTO_RECONNECTtrueAuto-reconnect the default account on disconnect.
MCP_AUTO_CONNECTtrueโ€ Auto-connect the default on startup (โ€  when a default is configured).
MCP_PROFILES_FOLDER<home>/profilesMicrosoft auth token-cache directory.
AWESOME_MINEFLAYER_MCP_HOME~/.awesome-mineflayer-mcpConfig + token-cache directory.
MCP_READ_ONLYfalseObserve-only mode: register only read-only tools (+ lifecycle). See Safety.
MCP_COMMAND_DENY(admin verbs)Slash commands run_command blocks. Setting it replaces the default; set empty to allow all.
MCP_COMMAND_ALLOW(none)If set, a strict allow-list: only these commands run (deny list ignored).
MCP_ALLOWED_HOSTS(any)Comma-separated allow-list of hosts the bot may connect to.
MCP_CHAT_MIN_INTERVAL_MS0Minimum spacing between outbound chat/whisper/command sends (anti-spam).
MCP_ENABLE_RAWfalseEnable the advanced/unsafe raw protocol tool group (direct packet send/subscribe).
MCP_SCREENSHOT_WIDTH / _HEIGHT800 / 450Default get_screenshot image size (px).
MCP_SCREENSHOT_LOAD_MS2500How long to let the world render before capturing a screenshot.
MCP_VIEW_DISTANCE4Chunk render distance for screenshots.
MCP_SCREENSHOT_BROWSER_CHANNEL(auto)Browser channel for screenshots (chrome, msedge, chromium).
MCP_SCREENSHOT_EXECUTABLE_PATH(none)Explicit browser executable path for screenshots (overrides channel).

Example โ€” disable rarely-used groups:

Code
MCP_DISABLE_GROUPS=creative,villager,enchanting,settings

Quick start (tool flow)

  1. connect_bot { host, username, auth } โ€” connect (resolves once the bot spawns). Skip this if you configured a default account โ€” the bot auto-connects on startup; just check get_connection_status.
  2. Act: goto, dig, collect_block, craft_item, pvp_attack, chat, โ€ฆ
  3. Observe: call get_observation for a one-shot snapshot (vitals, position, inventory, nearby entities, new events) โ€” pass the returned events.nextSince back each tick. Or compose get_state / get_inventory / list_entities / get_events, or subscribe to the bot://* resources.
  4. disconnect_bot when done.

New to the server? Use the getting_started prompt (see Prompts) for an in-context walkthrough.

Block / item / entity arguments accept human names ("iron_ore", "diamond_pickaxe", "zombie"); unknown names return fuzzy suggestions.

Authentication

  • auth: "offline" (default) โ€” offline-mode servers; username is the in-game name.
  • auth: "microsoft" โ€” username is the account email. A device-code prompt is emitted as an msa_code event / log notification. Set profilesFolder to cache the token so subsequent runs skip the prompt, or pass a cached accessToken. Tip: run npx awesome-mineflayer-mcp setup once to do the device-code sign-in and cache the token, then the server connects autonomously (see Autonomous operation).

Tool catalog (123 tools, 26 groups)

Full generated reference (every tool, prompt, resource): docs/TOOLS.md.

Group keys (for MCP_DISABLE_GROUPS) are shown in brackets.

  • Lifecycle [lifecycle] โ€” connect_bot, connect_default, disconnect_bot, reconnect_bot, respawn, get_connection_status, get_default_account
  • State & inspection [state] (read-only) โ€” get_observation (one-call snapshot for an agent's observe loop), get_state, get_inventory, list_players, list_entities, find_nearest_entity, get_entity_details, get_scoreboards, get_teams, get_boss_bars, get_control_states, get_chat_patterns, support_feature, pathfinder_status, get_settings, get_physics, get_loaded_plugins
  • World queries [world] (read-only) โ€” get_block_at, find_blocks, get_cursor_target, get_blocks_in_region, wait_for_chunks_to_load
  • Movement & pathfinding [movement] โ€” goto, set_goal, flee_from, follow_entity, stop_pathfinding, get_path_to, configure_movements, configure_pathfinder, set_control_state, clear_control_states, elytra_fly, wait_for_ticks, set_physics_enabled
  • Look [look] โ€” look_at, look, look_at_entity
  • Digging & building [digging] โ€” dig, place_block, activate_block, activate_entity, swing_arm
  • Combat [combat] โ€” pvp_attack, attack_entity, pvp_stop, pvp_configure
  • Inventory & items [inventory] โ€” equip_item, unequip_item, toss_item, set_quickbar_slot, consume, activate_item, click_window, move_slot_item, transfer_items
  • Containers [containers] โ€” open_container, read_open_container, container_deposit, container_withdraw, close_window
  • Furnace / smelting [furnace] โ€” open_furnace, furnace_action, furnace_status, smelt_item
  • Enchanting & anvil [enchanting] โ€” enchant_item, anvil_combine
  • Villager trading [villager] โ€” open_villager, trade_with_villager
  • Crafting [crafting] โ€” list_recipes, craft_item
  • Block gathering [gathering] โ€” collect_block, cancel_collect, set_collect_config
  • Tool auto-select [tool] โ€” equip_tool_for_block, set_tool_chest_locations, get_best_tool
  • Survival automation [survival] โ€” autoeat_set_enabled, autoeat_configure, autoeat_eat, autoeat_cancel, autoeat_preview, armor_equip_all
  • Beds & sleep [beds] โ€” sleep, wake
  • Vehicles [vehicles] โ€” mount_entity, dismount, steer_vehicle
  • Fishing, books & signs [fishing] โ€” fish, cancel_fish, write_book, update_sign
  • Chat & communication [chat] โ€” chat, whisper, run_command, tab_complete, register_chat_pattern, remove_chat_pattern, wait_for_message
  • Settings [settings] โ€” set_settings
  • Creative mode [creative] โ€” creative_set_inventory_slot, creative_clear_inventory, creative_fly, creative_fly_to
  • Vision [vision] โ€” get_screenshot (real first-person textured game render), render_map (dependency-free schematic map) โ€” see Vision
  • Waypoints [waypoints] โ€” set_waypoint, list_waypoints, delete_waypoint, goto_waypoint (persisted across restarts)
  • Build & dig macros [build] โ€” clear_region, dig_tunnel, dig_staircase, fill_region (cancellable, multi-block)
  • Events & telemetry [events] โ€” get_events, cancel_task
  • Raw protocol [raw] โ€” send_packet, subscribe_packet, list_packet_subscriptions (advanced/unsafe; off unless MCP_ENABLE_RAW=true)

Long-running actions (goto, dig, collect_block, pvp_attack, fish, smelt_item, craft_item) are mutually exclusive and cancellable โ€” start a new movement/combat action to supersede the prior one, or call stop_pathfinding / pvp_stop / cancel_collect / cancel_fish / cancel_task.

Prompts

The server exposes guided, parameterized workflows as MCP prompts โ€” clients surface them as slash-commands / templates. They teach an agent how to chain the right tools for a goal:

  • getting_started โ€” orientation: connect โ†’ observe โ†’ act โ†’ recover.
  • gather_wood { count?, logType? } โ€” find trees and collect logs.
  • mine_to_diamonds { targetY? } โ€” descend safely and branch-mine.
  • build_shelter { material? } โ€” enclose a safe space before nightfall.
  • find_and_smelt { input, fuel? } โ€” mine/gather an input and smelt it.
  • follow_and_defend { player } โ€” follow a player and fight off hostiles.

Block/item arguments offer name autocompletion drawn from the connected world.

Vision โ€” let the agent see

Two complementary tools return PNG images as MCP image content, so a vision-capable model (and a human) can look at the world instead of reconstructing it from JSON.

get_screenshot โ€” a real game render

Captures an actual textured Minecraft render of what the bot sees โ€” first-person from its eyes (default) or a third-person orbit โ€” exactly like an in-game screenshot. Under the hood, prismarine-viewer renders the real world (client-side WebGL) and a headless browser screenshots it. Args: width, height, firstPerson, waitMs, viewDistance.

Setup (one-time). The renderer deps ship as optional packages (installed by default with npm install). All you also need is a browser:

  • Already have Google Chrome or Microsoft Edge? Nothing to do โ€” it's used automatically.
  • Otherwise run npx playwright install chromium once.
  • Headless servers: install Chrome/Chromium, or set MCP_SCREENSHOT_EXECUTABLE_PATH / MCP_SCREENSHOT_BROWSER_CHANNEL.

If the deps/browser aren't available, get_screenshot returns a clear UNSUPPORTED error with these steps โ€” the rest of the server is unaffected. The renderer packages are pure-JS (no native build), but if you want the leanest possible install and don't need screenshots, use npm install --omit=optional.

render_map โ€” a dependency-free schematic

A lightweight colored top-down map (or mode:"slice" cross-section) drawn from block data with a built-in PNG encoder (no extra deps at all). Good as a minimap/overview or when the screenshot extras aren't installed. North (โˆ’Z) is up; bot = white dot with a facing tick; players cyan, hostiles red, passives yellow, items grey; includes a block legend.

Safety & guardrails

Sensible defaults that matter once an agent drives the bot autonomously (especially with a default account):

  • Command policy. run_command blocks server-administration verbs by default (op, deop, ban, kick, stop, whitelist, and the execute/function/schedule wrappers, โ€ฆ). Ordinary gameplay commands (/tp, /time, /give, โ€ฆ) are allowed. Override with MCP_COMMAND_DENY (replaces the default; empty = allow all) or lock down with MCP_COMMAND_ALLOW (strict allow-list). This is best-effort defense-in-depth, not a hard boundary โ€” it gates on the first command verb, and a bot with operator permissions could still find a way around it. For untrusted/autonomous deployments, prefer MCP_COMMAND_ALLOW, MCP_READ_ONLY, and not granting the bot's account operator rights. Note: incoming player chat is delivered to your agent as events โ€” treat it as untrusted input.
  • Host allow-list. MCP_ALLOWED_HOSTS restricts which servers connect_bot / reconnect_bot may join, so an agent can't repoint the bot (and its cached token) at an arbitrary address.
  • Read-only mode. MCP_READ_ONLY=true registers only observation tools (plus connection management) โ€” look-but-don't-touch.
  • Rate limiting. MCP_CHAT_MIN_INTERVAL_MS spaces outbound chat/commands to avoid spam-kicks.
  • No secret leakage. Passwords / access tokens are never stored on disk and are redacted from connection-error messages.

Resources

Subscribe-capable JSON resources for clients that support resource subscriptions:

  • bot://state โ€” live self snapshot (position, vitals, gamemode, time, weather, held item, control states)
  • bot://inventory โ€” items, armor, off-hand, held slot
  • world://entities โ€” up to 50 nearest tracked entities
  • world://players โ€” server roster
  • bot://events โ€” tail of recent events
  • bot://waypoints โ€” saved named waypoints

Plus parameterized resource templates for on-demand lookups: block://{x}/{y}/{z} and entity://{id}.

Events

Game events are delivered two ways:

  • Pull: get_events({ since, types, limit }) drains a ring buffer; pass the returned nextSince to read only new events. dropped: true signals the buffer overflowed since your since.
  • Push: subscribed resources emit throttled notifications/resources/updated; notable lines (chat, death, kick, error, msa_code) are forwarded via sendLoggingMessage.

High-frequency observations (movement, per-tick updates, block/entity updates, time) are intentionally not buffered โ€” read them on demand via get_state and the read-only tools.

Development (from source)

bash
git clone https://github.com/G0Osey99/awesome-mineflayer-mcp.git
cd awesome-mineflayer-mcp
npm install
npm run build       # tsc -> dist/
npm run typecheck   # tsc --noEmit
npm test            # vitest (unit tests for the pure logic)
npm run dev         # tsx src/index.ts (run from source, no build step)

Architecture and the full design rationale: docs/superpowers/specs/2026-06-28-mineflayer-mcp-server-design.md.

Code
src/
  index.ts        entry (stdio transport, graceful shutdown, crash guards)
  server.ts       builds the McpServer, registers tool groups + resources + prompts
  config.ts       env + constants + safety policy (groups, read-only, command/host allow-lists)
  bot/            manager (lifecycle FSM), plugins, events, wire-events, state, windows, action-locks
  tools/          one module per tool group (+ registry.ts)
  prompts/        guided multi-tool workflows
  resources/      MCP resources + push notifications
  util/           errors, format, result, resolve (nameโ†’id + fuzzy), serialize, async, redact
  schemas/        shared Zod fragments

See CONTRIBUTING.md for how to add a tool/group and run a local test server.

Publishing (maintainers)

Pushing a v* tag publishes to npm, GitHub Container Registry (Docker), the MCP Registry, and updates Smithery โ€” all via .github/workflows/ci.yml. npm version keeps package.json, src/config.ts, and server.json in sync.

Terminal
npm version minor        # bumps + syncs versions, commits, and tags
git push --follow-tags   # triggers the release jobs

Full one-time setup and the step-by-step release checklist are in RELEASE.md. The published npm package ships only dist/, README.md, LICENSE, and NOTICE (see the files field).

Troubleshooting

Connection failures now return a specific error code and suggestions (not an opaque INTERNAL). Common cases:

Symptom / errorLikely causeFix
CONNECT_REFUSED (ECONNREFUSED)Wrong host/port, or server not runningCheck host/port; confirm the server has finished starting (default port 25565).
CONNECT_REFUSED (ENOTFOUND)Hostname doesn't resolveDouble-check the server address.
ONLINE_MODE / "unverified username"Server is online-mode; bot used offline authUse auth: "microsoft", or set online-mode=false on the server.
VERSION_MISMATCH / "outdated client/server"Auto-detected version is wrongPass an explicit version (e.g. "1.20.4").
Chat rejected / "secure profile"Server requires signed chatConnect with disableChatSigning: true.
AUTH_FAILEDStale/invalid Microsoft tokenRe-run npx awesome-mineflayer-mcp setup, or clear the profilesFolder cache and sign in again.
FORBIDDEN on run_commandCommand blocked by policySee Safety โ€” adjust MCP_COMMAND_DENY / MCP_COMMAND_ALLOW.
FORBIDDEN on connect_botHost not in allow-listAdd it to MCP_ALLOWED_HOSTS (or unset to allow any).
NO_PATHPathfinder can't reach the goalMove closer, clear obstacles, or relax configure_movements.
Microsoft device-code promptFirst-time MSA sign-inVisit the URL from the msa_code event; set profilesFolder to cache it.

First-run sign-in for Microsoft auth is interactive once โ€” run npx awesome-mineflayer-mcp setup to do it and cache the token.

Docker

A Dockerfile is included for headless/autonomous deployments (configure a default account via MCP_DEFAULT_*):

Terminal
docker build -t awesome-mineflayer-mcp .

Mount a volume at /root/.awesome-mineflayer-mcp to persist the config and Microsoft token cache. (The server speaks MCP over stdio, so a container is most useful for autonomous default-account runs rather than for a client to spawn.)

Limitations

  • One bot per server process (single-session by design).
  • Evaluations require a seeded world. A live Minecraft world is not deterministic, so the evaluation set in eval/ targets a documented seeded fixture (see eval/fixture.md); it cannot be verified against an arbitrary live server.
  • cancel_fish is best-effort (Mineflayer exposes no first-class fishing abort).
  • Microsoft auth's first run needs an interactive device code (surfaced as an msa_code event); use profilesFolder to cache it.

License

MIT

Related MCP Servers

View all in Gaming View all alternatives
  • Unity MCP logoUnity MCP

    โƒฃ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - MCP Server for Unity Editor and for a game made with Unity

    ๐ŸŽฎ Gaming3 views
    Compare vs Unity MCP โ†’
  • Unreal Ai Connection logoUnreal Ai Connection

    Drive the Unreal Engine 5.7 editor from any MCP client over a local TCP socket โ€” 105 editor-automation tools (72 native C++ + 33 bridge-side). Native C++ plugin + thin Python bridge, 50ms round-trips. 498 tests, MIT.

    ๐ŸŽฎ Gaming4 views
    Compare vs Unreal Ai Connection โ†’
  • Mcp Unity logoMcp Unity

    โƒฃ ๐Ÿ  - MCP Server for Unity3d Game Engine integration for game development

    ๐ŸŽฎ Gaming1 views
    Compare vs Mcp Unity โ†’
  • Godot Mcp logoGodot Mcp

    A MCP server for interacting with the Godot game engine, providing tools for editing, running, debugging, and managing scenes in Godot projects.

    ๐ŸŽฎ Gaming5 views
    Compare vs Godot Mcp โ†’

Frequently Asked Questions about Awesome Mineflayer MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "awesome-mineflayer-mcp": { "command": "npx", "args": ["-y", "Awesome Mineflayer MCP"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAwesome Mineflayer MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/awesome-mineflayer-mcp?style=directory)](https://allmcps.com/mcp/awesome-mineflayer-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/awesome-mineflayer-mcp"><img src="https://allmcps.com/api/badge/awesome-mineflayer-mcp?style=directory" alt="Awesome Mineflayer MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐ŸŽฎGaming
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
5/5 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
Last commit1mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 29, 2026
51Quality signal: Good ยท 51/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity3/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge โ€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐ŸŽฎ Gaming โ†’Best MCP servers for Gaming โ†’Alternatives to Awesome Mineflayer MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code