mc-rcon-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mc-rcon-mcp list online players on my Minecraft server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mc-rcon-mcp
Minecraft RCON MCP Server for OpenCode
Features
Execute Minecraft commands via RCON
List online players
Get server info (TPS, version)
Whitelist management
Operator management
Related MCP server: MCSManager MCP Server
Setup
Clone and install dependencies:
npm install
npm run buildConfigure your Minecraft server RCON:
# server.properties
rcon.port=25575
rcon.password=your_password
enable-rcon=trueAdd to OpenCode config (
~/.config/opencode/opencode.json):
{
"mcp": {
"mc-rcon": {
"type": "local",
"command": ["node", "/path/to/mc-rcon-mcp/dist/index.js"],
"enabled": true,
"environment": {
"MC_RCON_HOST": "127.0.0.1",
"MC_RCON_PORT": "25575",
"MC_RCON_PASSWORD": "your_password"
}
}
}
}Available Tools
Tool | Description |
| Execute a Minecraft command |
| List online players |
| Get server TPS and version |
| Add player to whitelist |
| Remove player from whitelist |
| Give player operator status |
| Remove player operator status |
| Check RCON connection status |
Usage
list server players use mc-rconor
execute command "give @p diamond 1" use mc-rconAvailable Tools
9 toolsmc_check_connectionA
Check RCON connection status
Inputs: no named parameters.
mc_deopA
Remove operator status from a player
Inputs: player (required).
mc_execute_as_opA
Execute a command as an online operator. Automatically selects an online op if only one exists, otherwise requires specifying which op to use.
Inputs: command (required), op.
mc_execute_commandC
Execute a Minecraft command on the server via RCON
Inputs: command (required).
mc_get_server_infoA
Get server information (TPS, version)
Inputs: no named parameters.
mc_list_playersA
List all online players on the server
Inputs: no named parameters.
mc_opA
Give a player operator status
Inputs: player (required).
mc_whitelist_addA
Add a player to the server whitelist
Inputs: player (required).
mc_whitelist_removeA
Remove a player from the server whitelist
Inputs: player (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools have clearly distinct purposes (execute, list players, get info, whitelist, op, connection check). The only potential confusion is between mc_execute_command and mc_execute_as_op, but the descriptions clarify the difference, making misselection unlikely.
All tools share the 'mc_' prefix and mostly follow a verb_noun pattern (e.g., mc_list_players, mc_whitelist_add). A few names like mc_op and mc_deop are shorthand rather than verb_noun, and mc_execute_as_op includes a preposition, creating minor inconsistencies but the pattern is still readable and predictable.
With 9 tools, the server covers RCON command execution and common admin operations without being bloated. Each tool serves a clear management function, and the number is well within the ideal range for a focused server.
The tool set covers essential RCON features: command execution, player listing, server info, whitelist management, op management, and connection checking. Minor gaps exist like ban/unban or whitelist listing, but these are not critical for basic server administration and can be worked around via mc_execute_command.
Maintenance
Related MCP Connectors
Create, configure, manage Minecraft servers — plugins, files, console, modpacks, backups, metrics.
Manage game servers, configurations, players, and groups through the GameServerApp MCP server.
Official xCloud MCP: manage servers, sites, WordPress, SSL, backups and deploys from any MCP client.
Manage FadeHost game servers, Discord bots and VPS: console, stats, backups, logs, lifecycle.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI interactions with a running Minecraft server inside a Docker container using RCON, allowing models to programmatically create Minecraft builds and manage the server.10-
- AlicenseNot gradedqualityDmaintenanceEnables management of Minecraft servers through the MCSManager API. Supports executing server commands, checking player status, retrieving server information, and controlling game settings like weather.16 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables control of a Minecraft server through RCON commands via natural language, including game commands, chat-based AI interactions, and server management capabilities.6-
- AlicenseAqualityDmaintenanceConnects AI agents to Minecraft servers via RCON to execute commands, monitor logs, and perform read-only SQLite database queries. It is specifically designed to facilitate AI-assisted plugin development, live debugging, and automated testing workflows.611MIT