Send remote commands to a Minecraft server over the RCON protocol

domain: wiki.vg · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable enable-rcon, set rcon.password, and rcon.port (default 25575) in server.properties, then restart the server
  2. Open a TCP connection to the RCON port and send an authentication packet (type 3) with the configured password
  3. Confirm auth success by checking the response packet's request ID matches your request (type 2); an ID of -1 means auth failed
  4. Send command packets (type 2) with the command text as payload and read the response payload as command output
  5. Handle multi-packet responses for large outputs, since replies are split across multiple ~4096-byte packets

Known gotchas

Related routes

Enable and configure RCON on a Minecraft Java Edition server
minecraft.wiki · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans