Home / Servers / Hetzner Cloud API / create_server
Create a Server
An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.
Create a Server Creates a new Server. Returns preliminary information about the Server as well as an Action that covers progress of creation. #### Operation specific errors | Status | Code | Description | | --- |… [POST /servers]
Name on the gateway: hetzner_api__create_server · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | Name of the Server to create (must be unique per Project and a valid hostname… |
location | string | ID or name of the Location to create the Server in. |
server_type required | string | ID or name of the Server type this Server should be created with. |
start_after_create | boolean | This automatically triggers a Power on a Server-Server Action after the… |
image required | string | ID or name of the Image the Server is created from. |
placement_group | integer | ID of the Placement Group the Server should be in. |
ssh_keys | array | SSH key IDs (integer) or names (string) which should be injected into the… |
volumes | array | Volume IDs which should be attached to the Server at the creation time.… |
networks | array | Network IDs which should be attached to the Server private network interface… |
firewalls | array | Firewalls which should be applied on the Server's public network interface at… |
user_data | string | Cloud-Init user data to use during Server creation. This field is limited to… |
labels | object | User-defined labels (key/value pairs) for the Resource. For more information… |
automount | boolean | Auto-mount Volumes after attach. |
public_net | object | Public Network options. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "hetzner_api__create_server",
"arguments": {
"name": "…",
"server_type": "…",
"image": "…"
}
}Or connect the Hetzner Cloud API server directly, which lists 178 tools including this one:
claude mcp add --transport http hj-hetzner-api https://mcp.hjlabs.in/mcp/hetzner-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a server tool with name set to ….