Skip to main content
Glama

import_egg

Create or import server templates (eggs) in Pterodactyl to define Docker images, startup commands, and configurations for game servers.

Instructions

Import or create a new egg (server template) in a nest (admin action). Eggs define the Docker image, startup command, and configuration for a type of game server. Use list_nests to find the nest_id first. The egg will be available for creating new servers via create_server. Requires Application API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nest_idYesNest ID to create the egg in (from list_nests)
nameYesDisplay name for the egg
descriptionNoDescription of what this egg runs
docker_imageYesDocker image to use (e.g. 'ghcr.io/image:tag')
startupYesStartup command with variable placeholders (e.g. 'java -jar {{SERVER_JARFILE}}')
config_fromNoEgg ID to inherit configuration from
config_stopNoStop command sent to the server process
config_logsNoJSON config for log parsing
config_filesNoJSON config for file parser modifications
config_startupNoJSON config for startup detection
script_containerNoDocker image for the install script (e.g. 'alpine:3.4')
script_entryNoEntrypoint for the install script (e.g. 'bash')
script_installNoShell script executed during server installation

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zefarie/pterodactyl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server