Minecraft Command Execution MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MIDNIGHT_API_KEY | Yes | Your player's API key for the MasterControl API | |
| MIDNIGHT_API_URL | No | MasterControl API base URL | http://localhost:8080/api/v2 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_commandA | Execute a Minecraft command remotely as the authenticated player. This tool allows you to run any Minecraft command as if the player associated with the API key typed it in-game. The player must be online and on a server. The player will be notified in-game that a remote command is being executed. To get help for any command, simply append "help" as the last argument. For example: "island help", "island upgrade help", "gamemode help" Args: command: The Minecraft command to execute (without the leading slash). Examples: "gamemode creative", "tp 100 64 200", "island upgrade speed 5" Returns: The output from the command execution, or an error message if it failed. Examples: - execute_command("help") - Shows general help - execute_command("island help") - Shows island command help - execute_command("island upgrade help") - Shows island upgrade help - execute_command("gamemode survival") - Changes gamemode |
| tab_completeA | Get tab completion suggestions for a partial Minecraft command. This tool provides autocomplete suggestions for commands, just like pressing Tab in the Minecraft client. Useful for discovering available commands, subcommands, and valid arguments. Args: command_line: The partial command line to complete. Examples: "gamemode ", "island upgrade ", "give diamond" Returns: A formatted list of completion suggestions, or a message if none are available. Examples: - tab_complete("gamemode ") -> Lists: survival, creative, adventure, spectator - tab_complete("island ") -> Lists available island subcommands - tab_complete("give ") -> Lists available items |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mattlack15/midnightsky-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server