MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A Model Context Protocol (MCP) server that lets an AI assistant (Claude, etc.) manage a cPanel hosting account through the cPanel UAPI.
It exposes tools for domains, DNS zones, email accounts, MySQL databases, and file listing, plus a generic escape hatch to call any other UAPI module/function.
The four env vars below can come from any cPanel host, but here's how to find them on Obambu:
CPANEL_HOST β your server hostname, e.g. cp4.obambu.com (or your own domain if cPanel is reachable at https://yourdomain.com:2083). Find it in your Obambu welcome email, or in your domain's DNS zone: look for an A record named cpanel (e.g. cpanel.yourdomain.com) β that same server also answers at its cpX.obambu.com hostname.CPANEL_PORT β 00000 (cPanel's default HTTPS port). Leave it unless your host says otherwise.CPANEL_USERNAME β your cPanel account username, shown top-right when logged into cPanel, or in the welcome email Obambu sent when the hosting account was created.CPANEL_API_TOKEN β generate one yourself, it is not your cPanel password:
https://<CPANEL_HOST>:00000mcp-server), optionally restrict it to specific ACLs, then CreatePublished on npm as obambu-cpanel-mcp β no clone or build needed. Add it to your MCP client config (e.g. Claude Desktop / Claude Code):
Edit .env with your cPanel details, then:
For local development without building first:
When running from source, point your MCP client at the built entrypoint instead of npx:
| Tool | Description |
|---|---|
get_account_summary | Disk/bandwidth quota usage and general stats |
list_domains | Domains, subdomains, addon domains and parked domains |
list_dns_records | Read a domain's DNS zone |
add_dns_record | Add a DNS record |
edit_dns_record | Edit an existing DNS record |
remove_dns_record | Remove a DNS record |
list_emails | List email accounts |
create_email | Create an email account |
delete_email | Delete an email account |
list_files | List files/directories under the account home directory |
list_databases | List MySQL databases |
list_database_users | List MySQL database users |
create_database | Create a MySQL database |
create_database_user | Create a MySQL database user |
grant_database_privileges | Grant a user privileges on a database |
cpanel_uapi_call | Call any UAPI module/function directly for anything not covered above |
Once connected, just talk to your assistant in plain language β it picks the right tool:
get_account_summarylist_domainslist_dns_recordsadd_dns_recordcreate_emailcreate_database + create_database_user + grant_database_privilegeslist_filescpanel_uapi_call with module: "Fileman", function: "get_file_content" / save_file_contentBecause tool calls map directly to UAPI modules, this is also useful for real migration/deployment workflows β e.g. moving a site to a new cPanel account, provisioning a database for a fresh app, or auditing DNS before a domain cutover.
FilemanOnly list_files (backed by Fileman::list_files) and, through the cpanel_uapi_call escape hatch, get_file_content / save_file_content are known to work reliably for reading and writing individual files. Bulk filesystem operations (extract_files, rename, mkdir, fileop, delete_files, ...) are not guaranteed to be available depending on your cPanel version/provider β test before relying on them, and prefer cPanel's File Manager UI for bulk moves, extraction, and deletion.
.env file (it's git-ignored by default).cpanel_uapi_call tool can call any UAPI function available to your account β treat it with the same care as direct API/token access.MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/obambu-cpanel-mcp)<a href="https://allmcps.com/mcp/obambu-cpanel-mcp"><img src="https://allmcps.com/api/badge/obambu-cpanel-mcp?style=directory" alt="Obambu cPanel MCP on AllMCPs" /></a>