About
MCP for MC Server via RCON
README
Minecraft RCON MCP Server for OpenCode
Features
- Execute Minecraft commands via RCON
- List online players
- Get server info (TPS, version)
- Whitelist management
- Operator management
Setup
- Clone and install dependencies:
npm install
npm run build
- Configure your Minecraft server RCON:
# server.properties
rcon.port=25575
rcon.password=your_password
enable-rcon=true
- Add 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 |
|---|---|
mc_execute_command |
Execute a Minecraft command |
mc_list_players |
List online players |
mc_get_server_info |
Get server TPS and version |
mc_whitelist_add |
Add player to whitelist |
mc_whitelist_remove |
Remove player from whitelist |
mc_op |
Give player operator status |
mc_deop |
Remove player operator status |
mc_check_connection |
Check RCON connection status |
Usage
list server players use mc-rcon
or
execute command "give @p diamond 1" use mc-rcon
Installing Mc Rcon
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/pedxyuyuko/mc-rcon-mcpFAQ
Is Mc Rcon MCP free?
Yes, Mc Rcon MCP is free — one-click install via Unyly at no cost.
Does Mc Rcon need an API key?
No, Mc Rcon runs without API keys or environment variables.
Is Mc Rcon hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Mc Rcon in Claude Desktop, Claude Code or Cursor?
Open Mc Rcon on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Mc Rcon with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
