Skip to main content
Glama

create_server

Create a new game server on the Pterodactyl panel by specifying template, owner, allocation, and resource limits. Use this admin action to provision servers with custom configurations.

Instructions

Create a new game server on the panel (admin action). Requires egg ID (from list_eggs), owner user ID (from list_users), allocation ID, and resource limits. Use list_eggs to find available server templates and list_nodes to find nodes with capacity. Requires Application API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesServer name
userYesOwner user ID
eggYesEgg ID (server template)
docker_imageYesDocker image to use
startupYesStartup command
memoryYesMemory limit in MB
diskYesDisk limit in MB
cpuYesCPU limit in percent (100 = 1 core)
swapNoSwap limit in MB (default: 0)
ioNoIO weight (default: 500)
databases_limitNoMax databases (default: 0)
allocations_limitNoMax allocations (default: 0)
backups_limitNoMax backups (default: 0)
allocation_idYesDefault allocation ID for the server
environmentNoEnvironment variables for the egg

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