# WHMCS MCP Server [Health: Active]

**Category:** 🎧 Support & Service Management  
**Repository:** https://github.com/daddariotech/whmcs-mcp  
**GitHub Stars:** 4  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/whmcs-mcp-server

## Description
Connect Claude, ChatGPT, and Cursor to live WHMCS over MCP.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "whmcs-mcp-server": {
    "url": "https://your-server:3100/mcp"
  }
}
```

## Documentation

## What WHMCS MCP Server does

WHMCS MCP Server exposes WHMCS operations as MCP tools for AI clients. It covers customer records, invoices, payments, orders, hosted services, support tickets, quotes, contacts, credits, billable items, email, products, domains, staff, affiliates, promotions, servers, system data, reports, and projects.

The toolset includes both read and write operations. Examples include listing overdue invoices, creating invoices, accepting or cancelling orders, replying to tickets, updating services, registering or renewing domains, sending email, and managing projects. Every tool supports a `dryRun` mode so an AI client can preview a proposed change before committing it.

The `get_clients_online` tool reports users who accessed the WHMCS client area within a selected time window. It returns a count and client details such as ID, name, company, and last login time, without returning IP addresses.

## How it works

The server communicates with WHMCS through WHMCS API credentials and an API role. Permissions determine which operations the AI client can perform. A read-only role can retrieve records, while write permissions enable actions such as creating invoices, changing services, opening tickets, and managing domains.

An API access key can be configured in the WHMCS `configuration.php` file and supplied to the server as `WHMCS_ACCESS_KEY`. This avoids relying on a fixed outbound IP address. API credentials still require an appropriate role, and domain actions require the specifically named `DomainRegister`, `DomainTransfer`, or `DomainRenew` permissions.

The server can be installed as a binary with a systemd service or run with Docker Compose. It is intended for use with Claude, ChatGPT, and Cursor through MCP configuration.

## Setup and configuration

Before installation, create a WHMCS API role under **Setup → Staff Management → API Roles**, then create an API credential under **Setup → Staff Management → API Credentials**. The installer requests the WHMCS credentials and a license key.

Binary installation uses the provided install script and places the executable in `/usr/local/bin` while registering a systemd service. The Docker installer creates an environment file and starts the service with Docker Compose.

A commercial license is required after the trial period. A 14-day trial begins automatically on first run. For safer deployments, start with the listed read-only permissions and add write permissions only for operations the AI client needs.

The optional `get_clients_online` tool requires copying `getclientsonline.php` into the WHMCS `includes/api` directory and granting the custom `GetClientsOnline` permission to the API role. Project tools require the WHMCS Project Management addon to be active.

## Tools and capabilities

- Query and update clients, contacts, client groups, domains, addons, and notes.
- Retrieve, create, update, and collect payments for invoices.
- Inspect, create, accept, cancel, and flag orders for fraud.
- List, update, suspend, unsuspend, terminate, create, and upgrade services.
- Read and manage support tickets, replies, departments, statuses, and notes.
- Create, send, accept, update, and delete quotes.
- Register, transfer, renew, and update domain settings.
- Work with credits, billable items, payment methods, currencies, products, and email.
- Inspect WHMCS health, statistics, activity, staff, servers, affiliates, promotions, and tasks.
- Create and manage projects, tasks, messages, and task timers when the Project Management addon is enabled.

## Limitations and notes

The server’s effective access is bounded by the WHMCS API role. Granting full permissions allows the AI client to make operational changes, so permission scope should match the intended use. Domain write operations return an HTTP 403 response when their matching permissions are absent.

The project-management tools depend on a separate WHMCS addon. The clients-online feature depends on a custom API action and performs database reads only after that action is installed. WHMCS does not provide this feature through its stock API action set.

_Full upstream README: https://allmcps.com/mcp/whmcs-mcp-server/readme_

