Minecraft

v5.1.0
com.mairwunnx/minecraft-mcp Checked 1 day ago Published 8 days ago

Ask an AI about your Minecraft server and let it run it: players, worlds, configs, logs.

Values you need

VariableWhat it is
WORLDAPI_URLoptional WorldAPI base URL including /api/v1, such as http://localhost:8110/api/v1. Leave it out for the singleplayer world open on this machine with the WorldAPI mod.
WORLDAPI_TOKENoptional secret A WorldAPI token. Its permissions decide which tools the agent gets. Leave it empty for what anonymous clients may read. A singleplayer world brings its own token and never gets this one.
WORLDAPI_PLAYERoptional Your player name. “I”, “me”, and “my” mean this player, and tools that take a player use it when the agent leaves one out.
WORLDAPI_LOCAL_DIRoptional Where singleplayer worlds announce themselves, ~/.worldapi/local by default.
WORLDAPI_READ_ONLYoptional 1 hides every tool that changes the server

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add minecraft-mcp -- npx -y @mairwunnx/minecraft-mcp@5.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "minecraft-mcp": {
      "args": [
        "-y",
        "@mairwunnx/minecraft-mcp@5.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "minecraft-mcp": {
      "args": [
        "-y",
        "@mairwunnx/minecraft-mcp@5.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "minecraft-mcp": {
      "args": [
        "-y",
        "@mairwunnx/minecraft-mcp@5.1.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.minecraft-mcp]
command = "npx"
args = ["-y", "@mairwunnx/minecraft-mcp@5.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: setup_help, get_server_status, list_plugins, get_events, wait_for_event, search_commands, run_command, get_server_log, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json