RunCloud MCP Server
Provides server service management and log access, allowing Apache services to be listed and started, stopped, restarted, or reloaded, and server logs to be retrieved.
Allows installation and removal of PHP script installers, including Drupal, on RunCloud-managed web applications.
Provides Git repository management for web applications, including cloning repositories, inspecting Git info, changing branches, deploying code, customizing deployment scripts, and removing repositories.
Allows installation and removal of PHP script installers, including Joomla, on RunCloud-managed web applications.
Provides SSL certificate management, including installing, updating, redeploying, and deleting Let's Encrypt certificates for web applications and domains.
Provides database and service management for MySQL-backed databases, including creating/deleting databases and users, granting/revoking access, and retrieving server logs.
Provides server service management and log access, allowing NGINX services to be listed and started, stopped, restarted, or reloaded, and server logs to be retrieved.
Provides PHP management for servers and web applications, including listing available PHP versions, changing PHP-CLI version, and changing a web application's PHP version.
Allows installation and removal of PHP script installers, including phpMyAdmin, on RunCloud-managed web applications.
Allows installation and removal of PHP script installers, including WordPress, enabling WordPress site setup on RunCloud-managed servers.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
RunCloud MCP Server
MCP (Model Context Protocol) server that provides integration with RunCloud API, allowing AI assistants to manage servers, web applications, databases, and more through natural language.
What is MCP?
MCP (Model Context Protocol) is a protocol that enables AI assistants like Claude to interact with external tools and services. This server implements MCP to provide access to RunCloud's server management capabilities.
Related MCP server: SpinupWP MCP Server
Features
100+ tools covering ALL RunCloud API endpoints
Complete server management capabilities
Web application deployment and configuration
Database and user management
Advanced SSL certificate management (basic and per-domain)
Git integration with deployment script customization
Cron job and supervisor job management
Firewall rules and Fail2Ban management
Server settings (SSH, auto-updates, metadata)
Static data endpoints (timezones, collations, installers)
3rd party API key management
Real-time log access
Prerequisites
Node.js 16 or higher
RunCloud account with API access
RunCloud API Key and API Secret (get them from RunCloud Dashboard → Settings → API Key)
Installation
Clone or download this repository:
git clone <repository-url>
cd runcloud-mcp-serverInstall dependencies:
npm installConfigure your API credentials using one of these methods:
Method 1: Environment Variables (.env file)
Create a .env file in the project root:
RUNCLOUD_API_KEY=your_api_key_here
RUNCLOUD_API_SECRET=your_api_secret_here
RUNCLOUD_BASE_URL=https://manage.runcloud.io/api/v2Method 2: MCP Configuration (Recommended)
Configure directly in your MCP client configuration (see Configuration section).
Configuration
For Claude Desktop
Open Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the RunCloud server configuration:
Note: On macOS, if you're using Node.js from NVM or Homebrew, use the full path to node executable. Find it with which node.
{
"mcpServers": {
"runcloud": {
"command": "node",
"args": ["/absolute/path/to/runcloud-mcp-server/index.js"],
"env": {
"RUNCLOUD_API_KEY": "your_api_key_here",
"RUNCLOUD_API_SECRET": "your_api_secret_here"
}
}
}
}Restart Claude Desktop to load the new configuration.
For Project-Specific Configuration
Create an mcp.json file in your project root:
{
"mcpServers": {
"runcloud": {
"command": "node",
"args": ["/absolute/path/to/runcloud-mcp-server/index.js"],
"env": {
"RUNCLOUD_API_KEY": "your_api_key_here",
"RUNCLOUD_API_SECRET": "your_api_secret_here"
}
}
}
}Available Tools (100+ endpoints)
Server Management
list_servers- List all servers in your RunCloud accountget_server- Get detailed information about a specific servercreate_server- Create a new serverdelete_server- Delete a serverget_server_stats- Get statistics for a specific serverget_server_hardware_info- Get hardware information for a serverget_installation_script- Get installation script for a serverlist_shared_servers- List shared servers
Server Settings
get_ssh_settings- Get SSH configuration for a serverupdate_ssh_settings- Update SSH configuration (passwordless login, DNS, root login)update_server_metadata- Update server name and providerupdate_server_autoupdate- Configure auto-update settings
PHP Management
list_php_versions- List available PHP versions on a serverchange_php_cli_version- Change PHP-CLI version
Web Applications
list_webapps- List all web applications on a serverget_webapp- Get detailed information about a specific web applicationcreate_webapp- Create a new web application on a serverdelete_webapp- Delete a web applicationset_webapp_default- Set a web application as defaultremove_webapp_default- Remove web application from default statusrebuild_webapp- Rebuild a web applicationupdate_webapp_settings- Update web application settings (public path, stack, security settings)change_webapp_php_version- Change PHP version for a web applicationcreate_webapp_alias- Create a web application alias
Git Integration
clone_git_repository- Clone a git repository for a web applicationget_git_info- Get git repository informationchange_git_branch- Change git branchdeploy_git- Deploy code from git repositoryupdate_git_deployment_script- Customize GIT deployment scriptdelete_git_repository- Remove GIT repository from web application
Domain Management
list_domains- List all domains for a web applicationget_domain- Get information about a specific domainadd_domain- Add a domain to a web applicationdelete_domain- Delete a domain from a web application
SSL Management (Basic)
get_ssl_info- Get SSL certificate information for a web applicationinstall_ssl- Install SSL certificate (Let's Encrypt or custom)update_ssl- Update SSL configurationredeploy_ssl- Redeploy SSL certificate (Let's Encrypt only)delete_ssl- Delete SSL certificate
SSL Management (Advanced)
get_advanced_ssl_status- Get advanced SSL status for a web applicationswitch_ssl_mode- Switch SSL mode between basic and advancedinstall_domain_ssl- Install SSL certificate for a specific domainget_domain_ssl_info- Get SSL information for a specific domainupdate_domain_ssl- Update SSL certificate for a specific domainredeploy_domain_ssl- Redeploy SSL certificate for a specific domaindelete_domain_ssl- Delete SSL certificate from a specific domain
Database Management
list_databases- List all databases on a servercreate_database- Create a new databasedelete_database- Delete a databaselist_database_users- List all database userscreate_database_user- Create a new database userdelete_database_user- Delete a database userupdate_database_user_password- Update database user passwordgrant_database_access- Grant database access to a userrevoke_database_access- Revoke database access from a user
System Users
list_system_users- List all system userscreate_system_user- Create a new system userdelete_system_user- Delete a system userupdate_system_user_password- Update system user password
SSH Keys
list_ssh_keys- List SSH keys for a system useradd_ssh_key- Add SSH key for a system userdelete_ssh_key- Delete SSH key
Cron Jobs
list_cron_jobs- List all cron jobscreate_cron_job- Create a new cron jobdelete_cron_job- Delete a cron job
Services
list_services- List all services with their statuscontrol_service- Start, stop, restart, or reload a service
Supervisor Jobs
list_supervisor_jobs- List all supervisor jobscreate_supervisor_job- Create a new supervisor jobdelete_supervisor_job- Delete a supervisor jobcontrol_supervisor_job- Control a supervisor job (start/stop/restart)
Logs
get_server_logs- Get server logs (nginx, apache, mysql, etc.)get_webapp_logs- Get web application logs
Firewall Management
create_firewall_rule- Create a new firewall rulelist_firewall_rules- List all firewall rulesget_firewall_rule- Get information about a specific firewall ruledeploy_firewall_rules- Deploy firewall rules to the serverdelete_firewall_rule- Delete a firewall rule
Fail2Ban Management
list_blocked_ips- List blocked IP addresses in Fail2Banunblock_ip- Unblock an IP address from Fail2Ban
Script Installers
get_installed_script- Get installed PHP script informationremove_installed_script- Remove installed PHP scriptinstall_script- Install scripts (WordPress, Joomla, Drupal, phpMyAdmin, etc.)
Static Data Endpoints
list_database_collations- Get list of available database collationslist_timezones- Get list of available timezoneslist_script_installers- Get list of available script installerslist_ssl_protocols- Get list of available SSL protocols
3rd Party API Keys
create_external_api_key- Create a new 3rd party API keylist_external_api_keys- List all 3rd party API keysget_external_api_key- Get information about a specific API keyupdate_external_api_key- Update a 3rd party API keydelete_external_api_key- Delete a 3rd party API key
Health Check
health_check- Check API health status
Usage Examples
Once configured, you can use natural language to interact with RunCloud:
List all servers:
"Show me all my RunCloud servers"
"List servers"
Create a web application:
"Create a new WordPress site on server ID 123"
"Set up a PHP 8.1 application with domain example.com"
Manage databases:
"Create a new database called myapp_db on server 123"
"List all database users on my main server"
Deploy from Git:
"Deploy the latest code from my GitHub repository"
"Change the deployment branch to develop"
SSL Management:
"Install Let's Encrypt SSL for example.com"
"Check SSL certificate status"
Security Notes
Never commit your API credentials to version control
Store API keys securely using environment variables or secure configuration
The
.envfile is already included in.gitignoreConsider using different API keys for different environments
Troubleshooting
Server not appearing in Claude:
Ensure you've restarted Claude Desktop after configuration
Check that the path to
index.jsis absolute and correctVerify your API credentials are valid
Authentication errors:
Double-check your API Key and Secret
Ensure they're properly escaped in JSON configuration
Test credentials using:
curl -u YOUR_API_KEY:YOUR_API_SECRET https://manage.runcloud.io/api/v2/ping
Tool execution errors:
Check the Claude Desktop logs for detailed error messages
Ensure you have proper permissions on RunCloud
Verify the server/resource IDs you're using exist
Development
To modify or extend this server:
The main server code is in
index.jsAll RunCloud API endpoints are implemented as separate methods
Add new tools by:
Adding tool definition in
setupToolHandlers()Adding case in the switch statement
Implementing the method
Support
RunCloud API Documentation: https://runcloud.io/docs/api
MCP Documentation: https://modelcontextprotocol.io
RunCloud Support: https://runcloud.io/support
Version History
Version 2.0.0
Complete implementation of ALL RunCloud API endpoints (100+ tools)
Added SSL certificate management (basic and advanced modes)
Added firewall rules and Fail2Ban management
Added server settings (SSH, auto-updates, metadata)
Added static data endpoints
Added 3rd party API key management
Enhanced Git integration with deployment script customization
Full feature parity with RunCloud API v2
Version 1.0.0
Initial release with 60+ core endpoints
Basic server, webapp, database, and user management
Author
Aleksander M.
License
MIT License - See LICENSE file for details
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read RunCloud servers, web apps, databases and logs; deploy, restart services, renew SSL.
Manage HepCloud (Turkish cloud) servers and managed PostgreSQL from your AI assistant. OAuth 2.1.
Manage Rivervo websites, domains, mail, cloud servers and app deployments from your AI assistant.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to deploy and manage applications, databases, object storage, VMs, DNS, and infrastructure on the Liara cloud platform through natural language commands.10066 npm7MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to manage SpinupWP infrastructure, including servers, WordPress sites, and SSH keys through the SpinupWP v1 JSON API. Users can perform actions like provisioning sites, purging caches, and restarting services via natural language commands.17MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Cloudways infrastructure, including servers, applications, monitoring, and security via the Cloudways API.-
- AlicenseNot gradedqualityCmaintenanceAI-native server intelligence layer for RunCloud-managed servers. Enables Claude Code to diagnose issues, manage web apps, and automate fixes in plain English via 150+ MCP tools.9 npm1ISC