KosmoKrator

productivity

IONOS Cloud CLI for AI Agents

Use the IONOS Cloud CLI from KosmoKrator to call IONOS Cloud tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write Bearer token auth

IONOS Cloud CLI Setup

IONOS Cloud can be configured headlessly with `kosmokrator integrations:configure ionos`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure ionos --set access_token="$IONOS_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor ionos --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token IONOS_ACCESS_TOKEN Secret secret yes Access Token
url IONOS_URL URL url no API Base URL

Call IONOS Cloud Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call ionos.ionos_list_servers '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:ionos ionos_list_servers '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs ionos --json
kosmo integrations:docs ionos.ionos_list_servers --json
kosmo integrations:schema ionos.ionos_list_servers --json
kosmo integrations:search "IONOS Cloud" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to IONOS Cloud.

ionos.ionos_list_servers

Read read

List all servers in the IONOS Cloud account. Returns IDs, names, cores, RAM, VM state, and boot volume information.

Parameters
none

Generic CLI call

kosmo integrations:call ionos.ionos_list_servers '{}' --json

Provider shortcut

kosmo integrations:ionos ionos_list_servers '{}' --json

ionos.ionos_get_server

Read read

Get details for a specific IONOS Cloud server by ID. Returns full server information including cores, RAM, VM state, volumes, and NICs.

Parameters
server_id

Generic CLI call

kosmo integrations:call ionos.ionos_get_server '{"server_id":"example_server_id"}' --json

Provider shortcut

kosmo integrations:ionos ionos_get_server '{"server_id":"example_server_id"}' --json

ionos.ionos_list_volumes

Read read

List all block storage volumes in the IONOS Cloud account. Returns IDs, names, size, type, zone, and state.

Parameters
none

Generic CLI call

kosmo integrations:call ionos.ionos_list_volumes '{}' --json

Provider shortcut

kosmo integrations:ionos ionos_list_volumes '{}' --json

ionos.ionos_list_lans

Read read

List all local area networks (LANs) in the IONOS Cloud account. Returns IDs, names, public flag, and connected servers.

Parameters
none

Generic CLI call

kosmo integrations:call ionos.ionos_list_lans '{}' --json

Provider shortcut

kosmo integrations:ionos ionos_list_lans '{}' --json

ionos.ionos_list_nics

Read read

List all network interface cards (NICs) in the IONOS Cloud account. Returns IDs, names, MAC addresses, IPs, and LAN associations.

Parameters
none

Generic CLI call

kosmo integrations:call ionos.ionos_list_nics '{}' --json

Provider shortcut

kosmo integrations:ionos ionos_list_nics '{}' --json

ionos.ionos_list_images

Read read

List all available images in the IONOS Cloud account. Returns IDs, names, size, OS type, location, and public status.

Parameters
none

Generic CLI call

kosmo integrations:call ionos.ionos_list_images '{}' --json

Provider shortcut

kosmo integrations:ionos ionos_list_images '{}' --json

ionos.ionos_get_current_user

Read read

Get information about the current authenticated IONOS Cloud user, including email, name, and account status.

Parameters
none

Generic CLI call

kosmo integrations:call ionos.ionos_get_current_user '{}' --json

Provider shortcut

kosmo integrations:ionos ionos_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

ionos.ionos_list_servers

List all servers in the IONOS Cloud account. Returns IDs, names, cores, RAM, VM state, and boot volume information.

Operation
Read read
Schema command
kosmo integrations:schema ionos.ionos_list_servers --json
ParameterTypeRequiredDescription
No parameters.

ionos.ionos_get_server

Get details for a specific IONOS Cloud server by ID. Returns full server information including cores, RAM, VM state, volumes, and NICs.

Operation
Read read
Schema command
kosmo integrations:schema ionos.ionos_get_server --json
ParameterTypeRequiredDescription
server_id string yes The server ID.

ionos.ionos_list_volumes

List all block storage volumes in the IONOS Cloud account. Returns IDs, names, size, type, zone, and state.

Operation
Read read
Schema command
kosmo integrations:schema ionos.ionos_list_volumes --json
ParameterTypeRequiredDescription
No parameters.

ionos.ionos_list_lans

List all local area networks (LANs) in the IONOS Cloud account. Returns IDs, names, public flag, and connected servers.

Operation
Read read
Schema command
kosmo integrations:schema ionos.ionos_list_lans --json
ParameterTypeRequiredDescription
No parameters.

ionos.ionos_list_nics

List all network interface cards (NICs) in the IONOS Cloud account. Returns IDs, names, MAC addresses, IPs, and LAN associations.

Operation
Read read
Schema command
kosmo integrations:schema ionos.ionos_list_nics --json
ParameterTypeRequiredDescription
No parameters.

ionos.ionos_list_images

List all available images in the IONOS Cloud account. Returns IDs, names, size, OS type, location, and public status.

Operation
Read read
Schema command
kosmo integrations:schema ionos.ionos_list_images --json
ParameterTypeRequiredDescription
No parameters.

ionos.ionos_get_current_user

Get information about the current authenticated IONOS Cloud user, including email, name, and account status.

Operation
Read read
Schema command
kosmo integrations:schema ionos.ionos_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.