Back to Home
yuniko-software icon

minecraft-mcp-server

Verified Safe

by yuniko-software

Overview

Enables large language models (LLMs) like Claude to control a Minecraft character as a bot through the Model Context Protocol (MCP), performing various in-game actions.

Installation

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

Security Notes

The server uses `mineflayer` for Minecraft interaction, which is a well-established library. Tool arguments are validated using `zod` schemas, preventing common injection vulnerabilities through the tool interface. `stdio-filter.ts` actively filters `stdout` to pass only structured JSON or log messages, reducing potential information leaks. No hardcoded secrets were found; configuration parameters (host, port, username) are passed via command-line arguments. The use of `cross-spawn` within dependencies is for internal process management, not arbitrary user command execution.

Similar Servers

Stats

Interest Score83
Security Score8
Cost ClassHigh
Avg Tokens800
Stars444
Forks38
Last Update2026-01-19

Tags

MinecraftBotLLMAI AgentMineflayer