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 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.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
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.
kosmo integrations:call scaleway.scaleway_list_servers '{"page":1,"per_page":1}' --json 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.
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 - Parameters
- page, per_page
kosmo integrations:call scaleway.scaleway_list_servers '{"page":1,"per_page":1}' --json 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 - Parameters
- server_id
kosmo integrations:call scaleway.scaleway_get_server '{"server_id":"example_server_id"}' --json 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 - Parameters
- page, per_page
kosmo integrations:call scaleway.scaleway_list_volumes '{"page":1,"per_page":1}' --json 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 - Parameters
- page, per_page
kosmo integrations:call scaleway.scaleway_list_snapshots '{"page":1,"per_page":1}' --json 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 - Parameters
- page, per_page
kosmo integrations:call scaleway.scaleway_list_security_groups '{"page":1,"per_page":1}' --json 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 - Parameters
- page, per_page
kosmo integrations:call scaleway.scaleway_list_ips '{"page":1,"per_page":1}' --json 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 - Parameters
- none
kosmo integrations:call scaleway.scaleway_get_current_user '{}' --json 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
kosmo integrations:schema scaleway.scaleway_list_servers --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema scaleway.scaleway_get_server --json | Parameter | Type | Required | Description |
|---|---|---|---|
server_id | string | yes | The server ID (UUID). |
scaleway.scaleway_list_volumes 2 parameters
kosmo integrations:schema scaleway.scaleway_list_volumes --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema scaleway.scaleway_list_snapshots --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema scaleway.scaleway_list_security_groups --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema scaleway.scaleway_list_ips --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema scaleway.scaleway_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| 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.