KosmoKrator

productivity

Kamatera MCP Integration for Claude Agent SDK

Connect Kamatera to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect Kamatera to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Kamatera MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Kamatera Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Kamatera integration catalog.

MCP toolSource functionTypeDescription
integration__kamatera__kamatera_list_servers kamatera.kamatera_list_servers Read List all cloud servers in the Kamatera account. Returns IDs, names, status, and configuration details.
integration__kamatera__kamatera_get_server kamatera.kamatera_get_server Read Get details for a specific Kamatera cloud server by ID. Returns full server information including status, CPU, RAM, disk, and IP addresses.
integration__kamatera__kamatera_create_server kamatera.kamatera_create_server Write Create a new cloud server in Kamatera. Requires a name, datacenter, image, CPU count, RAM, and disk size.
integration__kamatera__kamatera_list_networks kamatera.kamatera_list_networks Read List all networks in the Kamatera account. Returns network IDs, names, datacenter, and CIDR details.
integration__kamatera__kamatera_list_images kamatera.kamatera_list_images Read List all available images for server creation in Kamatera. Returns image IDs, names, OS type, and sizes.
integration__kamatera__kamatera_list_datacenters kamatera.kamatera_list_datacenters Read List all available Kamatera datacenter locations. Returns datacenter IDs, names, city, and country.
integration__kamatera__kamatera_get_current_user kamatera.kamatera_get_current_user Read Get information about the current authenticated Kamatera account, including email, name, and account details.

Related Kamatera Pages