# VitaminMCP [Health: Active]

**Category:** 🎮 Gaming  
**Repository:** https://github.com/Backas03/VitaminMCP-minecraft  
**GitHub Stars:** 5  
**npm Downloads (last month):** 845  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/vitaminmcp

## Description
Test Minecraft plugins end to end: drive a real Paper server and real protocol bots.

## Tools
Capabilities this server exposes over MCP:

- **session_start** — Connect to a running server; several sessions at once for proxied networks
- **session_reset** — Disconnect every bot, or close a session
- **server_info** — Implementation, version, TPS, online players, installed plugins
- **logs_query** — Search server logs by severity and regular expression
- **events_summary** — Count captured Bukkit events by type over a time window
- **events_query** — Read individual captured events, filtered by type and player
- **exceptions_recent** — Distinct exceptions with counts; full stack trace on demand
- **state_query** — Live server state — `player` (including permission checks), `block`, `inventory` (the only place a plugin GUI's contents exist), `plugin` (commands, permissions, live config)
- **command_exec** — Run a command as the console or as any player, permissions and all
- **wait_for** — Block until a condition holds — `ticks`, `block_is`, `block_is_not`, `event`, `player_online`, `player_offline`, `player_near`, `player_state`, `inventory_open`, `inventory_contains`, `log_matches
- **bot_spawn** — Connect an offline or Microsoft-authenticated Minecraft protocol client as a test player
- **bot_inspect** — Everything the bot's client was sent: chat, action bar, titles, boss bars, scoreboard, health, effects, open menu
- **bot_run_scenario** — Run a whole scripted test in one call; a failure reports the failing step and what the server was doing at that moment
- **bot_view** — Live localhost viewer for one bot — the world, or the menu it has open

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "vitaminmcp": {
    "command": "npx",
    "args": ["-y","vitaminmcp"]
  }
}
```

## Documentation

## What VitaminMCP does

VitaminMCP adds an MCP endpoint to a running Paper or Purpur Minecraft server through a plugin. An AI client can then operate the server and inspect its behavior while the plugin under test continues through its normal lifecycle. Testing does not require changes to the plugin source, adoption of a test framework, or a mock server, and installed plugins can be tested even when you did not write them.

Real protocol clients act as test players. They can join, move, chat, use blocks and entities, interact with menus, and perform commands with player permissions. The server-side tools expose operational evidence such as Bukkit events, log entries, exceptions, permissions, plugin configuration, inventories, and player state.

## How it works

Install the VitaminMCP plugin in the server's `plugins/` directory and start the server. The MCP client runs locally and connects through the server endpoint. `session_start` establishes a connection to a running server; separate sessions can be used for multiple backends in a proxied network. `bot_spawn` then connects an offline or Microsoft-authenticated client as a test player.

Tests can be performed one tool call at a time or assembled with `bot_run_scenario`. Scenario steps cover spawning and despawning, movement, looking, jumping, sneaking, sprinting, block and item actions, entity interaction, menu clicks, chat, commands, console commands, waits, and assertions. Wait conditions allow tests to pause for ticks, events, log matches, player state, inventory changes, or other server conditions instead of relying on fixed sleeps. Failed scenarios report the step that failed and the server activity at that point.

## Setup and configuration

1. Download `VitaminMCP.jar` from the latest GitHub release or Modrinth.
2. Place the jar in the server's `plugins/` directory and start the Paper or Purpur server.
3. Add the local stdio runner to the MCP client. For Claude Code, use:

   ```text
   claude mcp add vitaminmcp -- npx -y vitaminmcp
   ```

   For clients using JSON MCP configuration, add:

   ```json
   {
     "mcpServers": {
       "vitaminmcp": {
         "command": "npx",
         "args": ["-y", "vitaminmcp"]
       }
     }
   }
   ```

4. Ask the agent to run the `setup` prompt so it can find the running server, check the plugin, and connect.

The package is also listed in the official MCP registry as `io.github.Backas03/vitaminmcp`. Clients that start one stdio process per project can use a shared loopback service instead; on Windows, `npx -y vitaminmcp service install` installs and verifies that service.

## Tools and capabilities

- Manage connections with `session_start` and `session_reset`.
- Inspect implementation, version, TPS, players, and installed plugins with `server_info`.
- Search logs by severity or regular expression, summarize Bukkit events, inspect matching events, and review distinct recent exceptions with stack traces on demand.
- Query player permissions and state, blocks, inventories, plugin commands, permissions, and live configuration through `state_query`.
- Execute commands as the console or a player with `command_exec`.
- Spawn bots, inspect client-visible chat, action bars, titles, boss bars, scoreboards, health, effects, and open menus, or view one bot's world or open menu in a local viewer.
- Run scripted interactions and assertions with `bot_run_scenario`, including reachable-position, block, player, event, inventory, and message checks.

## Limitations and notes

Minecraft 1.21 through 1.21.11 and 26.1 through 26.1.2 are supported and live-tested on Windows, Linux, and macOS. Agent-facing logs, events, state, and commands are supported on 26.2 through 26.3, but bots are not supported there because the underlying mineflayer client stops at 26.1. Minecraft 1.18 through 1.20.6 is planned, and later releases require a compatibility run before support is added. Native and Node-based runners are published for Windows x64, Linux x64 and arm64, and macOS Intel and Apple Silicon.

_Full upstream README: https://allmcps.com/mcp/vitaminmcp/readme_

