Obambu cPanel MCP
v0.1.2MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants.
Values you need
| Variable | What it is | |
|---|---|---|
CPANEL_HOST | required | cPanel server hostname or IP address |
CPANEL_PORT | optional | cPanel API port Default: 2083 |
CPANEL_USERNAME | required | cPanel account username |
CPANEL_API_TOKEN | required secret | cPanel API token (Security -> Manage API Tokens) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add obambu-cpanel-mcp -e 'CPANEL_API_TOKEN=<CPANEL_API_TOKEN>' -e 'CPANEL_HOST=<CPANEL_HOST>' -e 'CPANEL_USERNAME=<CPANEL_USERNAME>' -- npx -y obambu-cpanel-mcp@0.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"obambu-cpanel-mcp": {
"args": [
"-y",
"obambu-cpanel-mcp@0.1.2"
],
"command": "npx",
"env": {
"CPANEL_API_TOKEN": "<CPANEL_API_TOKEN>",
"CPANEL_HOST": "<CPANEL_HOST>",
"CPANEL_USERNAME": "<CPANEL_USERNAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"obambu-cpanel-mcp": {
"args": [
"-y",
"obambu-cpanel-mcp@0.1.2"
],
"command": "npx",
"env": {
"CPANEL_API_TOKEN": "<CPANEL_API_TOKEN>",
"CPANEL_HOST": "<CPANEL_HOST>",
"CPANEL_USERNAME": "<CPANEL_USERNAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CPANEL_API_TOKEN",
"id": "cpanel-api-token",
"password": true,
"type": "promptString"
},
{
"description": "CPANEL_HOST",
"id": "cpanel-host",
"password": true,
"type": "promptString"
},
{
"description": "CPANEL_USERNAME",
"id": "cpanel-username",
"password": true,
"type": "promptString"
}
],
"servers": {
"obambu-cpanel-mcp": {
"args": [
"-y",
"obambu-cpanel-mcp@0.1.2"
],
"command": "npx",
"env": {
"CPANEL_API_TOKEN": "${input:cpanel-api-token}",
"CPANEL_HOST": "${input:cpanel-host}",
"CPANEL_USERNAME": "${input:cpanel-username}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.obambu-cpanel-mcp]
command = "npx"
args = ["-y", "obambu-cpanel-mcp@0.1.2"]
env = { "CPANEL_API_TOKEN" = "<CPANEL_API_TOKEN>", "CPANEL_HOST" = "<CPANEL_HOST>", "CPANEL_USERNAME" = "<CPANEL_USERNAME>" }For AI agents
- Ask the user for: CPANEL_HOST, CPANEL_USERNAME, CPANEL_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_account_summary, list_domains, list_dns_records, add_dns_record, edit_dns_record, remove_dns_record, list_emails, create_email, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json