KosmoKrator

productivity

UpCloud MCP Integration for OpenAI Agents SDK

Connect UpCloud to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect UpCloud to OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

UpCloud MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only UpCloud 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.

UpCloud Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the UpCloud integration catalog.

MCP toolSource functionTypeDescription
integration__upcloud__upcloud_list_servers upcloud.upcloud_list_servers Read List all cloud servers on the UpCloud account.
integration__upcloud__upcloud_get_server upcloud.upcloud_get_server Read Get details for a specific UpCloud server by UUID.
integration__upcloud__upcloud_list_storages upcloud.upcloud_list_storages Read List storage devices on the UpCloud account. Optionally filter by type (disk, backup, cdrom).
integration__upcloud__upcloud_list_networks upcloud.upcloud_list_networks Read List private networks on the UpCloud account.
integration__upcloud__upcloud_list_ips upcloud.upcloud_list_ips Read List IP addresses on the UpCloud account.
integration__upcloud__upcloud_list_zones upcloud.upcloud_list_zones Read List available UpCloud zones (data centers).
integration__upcloud__upcloud_get_current_user upcloud.upcloud_get_current_user Read Get the profile of the currently authenticated UpCloud user. Useful for verifying credentials and displaying account information.

Related UpCloud Pages