KosmoKrator

productivity

Kamatera MCP Integration for Vercel AI SDK

Connect Kamatera to Vercel AI 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Kamatera MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI 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