WHMCS MCP Server logo

WHMCS MCP Server

Manage WHMCS clients, billing, tickets, domains, services, and projects through MCP tools with dry-run support.

Install WHMCS MCP Server

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://your-server:3100/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http whmcs-mcp-server https://your-server:3100/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

WHMCS MCP Server connects Claude, ChatGPT, and Cursor to a live WHMCS installation through the Model Context Protocol. It exposes tools for client records, invoices, orders, services, support tickets, domains, quotes, email, administration, and other WHMCS operations. All tools support dry-run mode, allowing proposed changes to be reviewed before execution. Reach for it when an AI client needs to inspect or manage WHMCS data using an API role with controlled permissions.

Use cases

  • Review overdue invoices and prepare payment reminders
  • Manage support tickets and send ticket replies
  • Inspect and update client services and domains
  • Preview WHMCS changes with dry-run mode

Key features

  • WHMCS clients, billing, orders, and services tools
  • Support ticket, quote, contact, and email management
  • Domain registration, transfer, renewal, and settings tools
  • Project Management addon support
  • Dry-run mode for every tool
  • Binary and Docker installation options

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit11d agoMost recent push to the default branch.

How WHMCS MCP Server works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about WHMCS MCP Server

WHMCS MCP Server is an MCP server that connects AI clients such as Claude, ChatGPT, and Cursor to WHMCS. Its main tools read and manage clients, invoices, orders, services, tickets, domains, quotes, contacts, email, administration, and projects through WHMCS API credentials.

Install it with the supplied binary or Docker installation script. The binary installer places the executable in `/usr/local/bin` and registers a systemd service; the Docker installer writes an environment file and starts the stack with Docker Compose. Both installers request WHMCS credentials and a license key.

Create a WHMCS API role and credential, then grant only the permissions required by the intended tools. A read-only role can inspect WHMCS data, while write permissions enable changes. Domain actions require `DomainRegister`, `DomainTransfer`, and `DomainRenew` specifically.

Yes, WHMCS MCP Server works with Cursor. The server also connects to Claude and ChatGPT, using WHMCS API credentials and the permissions assigned to its API role.

Install the custom `getclientsonline.php` API action in the WHMCS `includes/api` directory and grant `GetClientsOnline` to the server’s API role. The tool then reports recent client logins, a total count, and basic client details without IP addresses.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWHMCS MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/whmcs-mcp-server?style=directory)](https://allmcps.com/mcp/whmcs-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/whmcs-mcp-server"><img src="https://allmcps.com/api/badge/whmcs-mcp-server?style=directory" alt="WHMCS MCP Server on AllMCPs" /></a>