Minecraft MCP Server
Allows managing and operating Minecraft servers hosted on Pterodactyl panels, including server status, power actions, console commands, file management, plugin installation, backups, and server property edits.
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., "@Minecraft MCP Servercheck my Minecraft server status and restart it if it's offline"
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 MCP Server (Pterodactyl Panel Integration)
An intelligent Model Context Protocol (MCP) server that empowers AI agents (Antigravity, Claude Desktop, Cursor, etc.) to manage, configure, and operate Minecraft servers hosted on Pterodactyl panels.
Built-in support for:
🛡️ Cloudflare Turnstile / Challenge Bypass (via
undetected-chromedriver)⏱️ Automatic Request Pacing & Rate Limiting to prevent 429/504 gateway timeouts
🧠 Pre-packaged Agent Skills (
request-pacingandminecraft-server-management)
🚀 Features & Tools
Tool | Description |
| View real-time server status, CPU, RAM, disk usage, and node info |
| Power operations: |
| Execute any console command (e.g. |
| Browse server directories ( |
| Read content of configuration files, logs, or playerdata |
| Create or update files on the server |
| Safely update a single key in |
| Delete files or directories |
| Rename or move files across directories |
| Create directories |
| Download and install plugins directly from URLs into |
| Obtain temporary signed download URLs for server files |
| Create |
| Extract |
Related MCP server: 1Panel MCP Server
📦 Requirements
Python: 3.10 or higher
Google Chrome installed (required by
undetected-chromedriverfor Cloudflare-protected panels)A Pterodactyl Panel account with an API key
🛠️ Quick Setup
1. Install Dependencies
pip install -r requirements.txt2. Configure Credentials
Copy .env.example to .env:
cp .env.example .envFill in your details in .env:
PTERO_URL=https://panel.yourserverhost.com
PTERO_KEY=ptlc_your_account_api_key_here
PTERO_SERVER=your_server_identifier_hereWhere to get your credentials:
PTERO_URL: The URL you use to log into your Pterodactyl panel.
PTERO_KEY: In your panel, go to Account Settings -> API Credentials -> Create New. Copy the token (starts withptlc_).
PTERO_SERVER: Open your server on the panel. The URL looks likehttps://panel.yourhost.com/server/a1b2c3d4—a1b2c3d4is your server identifier.
⚙️ Connecting to AI Clients
Antigravity / Gemini CLI
Add this entry to your mcp_config.json:
{
"mcpServers": {
"minecraft": {
"command": "python",
"args": ["path/to/server.py"],
"env": {
"PTERO_URL": "https://panel.yourserverhost.com",
"PTERO_KEY": "ptlc_your_api_key_here",
"PTERO_SERVER": "your_server_identifier_here"
}
}
}
}Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"minecraft": {
"command": "python",
"args": ["<FULL_PATH_TO_SERVER.PY>"],
"env": {
"PTERO_URL": "https://panel.yourserverhost.com",
"PTERO_KEY": "ptlc_your_api_key_here",
"PTERO_SERVER": "your_server_identifier_here"
}
}
}
}🧠 Included Agent Skills
This repository includes custom agent skills in .agents/skills/:
request-pacing: Enforces rate limiting, backoff, and respectful intervals to prevent hitting Cloudflare or panel limits.minecraft-server-management: Guidance for agents handling server power cycles, config edits, and player position / respawn handling.
📄 License
MIT License. Free to use, adapt, and share.
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, configure, manage Minecraft servers — plugins, files, console, modpacks, backups, metrics.
Manage FadeHost game servers, Discord bots and VPS: console, stats, backups, logs, lifecycle.
9 remote MCP servers on Cloudflare Workers for AI agents. Free tier + Pro API keys.
One AI endpoint to search and call 22k+ MCP servers; 50+ hosted tools work instantly, no key.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Minecraft servers through MCSManager, including instance control (start/stop/restart), file management, scheduled tasks, user management, and backup operations.5-
- AlicenseCqualityDmaintenanceEnables AI agents to manage server infrastructure through the 1Panel API, including Docker containers, databases, and system monitoring. It provides tools for website management, file operations, and application deployment via natural language commands.1514 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables managing Pterodactyl Game Panel servers via Client and Application APIs, including power actions, files, databases, backups, schedules, and administrative operations.115 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language management of Pebblehost Minecraft servers, including server status, control, console commands, file management, and backups.MIT