Minecraft
v5.1.0Ask an AI about your Minecraft server and let it run it: players, worlds, configs, logs.
Values you need
| Variable | What it is | |
|---|---|---|
WORLDAPI_URL | optional | 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_TOKEN | optional 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_PLAYER | optional | 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_DIR | optional | Where singleplayer worlds announce themselves, ~/.worldapi/local by default. |
WORLDAPI_READ_ONLY | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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