MCP Server Studio

Minecraft MCP server

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

Registry name: com.mairwunnx/minecraft-mcp

Publisher
mairwunnx.com
Runs
Runs locally
Package
npm
Version
5.1.0
Category
Cloud & DevOps
Updated
2026-11-24

Source code on GitHub

Set up Minecraft (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "minecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mairwunnx/minecraft-mcp@5.1.0"
      ],
      "env": {
        "WORLDAPI_URL": "<WORLDAPI_URL>",
        "WORLDAPI_TOKEN": "<WORLDAPI_TOKEN>",
        "WORLDAPI_PLAYER": "<WORLDAPI_PLAYER>",
        "WORLDAPI_LOCAL_DIR": "<WORLDAPI_LOCAL_DIR>",
        "WORLDAPI_READ_ONLY": "<WORLDAPI_READ_ONLY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add minecraft-mcp -e WORLDAPI_URL='<WORLDAPI_URL>' -e WORLDAPI_TOKEN='<WORLDAPI_TOKEN>' -e WORLDAPI_PLAYER='<WORLDAPI_PLAYER>' -e WORLDAPI_LOCAL_DIR='<WORLDAPI_LOCAL_DIR>' -e WORLDAPI_READ_ONLY='<WORLDAPI_READ_ONLY>' -- npx -y @mairwunnx/minecraft-mcp@5.1.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "minecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mairwunnx/minecraft-mcp@5.1.0"
      ],
      "env": {
        "WORLDAPI_URL": "<WORLDAPI_URL>",
        "WORLDAPI_TOKEN": "<WORLDAPI_TOKEN>",
        "WORLDAPI_PLAYER": "<WORLDAPI_PLAYER>",
        "WORLDAPI_LOCAL_DIR": "<WORLDAPI_LOCAL_DIR>",
        "WORLDAPI_READ_ONLY": "<WORLDAPI_READ_ONLY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "minecraft-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mairwunnx/minecraft-mcp@5.1.0"
      ],
      "env": {
        "WORLDAPI_URL": "<WORLDAPI_URL>",
        "WORLDAPI_TOKEN": "<WORLDAPI_TOKEN>",
        "WORLDAPI_PLAYER": "<WORLDAPI_PLAYER>",
        "WORLDAPI_LOCAL_DIR": "<WORLDAPI_LOCAL_DIR>",
        "WORLDAPI_READ_ONLY": "<WORLDAPI_READ_ONLY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "minecraft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mairwunnx/minecraft-mcp@5.1.0"
      ],
      "env": {
        "WORLDAPI_URL": "<WORLDAPI_URL>",
        "WORLDAPI_TOKEN": "<WORLDAPI_TOKEN>",
        "WORLDAPI_PLAYER": "<WORLDAPI_PLAYER>",
        "WORLDAPI_LOCAL_DIR": "<WORLDAPI_LOCAL_DIR>",
        "WORLDAPI_READ_ONLY": "<WORLDAPI_READ_ONLY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
WORLDAPI_URLNoWorldAPI 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_TOKENNoA 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_PLAYERNoYour 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_DIRNoWhere singleplayer worlds announce themselves, ~/.worldapi/local by default.
WORLDAPI_READ_ONLYNo1 hides every tool that changes the server

More cloud & devops MCP servers