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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"user": "<user>",
"egg": "<egg>",
"docker_image": "<docker_image>",
"startup": "<startup>",
"memory": "<memory>",
"disk": "<disk>",
"cpu": "<cpu>",
"allocation_id": "<allocation_id>"
},
"name": "create_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Server name | |
| user | Yes | Owner user ID | |
| egg | Yes | Egg ID (server template) | |
| docker_image | Yes | Docker image to use | |
| startup | Yes | Startup command | |
| memory | Yes | Memory limit in MB | |
| disk | Yes | Disk limit in MB | |
| cpu | Yes | CPU limit in percent (100 = 1 core) | |
| swap | No | Swap limit in MB (default: 0) | |
| io | No | IO weight (default: 500) | |
| databases_limit | No | Max databases (default: 0) | |
| allocations_limit | No | Max allocations (default: 0) | |
| backups_limit | No | Max backups (default: 0) | |
| allocation_id | Yes | Default allocation ID for the server | |
| environment | No | Environment variables for the egg |