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.
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.
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
Navigate to the 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:
{
"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 fileConnect 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
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
digBlock: Mine a block at specific coordinates
placeBlock: Place a block at specific coordinates
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
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
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 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
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.
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.
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"
]
}
}
}
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.
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.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.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