Cloudways MCP by usefulapi
v1.1.0Read servers, apps, logs, traffic and billing; restart servers and clear app caches in Cloudways.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cloudways_list_servers List servers
List the Flexible servers on the account with status, provider, region and app count. Good first call to find a server_id. Cloudways API: GET /servers.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
page | integer | Page number for pagination (default 1). |
provider | string | Filter by cloud provider code (for example do, vultr, linode, amazon, gce). |
sort_by | string | |
sort_order | string | |
status | string | Filter by server status: 1 = running, 0 = stopped. |
cloudways_get_server Get server
Get the details of one Flexible server: label, cloud, region, instance type, IP and status. Cloudways API: GET /servers/{serverId}.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
cloudways_get_server_settings Get server settings
Get the PHP and server settings of a server (memory_limit, upload_size, execution_limit, timezone) and its installed package versions. Cloudways API: GET /server/manage/settings.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
cloudways_get_server_usage Get server usage
Get bandwidth usage (type bw) for a server, or disk size per application (type db). Cloudways API: GET /server/monitor/summary.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
type * | string | "bw" for server bandwidth usage, "db" for disk size per application. |
cloudways_get_operation Get operation status
Check a background operation (for example a server restart or a backup) by its operation_id. Returns whether it is still running, completed or failed. Cloudways API: GET /operation/{id}.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string | The operation_id returned by a write tool. |
cloudways_list_regions List regions
List the cloud regions available for each provider (for new servers). Cloudways API: GET /regions.
cloudways_list_server_sizes List server sizes
List the server sizes (instance types) available for each cloud provider. Cloudways API: GET /server_sizes.
cloudways_list_apps List applications
List the Flexible applications on the account (WordPress, Laravel, Magento and others), with their server and state. Use the app_id with the other app tools. Cloudways API: GET /apps/flexible.
| Parameter | Type | Description |
|---|---|---|
app_type | string | Filter by application type, for example wordpress or laravel. |
is_staging | string | 1 = staging copies only, 0 = production only. |
limit | integer | Results per page. |
page | integer | Page number for pagination (default 1). |
server_id | integer | Only applications on this server. |
sort_by | string | |
sort_order | string |
cloudways_get_app Get application
Get the details of one Flexible application: label, domain, server, app type and version. Cloudways API: GET /app/{appId}.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | Numeric id of the application (from cloudways_list_apps). |
cloudways_list_app_types List application types
List the application types and their available versions (use these when choosing an app for a new server). Cloudways API: GET /apps.
cloudways_get_app_traffic Get application traffic
Get traffic analytics for an application over a period: top IPs, bots, URLs or status codes. Cloudways API: GET /app/analytics/traffic.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | Numeric id of the application (from cloudways_list_apps). |
duration * | string | Period to report on. |
resource * | string | Which breakdown to return. |
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
cloudways_get_app_logs Get application logs
Get recent access or error log lines of an application. Pick the log type and the source tab. Cloudways API: GET /app/logs/{type}.
| Parameter | Type | Description |
|---|---|---|
app_fqdn * | string | Application domain (FQDN), for example example.com. |
app_id * | integer | Numeric id of the application (from cloudways_list_apps). |
resource * | string | Log source tab, as shown in the Cloudways UI (for example backend or static for access logs). |
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
type * | string | access = request logs, error = error logs. |
cloudways_get_app_cron_jobs Get application cron jobs
List the cron jobs of an application on a server. Cloudways API: GET /app/manage/cronList.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | Numeric id of the application (from cloudways_list_apps). |
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
cloudways_get_app_vulnerabilities Get application vulnerabilities
List the known vulnerabilities found for an application (from the Cloudways security scan). Cloudways API: GET /app/vulnerabilities/{app_id}.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | Numeric id of the application (from cloudways_list_apps). |
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
cloudways_list_projects List projects
List the projects that group servers and applications on the account. Cloudways API: GET /project.
cloudways_list_team_members List team members
List the team members that have access to the account. Cloudways API: GET /member.
cloudways_list_alerts List CloudwaysBot alerts
List the server and application alerts raised by CloudwaysBot, newest first. Cloudways API: GET /alerts/.
cloudways_get_billing_summary Get billing summary
Get the billing summary of the account: current month charges and the estimated amount due. Cloudways API: GET /account/billing/summary.
cloudways_list_invoices List invoices
List the invoices of the account, newest first. Cloudways API: GET /account/invoices.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default 1). |
per_page | integer | Invoices per page. |
cloudways_restart_server Restart server
Restart a server. Every app on it goes offline for a short time. Returns an operation_id to poll with cloudways_get_operation. Cloudways API: POST /server/restart.
| Parameter | Type | Description |
|---|---|---|
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
cloudways_clear_app_cache Clear application cache
Clear all cache of an application (page cache and object cache). Safe to repeat. Cloudways API: POST /app/cache/purge.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | Numeric id of the application (from cloudways_list_apps). |
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |
cloudways_update_server_label Rename server
Change the label (display name) of a server. Safe to repeat with the same label. Cloudways API: PUT /server/{serverId}.
| Parameter | Type | Description |
|---|---|---|
label * | string | New label of the server. |
server_id * | integer | Numeric id of the server (from cloudways_list_servers). |