home / mcp / cloudways mcp server
Cloudways MCP Server
Configuration
View docs{
"mcpServers": {
"aphraz-cw-mcp": {
"url": "http://localhost:7000/mcp",
"headers": {
"LOG_LEVEL": "INFO",
"REDIS_URL": "redis://localhost:6379/0",
"LOG_FORMAT": "console",
"ENCRYPTION_KEY": "YOUR_ENCRYPTION_KEY",
"HTTP_POOL_SIZE": "500",
"REDIS_POOL_SIZE": "500",
"RATE_LIMIT_WINDOW": "60",
"RATE_LIMIT_REQUESTS": "90"
}
}
}
}This MCP server provides a secure, modular interface to manage Cloudways infrastructure through 43+ tools. It enables you to perform server and application management, monitor activities, enforce security, and automate workflows with an AI-friendly protocol.
You interact with the Cloudways MCP Server using an MCP client that talks to the server over HTTP or via a local process. Start by starting the local MCP server or connecting to the remote HTTP endpoint, then issue tool calls to perform operations such as listing servers, retrieving app details, managing domains, or applying security policies. Each tool is designed to be invoked with structured parameters, and you can combine multiple tools to automate complex workflows.
Prerequisites: Python 3.11+, a running Redis server, and Cloudways API credentials.
1. Set up environment variables for secure operation.
2. Prepare and export the encryption key and Redis configuration.
3. Start the MCP server and verify it is listening at the default MCP URL.
Security and observability are built in. You get credential encryption, session isolation, rate limiting, audit logging, and structured monitoring. The MCP server supports both HTTP-based remote access and local stdio-based startup for development and experimentation.
Basic connectivity and authentication test to verify the MCP endpoint is reachable.
Retrieve session and customer authentication details to confirm identity and access rights.
Return the current rate limit status for the active session.
List Cloudways servers available under your account.
Fetch detailed information for a specific server.
Get details for a particular application.
Retrieve credentials for the specified application.
Obtain current settings for an application.
View a summary of application monitoring data.
List projects associated with your Cloudways account.
Fetch team member information for access control.
Retrieve configured alerts for proactive monitoring.
List SSH keys available for access to servers.
Show supported hosting providers.
List regions where resources can be provisioned.
Display available server size options.
Show apps that can be provisioned or managed.
List available software packages for installations.
Power on a specified server.
Power off a specified server.
Restart a specified server.
Create a backup snapshot of a server.
Fetch current server configuration.
Check disk usage on the server.
Run optimization on server storage to reclaim space.
Check the status of services running on the server.
Enable or disable a server service.
Configure or manage Varnish caching on the server.
Retrieve detailed monitoring metrics for the server.
Fetch server analytics data for insights.
Create a clone of an existing application.
Back up an application’s files and data.
Restore an application from a backup.
Rollback a restoration to a previous state.
Clear the application cache to refresh content.
Retrieve Varnish settings for an application.
Configure Varnish caching behavior for an application.
Reset file permissions for the application directory.
Enforce HTTPS for the application.
Add or modify the CNAME for the application domain.
Remove the CNAME from the application.
View traffic analytics for the application.
View PHP analytics for the application.
View MySQL analytics for the application.
List IPs whitelisted for SSH access.
List IPs whitelisted for MySQL access.
Update IP allowlists for SSH/MySQL access.
Check if an IP is blacklisted.
Grant SIAB access to a specific IP.
Grant Adminer access to a specific IP.
Install an SSL certificate on the target domain.
Remove an SSL certificate from the target domain.
Install Let’s Encrypt certificates for domains.
Renew Let’s Encrypt certificates for domains.
Enable automatic renewal for Let’s Encrypt certificates.
Revoke Let’s Encrypt certificates for domains.
Generate a Git SSH key pair for deployments.
Retrieve the generated Git SSH key.
Clone a repository using Git deployment tooling.
Pull latest changes for a deployed app.
View deployment history for Git-based deployments.
List available Git branches for deployment.