Minecraft MCP Server
MCP server by yuniko-software Verified · npm:minecraft-mcp-server
Minecraft MCP Server is a Minecraft bot that lets Claude and other supported models control a Minecraft character through the Model Context Protocol. It is built on the Mineflayer API and joins a singleplayer world opened to LAN. It suits users who want an AI assistant to act inside the game.
Install Minecraft MCP Server
Built from the published package, never by AI.
claude mcp add minecraft-mcp-server -- npx -y minecraft-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"minecraft-mcp-server": {
"args": [
"-y",
"minecraft-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Minecraft MCP Server in Claude Desktop
{
"mcpServers": {
"minecraft-mcp-server": {
"args": [
"-y",
"minecraft-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"minecraft-mcp-server": {
"args": [
"-y",
"minecraft-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add minecraft-mcp-server -- npx -y minecraft-mcp-server{
"mcpServers": {
"minecraft-mcp-server": {
"args": [
"-y",
"minecraft-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Minecraft MCP Server in Antigravity CLI
gemini mcp add minecraft-mcp-server npx -y minecraft-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the minecraft-mcp-server block.
About
Minecraft MCP Server is a Minecraft bot powered by large language models. It uses the Model Context Protocol to let Claude and other supported models control a Minecraft character. The bot is built on the Mineflayer API and gives the assistant tools for movement, flight, inventory, block placing and digging, smelting, entity search, and in-game chat.
The bot connects to a singleplayer world opened to LAN, using hostname localhost and port 25565 by default. Claude Desktop is the example MCP client, and the bot joins the game once the server starts. Users can give commands through any active chat and can upload images of buildings for the bot to build. The project currently targets Minecraft 1.21.11 and is intended for people who want an AI assistant to control a character in Minecraft.
Written from the project's README and checked against it.
Tools it gives your assistant
move-to-positionMove the bot to specific coordinates.fly-toMake the bot fly directly to specific coordinates.list-inventoryList all items in the bot's inventory.equip-itemEquip a specific item.place-blockPlace a block at specified coordinates.dig-blockDig a block at specified coordinates.find-blocksFind one or more nearby blocks of a specific type.smelt-itemSmelt items using a furnace-like block.send-chatSend a chat message in-game.read-chatGet recent chat messages from players.
What you need
- Git
- Node.js (>= 20.10.0)
- A running Minecraft Java Edition game
- An MCP-compatible client such as Claude Desktop
Try asking
- Move the bot to coordinates 100, 64, -200 in Minecraft.
- Ask the bot to list its inventory and equip an item.
- Tell the bot to find nearby blocks of a type and dig them.
Good to know
- Currently supports Minecraft version 1.21.11. Newer versions may not work.
- The world must be opened to LAN for the bot to connect.
- Claude Desktop can take some time to boot the MCP server.
- The prompt must mention doing something in Minecraft to trigger the server.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Minecraft MCP Server
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
Minecraft MCP Server: common questions
Which Minecraft version does it support?
The project currently supports Minecraft 1.21.11. The source says newer versions may not work, with support to be added as soon as possible.
Can the bot build structures from images?
Yes. The source says users can upload images of buildings and ask the bot to build them.
Which AI model works best with the bot?
The source says using Claude Sonnet could give interesting results, and that the bot-agent would be really smart with it.
How do I install Minecraft MCP Server?
In Claude Code run claude mcp add minecraft-mcp-server -- npx -y minecraft-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Minecraft MCP Server the official server?
Minecraft MCP Server is published by npm:minecraft-mcp-server from its verified domain in the official MCP Registry.
Is Minecraft MCP Server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Minecraft MCP Server safe to use?
It scores 70 of 100. Grades: maintenance D, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Minecraft MCP Server?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Minecraft MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
