productivity
Hetzner Cloud MCP Integration for OpenAI Agents SDK
Connect Hetzner Cloud to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Hetzner Cloud to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Hetzner Cloud MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-hetzner": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=hetzner",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=hetzner --write=deny Why Use KosmoKrator Here
Expose only Hetzner Cloud instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Hetzner Cloud Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Hetzner Cloud integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__hetzner__hetzner_list_servers | hetzner.hetzner_list_servers | Read | List Hetzner Cloud servers. Supports pagination with per_page and page parameters. |
integration__hetzner__hetzner_get_server | hetzner.hetzner_get_server | Read | Get details for a specific Hetzner Cloud server by ID. |
integration__hetzner__hetzner_create_server | hetzner.hetzner_create_server | Write | Create a new Hetzner Cloud server with specified name, type, and image. |
integration__hetzner__hetzner_list_volumes | hetzner.hetzner_list_volumes | Read | List Hetzner Cloud volumes. Supports pagination with per_page and page parameters. |
integration__hetzner__hetzner_list_networks | hetzner.hetzner_list_networks | Read | List Hetzner Cloud networks. Supports pagination with per_page and page parameters. |
integration__hetzner__hetzner_list_ssh_keys | hetzner.hetzner_list_ssh_keys | Read | List Hetzner Cloud SSH keys. Supports pagination with per_page and page parameters. |
integration__hetzner__hetzner_get_current_user | hetzner.hetzner_get_current_user | Read | Get the profile of the currently authenticated Hetzner Cloud user. Useful for verifying credentials and displaying account information. |