
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
obambu-cpanel-mcp
Advanced tools
MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants
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.
git clone https://github.com/<your-username>/obambu-cpanel-mcp.git
cd obambu-cpanel-mcp
npm install
cp .env.example .env
Edit .env with your cPanel details:
CPANEL_HOST=your-server-hostname-or-ip
CPANEL_PORT=2083
CPANEL_USERNAME=your-cpanel-username
CPANEL_API_TOKEN=paste-your-api-token-here
Build and run:
npm run build
npm start
For local development without building first:
npm run dev
Add it to your MCP client config (e.g. Claude Desktop / Claude Code), pointing at the built entrypoint:
{
"mcpServers": {
"obambu-cpanel": {
"command": "node",
"args": ["/absolute/path/to/obambu-cpanel-mcp/dist/index.js"],
"env": {
"CPANEL_HOST": "your-server-hostname-or-ip",
"CPANEL_PORT": "2083",
"CPANEL_USERNAME": "your-cpanel-username",
"CPANEL_API_TOKEN": "your-api-token"
}
}
}
}
| 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
FAQs
MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants
We found that obambu-cpanel-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.