ptero-mcp
Provides tools for finding and installing or updating Minecraft addons from Modrinth as part of server addon management.
Provides tools for managing Minecraft servers through Pterodactyl's Client API, including status, logs, configs, commands, file edits, server properties, backups, restarts, and audited addon maintenance.
Provides tools for finding and installing or updating Minecraft addons from SpigotMC as part of server addon management.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ptero-mcp
A local MCP server that lets Claude Code help maintain Minecraft servers on a
Pterodactyl panel, through the panel's Client API only (ptlc_ keys). It reads
status, logs and configs, finds plugin updates from boot messages, installs addons from Modrinth, Hangar and
SpigotMC, and makes guarded, audited changes. See CLAUDE.md for every guardrail.
Setup
Needs Node 22.18 or newer.
git clone https://github.com/toxiicxmonster/ptero-mcp
cd ptero-mcp
npm install # also builds dist/API key: in the panel, open Account → API Credentials and create a key. Best practice is a key for a subuser that has only the permissions you want Claude to have, not your admin account.
Settings come from environment variables, or from a settings file
(%APPDATA%\ptero-mcp\config.json on Windows, ~/.config/ptero-mcp/config.json elsewhere, or $PTERO_MCP_CONFIG).
Environment variables win. See .env.example for all of them:
Variable | Meaning |
| Panel URL (https) |
| The |
| Short ID of the live server (from its panel URL) |
| Optional, recommended: a copy to try changes on first |
|
|
| Owner switches for |
Related MCP server: OpenCraft
Add it to Claude Code
Read-only (safe default):
claude mcp add ptero -s user -e PTERO_URL=https://panel.example.com -e PTERO_CLIENT_KEY=ptlc_... -e LIVE_SERVER_ID=abcd1234 -- node /path/to/ptero-mcp/dist/src/index.jsMaintenance (write tools; every live change still needs confirm: true):
claude mcp add ptero-maint -s user -e PTERO_URL=https://panel.example.com -e PTERO_CLIENT_KEY=ptlc_... -e LIVE_SERVER_ID=abcd1234 -e READ_ONLY=false -- node /path/to/ptero-mcp/dist/src/index.jsOn Windows use the full path, e.g. node C:\Users\you\ptero-mcp\dist\src\index.js.
Tools
Read-only: server_status, detect_platform, tail_logs, diagnose_errors, list_addons, read_file,
check_updates, diff_staging_vs_live (with staging).
Write (only with READ_ONLY=false): send_command, write_file, set_server_property, install_addon,
update_addons, remove_addon, backup_then_restart, promote_file (with staging).
Every attempted, previewed, refused, completed and failed change is logged to audit.jsonl.
Development
npm test # mock panel only: tests never reach a real panel or marketplace
npm run typecheck
npm run probe # read-only API discovery against staging (see docs/pterodactyl-api.md)Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage NodePal Minecraft servers, worlds, mods, backups and console from AI agents.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Manage PrivateByte servers, backups, proxies, billing and support tickets from an AI agent.
Manage a Discord server from Claude, ChatGPT or any MCP client. Sign in with Discord, no bot token.
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP Server for full Easypanel control via Claude Code, Cursor, and Claude Desktop. Provides 37 tools for deploy, logs, env vars, domains, databases, and monitoring with built-in safety guards.5767 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI clients like Codex and Claude Code to manage Minecraft servers through the Exaroton API, including status, logs, crash diagnostics, player management, and guarded server actions with confirmation.MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets AI clients manage game servers hosted on a Calagopus panel: list and inspect servers, read logs and files, edit configs, run console commands and power actions, and search, install, update, or remove plugins and mods from Modrinth and CurseForge. Every action is bounded by the user's panel API key and server permissions, with read-only/destructive hints and token-efficient tool responses.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to manage, configure, and operate game servers hosted on Pterodactyl panels, including power actions, console commands, file operations, plugin installation, and backups. It also supports Cloudflare challenge bypass and automatic request pacing for reliable panel automation.2MIT