Skip to main content
Glama

mcc-fleet

An MCP server that manages a fleet of Minecraft Console Client (MCC) instances and lets an MCP client (e.g. Claude) drive each bot individually.

MCC already ships an embedded MCP server, but each mcc process controls only one account. This wrapper:

  1. Spawns/stops multiple mcc processes — each with its own nick, working directory, and MCP HTTP port.

  2. Proxies the in-game tools of each MCC instance, addressed by nick.

Targets offline-mode servers (login by nick, no Microsoft auth) and MCC v26.1.

How it works

Claude -- stdio --> mcc-fleet (this wrapper) -- HTTP /mcp --> mcc (Bot1)
                                             -- HTTP /mcp --> mcc (Bot2)
                                             ...

Each bot's MCC config is rendered from mcc-template.ini (or MCC_TEMPLATE) into runtime/<nick>/MinecraftClient.ini (or under MCC_RUNTIME_DIR). MCC's embedded MCP endpoint only comes up after the bot joins the world, so spawn_bot polls it until ready.

Related MCP server: Renge Bot

Tools exposed to the client

Tool

Purpose

spawn_bot(nick, host?, port?, version?, wait?, timeout?)

Start a bot; by default wait until ready and return its tools

wait_bot(nick, timeout?)

Wait until a spawned bot is ready, return its tools

list_bots()

Status, MCP port, pid, uptime of all bots

list_bot_tools(nick)

Discover a bot's in-game tools

bot_call(nick, tool, arguments)

Invoke one of a bot's in-game tools

bot_console(nick, command)

Type one line into the bot's MCC console (works before it is ready)

bot_log(nick, lines?, strip_ansi?)

Tail the bot's MCC output

stop_bot(nick) / stop_all()

Disconnect/terminate bot(s)

Servers that gate the join

Login plugins (AuthMe-style /register / /login, or a register/login dialog) hold the bot before it reaches the world, so its in-game tools don't exist yet. Clear the gate by hand:

  1. spawn_bot("Bot1", wait=False) — returns right after launch.

  2. bot_log("Bot1") — see what the server asks for.

  3. bot_console("Bot1", "/register pass pass"), or for a dialog bot_console("Bot1", "/dialog input password pass") then bot_console("Bot1", "/dialog click 1"). One line per call.

  4. wait_bot("Bot1") — returns ready and the bot's tools.

Dependencies

Dependency

Why

Version

Python

Runs the wrapper

3.12+

uv

Installs Python deps and runs the server

any recent

Minecraft Console Client (mcc)

The bot client each instance wraps

v26.1

mcc is a self-contained native binary (no separate .NET runtime needed) and must be reachable on PATH as mcc, or pointed to via MCC_BINARY (see below).

Installation

  1. Install uv (skip if already installed):

    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Install Minecraft Console Client v26.1. Download the build for your platform from the releases page, then make it executable and put it on PATH as mcc:

    chmod +x MinecraftClient
    sudo mv MinecraftClient /usr/local/bin/mcc

    (If you'd rather not move it onto PATH, leave it where it is and set MCC_BINARY to its full path in the next step instead.)

  3. Clone this repo and install Python dependencies:

    git clone https://github.com/italoseara/mcc-fleet.git
    cd mcc-fleet
    uv sync
  4. Configure the target server (defaults: localhost:25565):

    export MCC_SERVER_HOST=play.example.net
    export MCC_SERVER_PORT=25565
    # optional:
    export MCC_BINARY=mcc            # path to the mcc executable, if not on PATH
    export MCC_BASE_MCP_PORT=33334   # first MCP port to allocate

    All settings:

    Variable

    Default

    Purpose

    MCC_SERVER_HOST

    localhost

    Default server host (spawn_bot can override)

    MCC_SERVER_PORT

    25565

    Default server port (spawn_bot can override)

    MCC_MC_VERSION

    auto

    Minecraft version MCC speaks; pin e.g. 1.21.4 if auto-detect fails (spawn_bot(version=...) overrides)

    MCC_BINARY

    mcc

    Path to the MCC executable

    MCC_BASE_MCP_PORT

    33334

    First local port handed to a bot's MCP endpoint

    MCC_TEMPLATE

    ./mcc-template.ini

    Per-bot ini template. Placeholders: __NICK__, __HOST__, __PORT__, __MCP_PORT__, __MC_VERSION__; keep the [ChatBot.McpServer] block

    MCC_RUNTIME_DIR

    ./runtime

    Where each bot's workdir, ini and mcc.log go

  5. Sanity check — the wrapper should start without errors:

    uv run mcc-fleet

    It should print a FastMCP startup banner and then sit waiting for MCP messages on stdio; Ctrl+C to exit. This confirms uv sync and the mcc binary are both set up correctly.

Register with Claude Code

claude mcp add mcc-fleet \
  -e MCC_SERVER_HOST=play.example.net -e MCC_SERVER_PORT=25565 \
  -- uv run --directory /path/to/mcc-fleet mcc-fleet

Then ask Claude to spawn_bot("Bot1"), bot_call("Bot1", ...), etc.

Notes

  • The server must be in offline-mode for nick-only login.

  • On shutdown the wrapper kills all child mcc processes (stop_all).

  • mcc-wrapper still works as the command name, for registrations made before the rename.

Available Tools

6 tools
bot_callC

Invoke one of a bot's in-game tools. tool/arguments come from list_bot_tools.

Inputs: nick (required), tool (required), arguments.

list_botsA

List all bots with their status, MCP port, pid and uptime.

Inputs: no named parameters. Returns: result

list_bot_toolsB

List the in-game tools a ready bot exposes (discovered from its MCC instance).

Inputs: nick (required). Returns: result

spawn_botA

Start a new MCC bot that joins the server under nick (offline mode).

Waits until the bot's in-game MCP endpoint is ready. Returns its status and the tools it exposes. host/port default to the configured target server.

Inputs: nick (required), host, port, timeout. Returns: object

stop_allA

Disconnect and terminate every running bot.

Inputs: no named parameters. Returns: object

stop_botC

Disconnect and terminate a bot's MCC process.

Inputs: nick (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: listing bots, listing their tools, spawning, stopping, and invoking tools. No ambiguity between tools.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern (e.g., spawn_bot, stop_bot, bot_call), using snake_case throughout.

    Tool Count5/5

    With 6 tools covering fleet management operations, the count is well within the ideal range and feels appropriately scoped for the domain.

    Completeness4/5

    The toolset covers essential lifecycle operations (spawn, list, stop, call) but lacks a dedicated tool for inspecting a single bot's detailed status or logs, which is a minor gap.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Wraps the Claude Agent SDK as MCP servers, letting you spawn multiple specialized Claude Code agents — each with its own model, tools, system prompt, and personality — from any MCP client.
      5
      23
      ISC
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables controlling a semi-autonomous Minecraft bot via MCP, supporting tasks like movement, combat, farming, and chatting.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that lets Claude control a Minecraft bot with 40+ actions including movement, combat, crafting, and inventory management. Built on Mineflayer, it supports Microsoft authentication, pathfinding, and auto-reconnect.
      3
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables controlling a real Minecraft Bedrock client by injecting input and reading frames through the launcher's agent socket, including launching, stopping, screenshotting, sending chat, and managing multiple bot instances.
      6
      -