Enables safe, read-only SELECT queries against plugin SQLite databases, allowing AI agents to inspect and verify plugin-specific data.
Click on "Install 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., "@Minecraft RCON MCP Serverrun the /reload command and check the logs for any errors"
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.
⛏️ Minecraft RCON MCP Server
An MCP (Model Context Protocol) server that connects AI agents to Minecraft servers through RCON. Execute commands, monitor logs, query databases, and check plugin health — all from your AI coding assistant.
Built and battle-tested during real AI-assisted Minecraft plugin development.
Features
RCON Command Execution — Run any server command with automatic reconnection on failure
Command + Log Capture — Execute a command and capture the server log output that follows (unique and powerful for plugin debugging)
Server Log Reading — Tail the latest server log
Filtered Log Monitoring — Read logs by configurable prefix (e.g.
[TEST],[DEBUG]) with incremental position tracking for efficient pollingSQLite Database Queries — Safe read-only SELECT queries against plugin databases, with write-operation blocking
Plugin Health Checks — Combined RCON connectivity + error log scan + database status in one call
Quick Start
1. Install
2. Configure
Copy .env.example to .env and fill in your server details:
Make sure RCON is enabled in your server.properties:
3. Run
Configuration
Variable | Required | Default | Description |
| No |
| RCON server hostname |
| No |
| RCON server port |
| Yes | — | RCON password |
| Yes | — | Minecraft server root directory |
| No | — | Path to plugin SQLite database |
| No |
| Prefix for filtered log reading |
Tools
Tool | Description | Read-Only |
| Execute an RCON command on the server | No |
| Execute a command and capture subsequent server log output | No |
| Read the last N lines from the server log | Yes |
| Read prefix-filtered log entries with incremental position tracking | Yes |
| Execute a read-only SELECT query on the plugin SQLite database | Yes |
| Check RCON connectivity, recent errors, and database status | Yes |
Usage with Claude Desktop
Add to your claude_desktop_config.json:
Usage with Claude Code
Add to your .mcp.json:
Find your server.properties
rcon.password= rcon.port= enable-rcon=true
Use Cases
AI-Assisted Plugin Testing
The run_command_with_log + read_test_log combo enables a powerful automated testing loop:
Live Debugging
Incremental Log Monitoring
Development
中文说明
这是一个 MCP (Model Context Protocol) 服务器,通过 RCON 协议将 AI Agent 连接到 Minecraft 服务器。
核心功能
RCON 命令执行 — 支持自动重连
命令 + 日志捕获 — 执行命令后自动抓取服务器日志输出
日志过滤读取 — 按前缀过滤日志,支持增量读取(位置追踪)
数据库只读查询 — 安全的 SQLite SELECT 查询,自动拦截写操作
插件健康检查 — RCON 连通性 + 错误日志 + 数据库状态一键检查
典型工作流
这个 MCP 服务器在真实的 AI 辅助 Minecraft 插件开发中经过了充分验证(248 个测试用例全部通过)。