KosmoKrator

productivity

Cloudways MCP Integration for Claude Agent SDK

Connect Cloudways to Claude Agent 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 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.

Cloudways MCP Config for Claude Agent SDK

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

{
  "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 Claude Agent SDK

Claude Agent 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