drio
Open app

Minecraft MCP Server

Source

A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction

Catalog onlyCatalog onlySTDIO

Overview

Minecraft MCP Server is a bot that utilizes large language models and the Mineflayer API to control a Minecraft character in real-time, allowing users to interact with the game through natural language instructions.

To use the Minecraft MCP Server, you need to have Node.js installed, a running Minecraft game, and Claude Desktop. After setting up the MCP configuration, you can start the bot and give it commands through the Claude Desktop chat.

  • Real-time control of Minecraft characters using natural language. - Ability to build structures and explore the game world. - Commands for movement, inventory management, block interaction, and communication.
  1. Automating building tasks in Minecraft.
  2. Exploring Minecraft worlds using AI assistance.
  3. Interacting with game elements through voice or text commands.

Add to your AI client

Use these steps to connect Minecraft MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "minecraft-mcp-server-yuniko-software": {
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "minecraft-mcp-server-yuniko-software": {
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "minecraft-mcp-server-yuniko-software": {
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "minecraft-mcp-server-yuniko-software": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "minecraft-mcp-server-yuniko-software": {
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "minecraft-mcp-server-yuniko-software": {
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}

FAQ

What do I need to run the Minecraft MCP Server?

You need Node.js, a running Minecraft game, and Claude Desktop.

Can I give the bot commands in any language?

Currently, the bot is optimized for English commands.

Is there a limit to what the bot can do in Minecraft?

The bot can perform a variety of tasks, but its capabilities depend on the commands you provide.

Minecraft MCP Server — MCP Registry