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.

7 functions 7 read 0 write Bearer token auth

Scaleway CLI Setup

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

# 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 use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

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

Call Scaleway Headlessly

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

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

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

kosmo integrations:scaleway scaleway_list_servers '{
  "page": 1,
  "per_page": 1
}' --json

Agent Discovery Commands

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

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

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 Scaleway.

scaleway.scaleway_list_servers

Read read

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

Parameters
page, per_page

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

scaleway.scaleway_get_server

Read read

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

Parameters
server_id

Generic CLI call

kosmo integrations:call scaleway.scaleway_get_server '{"server_id":"example_server_id"}' --json

Provider shortcut

kosmo integrations:scaleway scaleway_get_server '{"server_id":"example_server_id"}' --json

scaleway.scaleway_list_volumes

Read read

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

Parameters
page, per_page

Generic CLI call

kosmo integrations:call scaleway.scaleway_list_volumes '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:scaleway scaleway_list_volumes '{"page":1,"per_page":1}' --json

scaleway.scaleway_list_snapshots

Read read

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

Parameters
page, per_page

Generic CLI call

kosmo integrations:call scaleway.scaleway_list_snapshots '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:scaleway scaleway_list_snapshots '{"page":1,"per_page":1}' --json

scaleway.scaleway_list_security_groups

Read read

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

Parameters
page, per_page

Generic CLI call

kosmo integrations:call scaleway.scaleway_list_security_groups '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:scaleway scaleway_list_security_groups '{"page":1,"per_page":1}' --json

scaleway.scaleway_list_ips

Read read

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

Parameters
page, per_page

Generic CLI call

kosmo integrations:call scaleway.scaleway_list_ips '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:scaleway scaleway_list_ips '{"page":1,"per_page":1}' --json

scaleway.scaleway_get_current_user

Read read

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

Parameters
none

Generic CLI call

kosmo integrations:call scaleway.scaleway_get_current_user '{}' --json

Provider 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

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

Operation
Read read
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

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

Operation
Read read
Schema command
kosmo integrations:schema scaleway.scaleway_get_server --json
ParameterTypeRequiredDescription
server_id string yes The server ID (UUID).

scaleway.scaleway_list_volumes

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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

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

Operation
Read read
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.