Minecraft Remote Control
STDIOControl Minecraft player remotely via AI assistant using MCP protocol.
Control Minecraft player remotely via AI assistant using MCP protocol.
This project is inspired by mcp-minecraft by arjunkmrm. While the original only supported local Minecraft server connections, this project was newly created from scratch to add support for connecting to remote Minecraft servers.
Minecraft Remote Control using MCP (Model Context Protocol).
To install Minecraft Remote Control for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @nacal/mcp-minecraft-remote --client claude
npx -y @smithery/cli install mcp-minecraft-remote --client claude
Follow the CLI prompts to complete the setup.
# 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
Navigate to Claude Desktop configuration file:
%APPDATA%\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
Add the Minecraft Remote MCP configuration to your configuration file:
{ "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"] } } }
online-mode=false
set in the server.properties file. This allows the bot to connect without authentication against Minecraft's session servers.connectToServer
: Connect to a Minecraft server with specified credentialsdisconnectFromServer
: Disconnect from the Minecraft serversendChat
: Send a chat message to the servergetServerInfo
: Get information about the connected servergetPosition
: Get current player positionmoveTo
: Move to specific coordinatesmoveControl
: Basic movement controls (forward, back, left, right, jump, sprint, sneak, stop)lookAt
: Make the player look in a specific direction or at coordinatesdigBlock
: Mine a block at specific coordinatesplaceBlock
: Place a block at specific coordinatescheckInventory
: Basic inventory checkinventoryDetails
: Get detailed information about inventory itemsequipItem
: Equip an item from inventory to hand or armor slottossItem
: Throw items from inventorygetNearbyPlayers
: Get list of nearby playersgetNearbyEntities
: Get a list of all entities nearbyattackEntity
: Attack a specific entityuseOnEntity
: Use held item on a specific entityfollowEntity
: Follow a specific entityopenContainer
: Open a container (chest, furnace, etc.) at specific coordinateswithdrawItem
: Take items from an open containerdepositItem
: Put items into an open containercloseContainer
: Close the currently open containergetRecipes
: Get a list of available crafting recipescraftItem
: Craft an item using available materialslistTrades
: List available trades from a nearby villagertradeWithVillager
: Trade with a nearby villagerNote: This tool has been tested and verified to work specifically with vanilla Minecraft 1.21. While it may function with other versions or modded servers, compatibility is not guaranteed.
MIT