Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PTERODACTYL_URLYesThe URL of the Pterodactyl panel (e.g., https://panel.yourdomain.com)
PTERODACTYL_API_KEYYesYour Pterodactyl API key (Client: ptlc_... or Application: ptla_...)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pterodactyl_list_serversB

List all servers the authenticated user has access to.

Returns server details including name, identifier, status, limits, and node information.

Args:

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: List of servers with identifiers, names, statuses, and resource limits.

pterodactyl_get_serverA

Get detailed information about a specific server.

Returns full server details including limits, feature limits, SFTP info, and container configuration.

Args:

  • server (string): Server identifier (short ID like 'abc12345')

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_get_server_resourcesA

Get current resource usage for a server including memory, CPU, disk, and network stats.

Returns real-time resource utilization data. Requires the server to be running.

Args:

  • server (string): Server identifier

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_send_power_actionA

Send a power action to a server (start, stop, restart, or kill).

Use 'kill' only when the server is unresponsive to 'stop'.

Args:

  • server (string): Server identifier

  • signal ('start' | 'stop' | 'restart' | 'kill'): Power action to perform

pterodactyl_send_console_commandA

Send a command to the server's console.

The server must be running. Commands vary by game/egg (e.g., 'say Hello', 'op username' for Minecraft).

Args:

  • server (string): Server identifier

  • command (string): Console command to execute

pterodactyl_rename_serverC

Rename a server and optionally update its description.

Args:

  • server (string): Server identifier

  • name (string): New name for the server

  • description (string, optional): New description

pterodactyl_reinstall_serverA

Trigger a reinstall of the server. This will run the egg's install script.

WARNING: This may delete or overwrite server files depending on the egg configuration.

Args:

  • server (string): Server identifier

pterodactyl_get_websocketA

Get the WebSocket token and socket URL for console access.

Returns a JWT token (valid for 10 minutes) and socket URL for establishing a WebSocket connection to the server console.

Args:

  • server (string): Server identifier

pterodactyl_get_accountA

Get details about the authenticated user's account.

Returns username, email, name, language, and admin status.

Args:

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_get_consoleA

Retrieve recent console output for a server via WebSocket.

Connects to the server's console WebSocket, authenticates, requests the console log history, and returns the buffered output. Because the panel does not expose console logs via the REST API this tool opens a short-lived WebSocket connection.

The server must be running.

Args:

  • server (string): Server identifier

  • lines (number): Maximum lines to return (default: 100)

pterodactyl_list_filesB

List files and directories in a given directory on the server.

Args:

  • server (string): Server identifier

  • directory (string): Directory path (default: '/')

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_read_fileA

Read the contents of a file on the server.

Note: For large files, use list_files to check the size first.

Args:

  • server (string): Server identifier

  • file (string): Full path to the file (e.g., '/server.properties')

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_write_fileA

Write content to a file on the server. Creates the file if it doesn't exist, overwrites if it does.

Args:

  • server (string): Server identifier

  • file (string): Full path to the file (e.g., '/config.yml')

  • content (string): Content to write to the file

pterodactyl_create_folderC

Create a new directory on the server.

Args:

  • server (string): Server identifier

  • root (string): Parent directory path (default: '/')

  • name (string): New folder name

pterodactyl_delete_filesA

Delete one or more files or directories from the server.

WARNING: This action is irreversible. Deleting directories removes all contents recursively.

Args:

  • server (string): Server identifier

  • root (string): Root directory for relative paths (default: '/')

  • files (string[]): Array of file/directory paths to delete

pterodactyl_copy_fileA

Copy a file or directory on the server. A copy will be created with a numeric suffix (e.g., 'file copy 1').

Args:

  • server (string): Server identifier

  • location (string): Full path of the file or directory to copy

pterodactyl_compress_filesB

Create a compressed archive (tar.gz) of specified files/directories.

Args:

  • server (string): Server identifier

  • root (string): Root directory for relative paths (default: '/')

  • files (string[]): Array of file/directory paths to include in the archive

pterodactyl_decompress_fileB

Extract a compressed archive (tar.gz, zip) on the server.

Args:

  • server (string): Server identifier

  • root (string): Root directory where the archive is located (default: '/')

  • file (string): Full path to the archive file to extract

pterodactyl_upload_fileC

Upload a file to the server using a two-step signed-URL process.

Provide the file content as a base64-encoded string.

Args:

  • server (string): Server identifier

  • directory (string): Target directory on the server (default: '/')

  • file_name (string): Name for the uploaded file

  • content (string): Base64-encoded file content

pterodactyl_pull_fileA

Download a file from a URL directly to the server (no local transfer).

The panel fetches the URL and saves the file on the server's filesystem. Ideal for large files — avoids the base64 truncation and upload bandwidth costs.

Limits: max file size 1 GB, timeout 5 minutes, HTTP/HTTPS only.

Args:

  • server (string): Server identifier

  • url (string): URL of the file to download

  • directory (string): Directory to save the file (default: '/')

  • filename (string, optional): Custom filename (auto-detected if omitted)

pterodactyl_list_databasesA

List all databases for a server, including host info and connection details.

Note: Passwords are NOT included in the list. Use get_database or rotate_password to view passwords.

Args:

  • server (string): Server identifier

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_create_databaseC

Create a new database for a server.

Args:

  • server (string): Server identifier

  • database (string): Database name (max 48 chars)

  • remote (string): Remote connection host (default: '%' = any host)

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_rotate_database_passwordA

Rotate (reset) the password for a server database. Returns the new password.

Warning: This will invalidate any existing connections using the old password.

Args:

  • server (string): Server identifier

  • db (number): Database ID

pterodactyl_delete_databaseA

Delete a database from a server. This action is irreversible.

Args:

  • server (string): Server identifier

  • db (number): Database ID to delete

pterodactyl_list_backupsA

List all backups for a server.

Returns backup UUIDs, names, sizes, creation dates, and success status.

Args:

  • server (string): Server identifier

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_create_backupA

Create a new backup of the server. Backups run asynchronously - check completion with list_backups.

Args:

  • server (string): Server identifier

  • name (string, optional): Name for the backup

  • is_locked (boolean, optional): If true, backup cannot be deleted until unlocked

pterodactyl_get_backupC

Get details about a specific backup.

Args:

  • server (string): Server identifier

  • backup (string): Backup UUID

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_download_backupA

Get a pre-signed URL for downloading a backup.

The URL is short-lived. Download it before it expires.

Args:

  • server (string): Server identifier

  • backup (string): Backup UUID

pterodactyl_lock_backupB

Toggle the lock state of a backup. Locked backups cannot be deleted until unlocked.

Args:

  • server (string): Server identifier

  • backup (string): Backup UUID

pterodactyl_delete_backupA

Delete a backup. Locked backups cannot be deleted.

Args:

  • server (string): Server identifier

  • backup (string): Backup UUID to delete

pterodactyl_restore_backupB

Restore a server from a backup.

WARNING: This may overwrite existing files if truncate is true.

Args:

  • server (string): Server identifier

  • backup (string): Backup UUID to restore

  • truncate (boolean, optional): If true, delete all files first before restoring

pterodactyl_list_schedulesA

List all schedules for a server.

Returns schedule details including cron settings, active status, and last/next run times.

Args:

  • server (string): Server identifier

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_get_scheduleA

Get details of a specific schedule including its tasks.

Args:

  • server (string): Server identifier

  • schedule (number): Schedule ID

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_create_scheduleA

Create a new schedule for a server with cron timing.

Tasks must be added separately with create_schedule_task.

Args:

  • server (string): Server identifier

  • name (string): Schedule name

  • minute, hour, day_of_month, month, day_of_week (string): Cron fields (default: '*' for each)

  • is_active (boolean): Initially active (default: true)

  • only_when_online (boolean): Only run when server is online (default: true)

pterodactyl_update_scheduleB

Update an existing schedule's configuration.

Only provide the fields you want to change.

Args:

  • server (string): Server identifier

  • schedule (number): Schedule ID

  • (optional) name, minute, hour, day_of_month, month, day_of_week, is_active, only_when_online

pterodactyl_delete_scheduleB

Delete a schedule and all its tasks.

Args:

  • server (string): Server identifier

  • schedule (number): Schedule ID to delete

pterodactyl_create_schedule_taskA

Add a task to an existing schedule.

Task actions:

  • 'command': Runs a console command (payload is the command string)

  • 'power': Sends a power action (payload is start/stop/restart/kill)

  • 'backup': Creates a backup (payload is comma-separated ignored files or empty)

Args:

  • server (string): Server identifier

  • schedule (number): Schedule ID

  • action ('command' | 'power' | 'backup'): Task action type

  • payload (string): Action payload

  • time_offset (number): Seconds after schedule start (default: 0)

  • continue_on_failure (boolean): Continue subsequent tasks on failure (default: false)

pterodactyl_delete_schedule_taskB

Remove a task from a schedule.

Args:

  • server (string): Server identifier

  • schedule (number): Schedule ID

  • task (number): Task ID to delete

pterodactyl_list_allocationsA

List all network allocations (IP:Port) assigned to a server.

Returns IP addresses, ports, notes, and whether each is the default allocation.

Args:

  • server (string): Server identifier

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_create_allocationB

Assign a new network allocation (IP:Port) to a server.

If ip and port are omitted, the panel will auto-assign from available node allocations.

Args:

  • server (string): Server identifier

  • ip (string, optional): IP address

  • port (number, optional): Port number

pterodactyl_set_primary_allocationA

Set an existing allocation as the server's primary allocation.

Args:

  • server (string): Server identifier

  • allocation (number): Allocation ID to make primary

pterodactyl_delete_allocationA

Remove an allocation from a server. The primary allocation cannot be removed.

Args:

  • server (string): Server identifier

  • allocation (number): Allocation ID to remove

pterodactyl_list_subusersB

List all subusers for a server with their permissions.

Args:

  • server (string): Server identifier

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

pterodactyl_create_subuserA

Invite a user as a subuser to a server with specific permissions.

The user must already have an account on the panel. Common permissions include:

  • 'control.console', 'control.start', 'control.stop', 'control.restart'

  • 'file.create', 'file.read', 'file.update', 'file.delete', 'file.archive', 'file.sftp'

  • 'database.create', 'database.read', 'database.update', 'database.delete'

  • 'backup.create', 'backup.read', 'backup.update', 'backup.delete'

  • 'allocation.read', 'allocation.create', 'allocation.update', 'allocation.delete'

  • 'schedule.create', 'schedule.read', 'schedule.update', 'schedule.delete'

  • 'user.create', 'user.read', 'user.update', 'user.delete'

Args:

  • server (string): Server identifier

  • email (string): Email of the panel user to add as subuser

  • permissions (string[]): Array of permission keys to grant

pterodactyl_update_subuserB

Update the permissions for an existing subuser on a server.

Args:

  • server (string): Server identifier

  • user (string): Subuser UUID

  • permissions (string[]): Updated array of permission keys

pterodactyl_delete_subuserC

Remove a subuser's access to a server.

Args:

  • server (string): Server identifier

  • user (string): Subuser UUID to remove

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 46 tools

Disambiguation5/5

Each tool targets a distinct resource/action pair across servers, files, databases, backups, schedules, allocations, subusers, and account operations. Similar-sounding tools like get_websocket and get_console are clearly differentiated by their descriptions and intended use.

Naming Consistency5/5

All tools use the same pterodactyl_ prefix plus consistent snake_case verb_noun naming, such as list_servers, create_backup, delete_schedule, and rotate_database_password. The pattern is predictable throughout the entire set.

Tool Count2/5

With 46 tools, the surface is far above the typically appropriate 3-15 range and is likely to overwhelm agents despite the domain's breadth. Many tools are justified individually, but the overall set is too large for a single MCP interface.

Completeness4/5

The set provides broad lifecycle coverage for servers, files, databases, backups, schedules, allocations, subusers, and account details. Minor gaps remain, such as file rename/move and startup variable or activity log operations, but core workflows are well covered.

Maintenance

ActivityInactive
ResponsivenessOutdated data