Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Mc Rcon

FreeNot checked

MCP for MC Server via RCON

GitHubEmbed

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

  1. Clone and install dependencies:
npm install
npm run build
  1. Configure your Minecraft server RCON:
# server.properties
rcon.port=25575
rcon.password=your_password
enable-rcon=true
  1. 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

from github.com/pedxyuyuko/mc-rcon-mcp

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-mcp

FAQ

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

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