KosmoKrator

productivity

Cloudways MCP Integration for Vercel AI SDK

Connect Cloudways to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Cloudways 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.

Cloudways MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Cloudways Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Cloudways integration catalog.

MCP toolSource functionTypeDescription
integration__cloudways__cloudways_list_servers cloudways.cloudways_list_servers Read List all servers in the Cloudways account.
integration__cloudways__cloudways_get_server cloudways.cloudways_get_server Read Get details for a specific Cloudways server.
integration__cloudways__cloudways_list_apps cloudways.cloudways_list_apps Read List all applications across all servers in the Cloudways account.
integration__cloudways__cloudways_get_app cloudways.cloudways_get_app Read Get details for a specific Cloudways application.
integration__cloudways__cloudways_list_domains cloudways.cloudways_list_domains Read List domains for a specific Cloudways application.
integration__cloudways__cloudways_list_projects cloudways.cloudways_list_projects Read List all projects in the Cloudways account.
integration__cloudways__cloudways_get_current_user cloudways.cloudways_get_current_user Read Get the current authenticated Cloudways account information.

Related Cloudways Pages