Minecraft Remote MCP server

Enables AI-assisted remote control and manipulation of Minecraft servers through natural language commands, supporting complex navigation, world interaction, and gameplay automation tasks.
Back to servers
Setup instructions
Provider
nacal
Release date
Mar 17, 2025
Language
TypeScript
Package
Stats
305 downloads
8 stars

The MCP Minecraft Remote server enables AI assistants like Claude to connect to and control a Minecraft player on remote servers. This tool allows for navigation, building, inventory management, entity interaction, and communication with other players through a simple command interface.

Installation Options

Quick Install (Recommended)

You can quickly install Minecraft Remote Control for Claude Desktop using Smithery:

npx -y @smithery/cli install mcp-minecraft-remote --client claude

Follow the CLI prompts to complete the setup.

Manual Installation

If you prefer to install manually:

# Install from npm
npm install -g mcp-minecraft-remote

# Or clone the repository
git clone https://github.com/nacal/mcp-minecraft-remote.git
cd mcp-minecraft-remote

# Install dependencies
npm install

# Build the project
npm run build

Configuration

Setting Up Claude Desktop

  1. Navigate to the Claude Desktop configuration file:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add the Minecraft Remote MCP configuration:

{
  "mcpServers": {
    "minecraft-remote": {
      "command": "npx",
      "args": ["-y", "mcp-minecraft-remote@latest"]
    }
  }
}

If you've installed it globally:

{
  "mcpServers": {
    "minecraft-remote": {
      "command": "mcp-minecraft-remote"
    }
  }
}

If you've cloned the repository locally:

{
  "mcpServers": {
    "minecraft-remote": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-minecraft-remote/build/index.js"]
    }
  }
}
  1. Save the file and restart Claude Desktop

Server Requirements

  • The Minecraft server must have online-mode=false set in the server.properties file
  • Compatible with Minecraft Java Edition (version 1.8 or later)
  • Tested primarily with vanilla Minecraft 1.21

Using the Tool

Core Commands

  • Connect to a server:

    connectToServer: Connect to a Minecraft server with specified credentials
    
  • Disconnect:

    disconnectFromServer: Disconnect from the Minecraft server
    
  • Chat with players:

    sendChat: Send a chat message to the server
    
  • Server information:

    getServerInfo: Get information about the connected server
    

Movement Controls

  • Position:

    getPosition: Get current player position
    moveTo: Move to specific coordinates
    
  • Basic movement:

    moveControl: Basic movement controls (forward, back, left, right, jump, sprint, sneak, stop)
    lookAt: Make the player look in a specific direction or at coordinates
    

World Interaction

  • Mining and building:
    digBlock: Mine a block at specific coordinates
    placeBlock: Place a block at specific coordinates
    

Inventory Management

  • Check inventory:

    checkInventory: Basic inventory check
    inventoryDetails: Get detailed information about inventory items
    
  • Item handling:

    equipItem: Equip an item from inventory to hand or armor slot
    tossItem: Throw items from inventory
    

Entity Interaction

  • Nearby entities:

    getNearbyPlayers: Get list of nearby players
    getNearbyEntities: Get a list of all entities nearby
    
  • Entity actions:

    attackEntity: Attack a specific entity
    useOnEntity: Use held item on a specific entity
    followEntity: Follow a specific entity
    

Container Interaction

  • Using containers:
    openContainer: Open a container (chest, furnace, etc.) at specific coordinates
    withdrawItem: Take items from an open container
    depositItem: Put items into an open container
    closeContainer: Close the currently open container
    

Crafting and Trading

  • Crafting items:

    getRecipes: Get a list of available crafting recipes
    craftItem: Craft an item using available materials
    
  • Trading with villagers:

    listTrades: List available trades from a nearby villager
    tradeWithVillager: Trade with a nearby villager
    

Example Prompts

Basic Controls

  • "Connect to the Minecraft server at play.example.com with the username player1"
  • "What is my current position in the game?"
  • "Move me to coordinates x=100, y=64, z=-200"
  • "Make me walk forward for 3 seconds"
  • "Make me jump and sprint toward that mountain"

Inventory & Items

  • "Check what's in my inventory in detail"
  • "Equip my diamond sword to my hand"
  • "Throw 5 dirt blocks from my inventory"

Block Interaction

  • "Dig the block at coordinates x=10, y=65, z=20"
  • "Place a stone block at coordinates x=11, y=65, z=20"

Entity Interaction

  • "Are there any other players nearby?"
  • "What entities are within 20 blocks of me?"
  • "Attack the zombie with ID 12345"
  • "Follow the player named Steve"

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "minecraft-remote" '{"command":"npx","args":["-y","mcp-minecraft-remote@latest"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "minecraft-remote": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-minecraft-remote@latest"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "minecraft-remote": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-minecraft-remote@latest"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later