Skip to content
← All MCP servers

Is the Minecraft MCP server safe? What it can reach

What the Minecraft MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Community serverChecked

The most used Minecraft MCP server is a community project by yuniko-software. It runs locally and starts a Mineflayer bot that joins a game at the host and port you set. There is no sign-in. The bot can dig and place blocks, move, smelt and chat. Point it only at a LAN world you own, and expect it to act as a player.

Who maintains it

ImplementationKindStatus
minecraft-mcp-server (community, yuniko-software)Communityactive

It runs as a local process on your machine.

How it signs in

There is no sign-in. The server runs on your machine and joins the game at the --host and --port you give, under the --username you choose, with whatever rights that player has there.

What its tools can do

KindTools
Readget-position, list-inventory, find-item, get-block-info, find-blocks, find-entity, read-chat, detect-gamemode
Writemove-to-position, look-at, jump, move-in-direction, fly-to, equip-item, place-block, smelt-item
Can’t be undonedig-block, send-chat

The README says it supports Minecraft 1.21.11 and was tested on 1.21.8 Java Edition. dig-block removes blocks, which is not undone unless you restore a backup. send-chat posts messages other players can read.

Built-in limits

OptionWhat it does
--host and --portSet which game the bot joins. The README’s example uses localhost and port 25565 for a world opened to LAN.
--usernameSets the bot’s player name, such as ClaudeBot, so you can see and manage it.
Client tool approvalThe README says Claude Desktop asks for permission when the bot is triggered.

The risks

  • dig-block and place-block change the world, so an injected instruction could tear down or fill in a build, and only a backup undoes it.
  • send-chat posts as the bot on whatever server it joined, so on a shared server an agent could post messages to other players.
  • read-chat pulls other players’ chat into the agent’s context, which lets any player on the server try to steer the agent.
  • The documented npx command pulls the code straight from the GitHub repository, so the code you run changes whenever the project changes.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add minecraft -- npx -y github:yuniko-software/minecraft-mcp-server --host localhost --port 25565 --username ClaudeBot

Claude Code names MCP tools mcp__minecraft__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__minecraft__send-chat"
    ],
    "ask": [
      "mcp__minecraft__dig-block",
      "mcp__minecraft__place-block"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.minecraft]
command = "npx"
args = ["-y", "github:yuniko-software/minecraft-mcp-server", "--host", "localhost", "--port", "25565", "--username", "ClaudeBot"]
disabled_tools = ["send-chat"]

Checklist

  • Use a singleplayer world opened to LAN, and back it up first.
  • Don’t point --host at a public or shared server.
  • Pin a release instead of running the repository’s main branch.
  • Keep the bot’s --username obvious so you can spot it.
  • Deny send-chat unless you want the bot to talk.

Checked against the vendor documentation on November 25, 2026. yuniko-software/minecraft-mcp-server README · Mineflayer API

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing