Pterodactyl MCP Server
Provides tools for managing Pterodactyl game panel servers via both Client API (power actions, files, databases, backups, schedules, allocations, subusers) and Application API (admin operations: users, servers, nodes, locations, nests/eggs).
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.
Pterodactyl MCP Server
A Model Context Protocol server for managing Pterodactyl Game Panel servers via both the Client API and Application API.
Features
Client API — manage your own servers: power actions, files, databases, backups, schedules, allocations, subusers
Application API — admin operations: users, servers, nodes, locations, nests/eggs (auto-detected from
ptla_key prefix)Markdown (default) and JSON output formats on all read tools
Each tool is fully documented with descriptions, input schemas, and annotations (readOnly, destructive, idempotent hints)
Related MCP server: Minecraft MCP Server
Prerequisites
Node.js 18+
A Pterodactyl panel URL
A Pterodactyl API key (Client:
ptlc_...or Application:ptla_...)
Setup
npm install
npm run buildUsage
Set environment variables and start the server:
export PTERODACTYL_URL=https://panel.yourdomain.com
export PTERODACTYL_API_KEY=ptlc_your_api_key_here
npm startFor development with hot reload:
npm run devMCP Client Configuration
Add to your MCP client config (e.g. ~/.config/opencode/mcp.json):
{
"mcpServers": {
"pterodactyl": {
"command": "node",
"args": ["/path/to/pterodactyl-mcp-server/dist/index.js"],
"env": {
"PTERODACTYL_URL": "https://panel.yourdomain.com",
"PTERODACTYL_API_KEY": "ptlc_your_api_key_here"
}
}
}
}Tools
Client API (Server Management)
Tool | Description |
| List all servers on your account |
| Get detailed server info |
| Get real-time CPU, memory, disk usage |
| Start, stop, restart, or kill a server |
| Send a command to the server console |
| Rename a server and update its description |
| Trigger a reinstall of the server |
| Get WebSocket token/socket URL for console access |
| Retrieve recent console output via WebSocket |
| Get authenticated account details |
Files:
Tool | Description |
| List files and directories |
| Read a file's contents |
| Write content to a file |
| Upload a file (base64 or local path) |
| Download a file from a URL directly to the server |
| Create a new directory |
| Delete files or directories |
| Copy a file or directory |
| Create a tar.gz archive |
| Extract a tar.gz or zip archive |
Databases:
Tool | Description |
| List server databases |
| Create a new database |
| Rotate a database password |
| Delete a database |
Backups:
Tool | Description |
| List server backups |
| Create a new backup |
| Get backup details |
| Get a backup download URL |
| Restore a backup |
| Lock/unlock a backup |
| Delete a backup |
Schedules:
Tool | Description |
| List schedules with cron details |
| Get schedule details including tasks |
| Create a schedule |
| Update schedule config |
| Delete a schedule |
| Add a task to a schedule |
| Remove a task from a schedule |
Allocations:
Tool | Description |
| List server allocations |
| Assign a new allocation |
| Set the primary allocation |
| Remove an allocation |
Subusers:
Tool | Description |
| List subusers with permissions |
| Invite a subuser |
| Update subuser permissions |
| Remove a subuser |
Application API (Admin)
Requires an Application API key (ptla_...).
Users:
Tool | Description |
| List all panel users (with filters) |
| Get user details |
| Create a new user |
| Update a user |
| Delete a user |
Servers:
Tool | Description |
| List all servers (with filters) |
| Get server details |
| Create a server |
| Update server name, owner, description |
| Update server resources and allocations |
| Update startup config, egg, image |
| Suspend a server |
| Unsuspend a server |
| Trigger a reinstall of the server |
| Delete a server |
Nodes:
Tool | Description |
| List all nodes (with filters) |
| Get node details |
| Create a new node |
| Update a node |
| Delete a node |
| Get node wings configuration |
| List node allocations |
| Create allocations on a node |
| Delete an allocation |
Locations:
Tool | Description |
| List all locations |
| Get location details |
| Create a location |
| Update a location |
| Delete a location |
Nests & Eggs:
Tool | Description |
| List all nests |
| Get nest details (with eggs) |
| List eggs in a nest |
| Get egg details (with variables) |
Output Formats
All read tools accept an optional response_format parameter:
markdown(default) — human-readable tables and listsjson— raw JSON for programmatic use
API Key Types
Prefix | Type | Available Tools |
| Client API | Server management, files, databases, backups, schedules, allocations, subusers |
| Application API | Everything above + admin tools (users, servers, nodes, locations, nests) |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Manage FadeHost game servers, Discord bots and VPS: console, stats, backups, logs, lifecycle.
Create, configure, manage Minecraft servers — plugins, files, console, modpacks, backups, metrics.
- ZapX by ZAP-HostingDeprecatedcom.zap-hosting
Manage ZAP-Hosting game servers, VPS, dedicated servers, TeamSpeak and domains from your AI client.
Manage your Nodecraft game servers: start, stop, files, backups, console, players and settings
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to safely manage Pterodactyl game servers, covering status, console, files, backups, and power operations with built-in guardrails.201MIT
- 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.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables administering one or many Pterodactyl panels from MCP-compatible clients through a configurable gateway, including server lifecycle control, console commands, file and backup management, and broad Client, Application, and Admin API requests.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to drive a Pterodactyl game panel over both its client and application API trees, covering servers, files, backups, schedules, databases, subusers, nodes, nests, and an eight-tool wings websocket console suite. Exposes 105 typed tools with a default-deny gate that blocks deletes, reinstalls, suspensions, and kill actions until explicitly allowlisted.MIT