KosmoKrator

productivity

Scaleway MCP Integration for LangChain

Connect Scaleway to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Scaleway to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Scaleway MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-scaleway": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=scaleway",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=scaleway --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Scaleway instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Scaleway Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Scaleway integration catalog.

MCP toolSource functionTypeDescription
integration__scaleway__scaleway_list_servers scaleway.scaleway_list_servers Read List all servers in the Scaleway zone. Returns IDs, names, status, type, and IP addresses.
integration__scaleway__scaleway_get_server scaleway.scaleway_get_server Read Get details for a specific Scaleway server by ID. Returns full server information including image, volumes, and public IP.
integration__scaleway__scaleway_list_volumes scaleway.scaleway_list_volumes Read List all block storage volumes in the Scaleway zone. Returns IDs, names, size, type, and server attachment.
integration__scaleway__scaleway_list_snapshots scaleway.scaleway_list_snapshots Read List all volume snapshots in the Scaleway zone. Returns IDs, names, size, and creation date.
integration__scaleway__scaleway_list_security_groups scaleway.scaleway_list_security_groups Read List all security groups (firewall rule sets) in the Scaleway zone. Returns IDs, names, descriptions, and rules.
integration__scaleway__scaleway_list_ips scaleway.scaleway_list_ips Read List all flexible IPs in the Scaleway zone. Returns IDs, addresses, and server assignments.
integration__scaleway__scaleway_get_current_user scaleway.scaleway_get_current_user Read Get information about the current authenticated Scaleway account, including email, organization, and status.

Related Scaleway Pages