KosmoKrator

productivity

Scaleway CLI for AI Agents

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

Scaleway CLI Setup

Scaleway can be configured headlessly with `kosmokrator integrations:configure scaleway`.

Install, configure, and verify
# 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 scaleway --set access_token="$SCALEWAY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor scaleway --json
kosmokrator integrations:status --json

Credentials

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

KeyEnv varTypeRequiredLabel
access_token SCALEWAY_ACCESS_TOKEN Secret secret yes Access Token
url SCALEWAY_URL URL url no API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call scaleway.scaleway_list_servers '{"page":1,"per_page":1}' --json
Provider shortcut
kosmo integrations:scaleway scaleway_list_servers '{"page":1,"per_page":1}' --json

Discovery

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

Discovery commands
kosmo integrations:docs scaleway --json
kosmo integrations:docs scaleway.scaleway_list_servers --json
kosmo integrations:schema scaleway.scaleway_list_servers --json
kosmo integrations:search "Scaleway" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

scaleway.scaleway_list_servers

List all servers in the Scaleway zone. Returns IDs, names, status, type, and IP addresses.

Read read
Parameters
page, per_page
Generic call
kosmo integrations:call scaleway.scaleway_list_servers '{"page":1,"per_page":1}' --json
Shortcut
kosmo integrations:scaleway scaleway_list_servers '{"page":1,"per_page":1}' --json

scaleway.scaleway_get_server

Get details for a specific Scaleway server by ID. Returns full server information including image, volumes, and public IP.

Read read
Parameters
server_id
Generic call
kosmo integrations:call scaleway.scaleway_get_server '{"server_id":"example_server_id"}' --json
Shortcut
kosmo integrations:scaleway scaleway_get_server '{"server_id":"example_server_id"}' --json

scaleway.scaleway_list_volumes

List all block storage volumes in the Scaleway zone. Returns IDs, names, size, type, and server attachment.

Read read
Parameters
page, per_page
Generic call
kosmo integrations:call scaleway.scaleway_list_volumes '{"page":1,"per_page":1}' --json
Shortcut
kosmo integrations:scaleway scaleway_list_volumes '{"page":1,"per_page":1}' --json

scaleway.scaleway_list_snapshots

List all volume snapshots in the Scaleway zone. Returns IDs, names, size, and creation date.

Read read
Parameters
page, per_page
Generic call
kosmo integrations:call scaleway.scaleway_list_snapshots '{"page":1,"per_page":1}' --json
Shortcut
kosmo integrations:scaleway scaleway_list_snapshots '{"page":1,"per_page":1}' --json

scaleway.scaleway_list_security_groups

List all security groups (firewall rule sets) in the Scaleway zone. Returns IDs, names, descriptions, and rules.

Read read
Parameters
page, per_page
Generic call
kosmo integrations:call scaleway.scaleway_list_security_groups '{"page":1,"per_page":1}' --json
Shortcut
kosmo integrations:scaleway scaleway_list_security_groups '{"page":1,"per_page":1}' --json

scaleway.scaleway_list_ips

List all flexible IPs in the Scaleway zone. Returns IDs, addresses, and server assignments.

Read read
Parameters
page, per_page
Generic call
kosmo integrations:call scaleway.scaleway_list_ips '{"page":1,"per_page":1}' --json
Shortcut
kosmo integrations:scaleway scaleway_list_ips '{"page":1,"per_page":1}' --json

scaleway.scaleway_get_current_user

Get information about the current authenticated Scaleway account, including email, organization, and status.

Read read
Parameters
none
Generic call
kosmo integrations:call scaleway.scaleway_get_current_user '{}' --json
Shortcut
kosmo integrations:scaleway scaleway_get_current_user '{}' --json

Function Schemas

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

scaleway.scaleway_list_servers 2 parameters
Schema command
kosmo integrations:schema scaleway.scaleway_list_servers --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of servers per page (default: 20).
scaleway.scaleway_get_server 1 parameters
Schema command
kosmo integrations:schema scaleway.scaleway_get_server --json
ParameterTypeRequiredDescription
server_id string yes The server ID (UUID).
scaleway.scaleway_list_volumes 2 parameters
Schema command
kosmo integrations:schema scaleway.scaleway_list_volumes --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of volumes per page (default: 20).
scaleway.scaleway_list_snapshots 2 parameters
Schema command
kosmo integrations:schema scaleway.scaleway_list_snapshots --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of snapshots per page (default: 20).
scaleway.scaleway_list_security_groups 2 parameters
Schema command
kosmo integrations:schema scaleway.scaleway_list_security_groups --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of security groups per page (default: 20).
scaleway.scaleway_list_ips 2 parameters
Schema command
kosmo integrations:schema scaleway.scaleway_list_ips --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of IPs per page (default: 20).
scaleway.scaleway_get_current_user 0 parameters
Schema command
kosmo integrations:schema scaleway.scaleway_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.