Obambu cPanel MCP

v0.1.2
io.github.RodrigueDev13/obambu-cpanel-mcp Checked 3 hours ago Published 4 months ago

MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants.

Values you need

VariableWhat it is
CPANEL_HOSTrequired cPanel server hostname or IP address
CPANEL_PORToptional cPanel API port Default: 2083
CPANEL_USERNAMErequired cPanel account username
CPANEL_API_TOKENrequired 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.2
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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, ….
  5. 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