Minecraft
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
What is Minecraft?
Minecraft is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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 envir...
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
This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Minecraft MCP Server powered by Mineflayer API. It allows
Use Cases
Maintainer
Works with
Installation
NPM
npx -y mcp-minecraftManual Installation
npx -y mcp-minecraftConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Minecraft
Minecraft MCP Server harnesses the Mineflayer API to let AI agents control Minecraft characters in real-time through natural language. Build structures, explore worlds, and automate game tasks with Claude or Cursor, with all game logic running locally on your machine.
Prerequisites
- Node.js 18+ installed
- An MCP client such as Claude Desktop or Cursor
- A running Minecraft server (Java Edition) or access to a Minecraft realm
Install Minecraft MCP Server
Install via npm.
npx -y mcp-minecraftConfigure server connection
Set the Minecraft server address and credentials. Check the repository README for required environment variables (e.g., MINECRAFT_HOST, MINECRAFT_PORT).
Add to your MCP client config
Register the server in claude_desktop_config.json.
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": ["-y", "mcp-minecraft"]
}
}
}Restart your MCP client
Reload Claude Desktop or Cursor.
Test game control
Ask Claude to perform a simple action like walking or placing a block.
Minecraft Examples
Client configuration example
Minecraft MCP configuration in claude_desktop_config.json.
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": ["-y", "mcp-minecraft"]
}
}
}Prompts to try
Control your Minecraft character through Claude.
Walk forward 10 blocks then build a small house
Explore this area and tell me what you see
Mine stone and create a defensive wallTroubleshooting Minecraft
Cannot connect to Minecraft server
Verify the server is running and accessible. Check that environment variables for server host/port are set correctly. Ensure the Minecraft account credentials are valid and the server allows the bot account to join.
Mineflayer commands fail or are slow
Check server performance and network latency. Review the repository README for known Mineflayer limitations and ensure your Minecraft server version is compatible.
Frequently Asked Questions about Minecraft
What is Minecraft?
Minecraft is a Model Context Protocol (MCP) server that 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 It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Minecraft?
Install via npm with the command: npx -y mcp-minecraft. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Minecraft?
Minecraft works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Minecraft free to use?
Yes, Minecraft is open source and available under the Apache 2.0 license. You can use it freely in both personal and commercial projects.
Minecraft Alternatives — Similar Browser Automation Servers
Looking for alternatives to Minecraft? Here are other popular browser automation servers you can use with Claude, Cursor, and VS Code.
UI TARS Desktop
★ 34.9k📇 🏠 - Browser automation capabilities using Puppeteer, both support local and remote browser connection.
Playwright
★ 32.8kA production-ready browser automation server that enables AI assistants to interact with web pages using tools for navigation, element interaction, and data extraction. It features a built-in Inspector UI and robust crash recovery for reliable automa
Chrome
★ 11.7kAn extension-based MCP server that enables AI assistants to control your browser, leveraging existing sessions and login states for automation and content analysis. It provides over 20 tools for semantic tab search, interactive element manipulation,
BB Browser
★ 5.4kYour browser is the API. CLI + MCP server for AI agents to control Chrome with your login state.
Mobile Next
★ 5.0kA Model Context Protocol server that enables scalable mobile automation through a platform-agnostic interface for iOS and Android devices, allowing agents and LLMs to interact with mobile applications using accessibility snapshots or coordinate-based
Playwriter
★ 3.5kChrome extension & CLI to let agents control your browser. Runs Playwright snippets in a stateful sandbox. Available as CLI or MCP
Browse More Browser Automation MCP Servers
Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Minecraft in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Minecraft?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.