Obambu cPanel MCP
v0.1.2MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_account_summary
Get an overview of the cPanel account: disk/bandwidth quota usage and general stats.
list_domains
List all domains, subdomains, addon domains and parked domains on the account.
list_dns_records
List DNS zone records for a domain.
| Parameter | Type | Description |
|---|---|---|
zone * | string | Domain name whose DNS zone to read, e.g. example.com |
add_dns_record
Add a DNS record to a zone. Provide type-specific fields in `fields` (e.g. A record: {address: '1.2.3.4'}; CNAME: {cname: 'target.example.com'}; TXT: {txtdata: 'value'}; MX: {exchange: 'mail.example.com', preference: '10'}).
| Parameter | Type | Description |
|---|---|---|
name * | string | Record name, e.g. sub.example.com or example.com |
type * | string | Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA... |
zone * | string | Domain name owning the zone, e.g. example.com |
fields | object | Type-specific value fields required by cPanel for this record type |
ttl | integer | TTL in seconds, defaults to 14400 |
edit_dns_record
Edit an existing DNS record. `line` is the record's line number as returned by list_dns_records.
| Parameter | Type | Description |
|---|---|---|
line * | integer | Line number of the record in the zone (from list_dns_records) |
type * | string | Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA... |
zone * | string | Domain name owning the zone |
fields | object | Type-specific value fields to update for this record type |
ttl | integer |
remove_dns_record
Remove a DNS record from a zone. `line` is the record's line number as returned by list_dns_records.
| Parameter | Type | Description |
|---|---|---|
line * | integer | Line number of the record to remove |
zone * | string | Domain name owning the zone |
list_emails
List email accounts, optionally filtered by domain.
| Parameter | Type | Description |
|---|---|---|
domain | string | Limit results to this domain |
create_email
Create a new email account.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain for the mailbox, e.g. example.com |
email * | string | Local part of the address, e.g. 'contact' for contact@example.com |
password * | string | Password for the new mailbox |
quotaMb | integer | Mailbox quota in MB, 0 for unlimited |
delete_email
Delete an email account.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain of the mailbox |
email * | string | Local part of the address to delete |
list_files
List files and directories at a path within the account's home directory.
| Parameter | Type | Description |
|---|---|---|
dir | string | Directory to list, relative to the home directory |
list_databases
List MySQL databases on the account.
list_database_users
List MySQL database users on the account.
create_database
Create a new MySQL database.
| Parameter | Type | Description |
|---|---|---|
name * | string | Database name (without the cPanel account prefix) |
create_database_user
Create a new MySQL database user.
| Parameter | Type | Description |
|---|---|---|
name * | string | Username (without the cPanel account prefix) |
password * | string | Password for the new user |
grant_database_privileges
Grant a database user privileges on a database.
| Parameter | Type | Description |
|---|---|---|
database * | string | Full database name (as returned by list_databases) |
user * | string | Full database username (as returned by list_database_users) |
privileges | string | Comma-separated privileges, defaults to ALL PRIVILEGES |
cpanel_uapi_call
Call any cPanel UAPI module/function directly. Use this for functionality not covered by the other tools. Refer to cPanel UAPI documentation for module/function names and parameters.
| Parameter | Type | Description |
|---|---|---|
function * | string | UAPI function name within the module |
module * | string | UAPI module name, e.g. 'Email', 'DNS', 'Mysql', 'DomainInfo' |
params | object | Query parameters to pass to the function |