Back to Home
Ver-zhzh icon

MCP-For-Minecraft-Server

Verified Safe

by Ver-zhzh

Overview

Enables AI assistants to interact with and manage Minecraft servers through a standardized interface.

Installation

Run Command
python -m smc

Environment Variables

  • MINECRAFT_LOG_LEVEL
  • MINECRAFT_LOG_FILE

Security Notes

The project demonstrates good security practices for its purpose. The Java plugin implements API key authentication and the `ConfigManager` auto-generates a strong, random API key if a default one is detected, which is excellent. It also defaults to binding the HTTP server to `127.0.0.1` (localhost) in `config.yml`, although the `README` example shows `0.0.0.0` which would be less secure if exposed publicly without firewalling. The `CommandExecutor` includes input validation (length check) and a configurable blacklist for critical commands like 'stop' and 'restart', mitigating some risks. However, if the API key for the Minecraft plugin is compromised, an attacker could execute arbitrary commands (not in the blacklist) with console (OP) permissions. This is an inherent risk of such a powerful tool and necessitates strict API key management and network security around the Minecraft server's HTTP API.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2025-11-25

Tags

AIMinecraftServer ManagementModel Context ProtocolAPI