Skip to main content
Back to MCP ServerSelf-Hostable

n8n + WHMCS MCP Server

n8n connects to WHMCS MCP Server through its native MCP Client Tool node (available since v1.88, April 2025). Build workflows that query WHMCS data on a schedule, trigger actions based on invoice status, or pipe billing data to Slack, email, or Google Sheets. Self-hostable, so your data stays on your infrastructure.

What You Can Automate

Build WHMCS workflows that run on autopilot. No code required.

Automated Weekly Reports

A cron trigger fires every Monday at 9 AM. n8n calls MCP for revenue data, formats it as a Slack message with week-over-week comparison, and posts it to your team channel. No manual work after initial setup.

Workflow:

n8n Cron -> MCP: Get weekly revenue -> Format -> Slack #revenue channel

Your team gets a formatted revenue report every Monday without anyone logging into WHMCS.

Overdue Invoice Pipeline

Daily workflow checks for invoices overdue by more than 7 days. Filters out clients on payment plans. Sends personalized email reminders with invoice amount, due date, and payment link. Notifies your collections team on Slack.

Workflow:

n8n Cron -> MCP: Get overdue invoices > 7 days -> Filter -> Send email -> Slack notify

Reduces manual follow-up. Average collection time drops because reminders go out consistently.

Ticket Escalation

Every 30 minutes, n8n queries MCP for open tickets without a reply for over 2 hours. Filters for high-priority tickets. Sends a Slack alert to the on-call team with ticket ID, subject, client name, and age.

Workflow:

n8n Cron (30min) -> MCP: Open tickets > 2h no reply -> Filter priority -> Slack @oncall

No ticket sits unanswered for more than 2.5 hours. SLA compliance improves.

Client Onboarding Workflow

Triggered by a WHMCS webhook when a new client registers. n8n queries MCP for full client details, sends a welcome email sequence, creates a dedicated Slack channel, and logs the client in your external CRM.

Workflow:

WHMCS Webhook -> n8n -> MCP: Get client details -> Email + Slack + CRM

Every new client gets the same consistent onboarding experience within minutes of signup.

How to Connect

Get n8n talking to your WHMCS in minutes.

1

Install MCP Server on your WHMCS

Upload the addon to your WHMCS installation, activate it, and generate a Bearer token. Full installation guide

2

Add MCP Client Tool node in n8n

In your n8n workflow editor, add the “MCP Client Tool” node (available since v1.88). Configure it with your WHMCS MCP Server URL and Bearer token.

// n8n MCP Client Tool Node Configuration
// 1. Add "MCP Client Tool" node to your workflow
// 2. Set Connection Type: SSE
// 3. Enter your MCP Server URL and Bearer token

URL: https://your-whmcs.com/modules/addons/mx_mcp/mcp.php
Authorization: Bearer YOUR_BEARER_TOKEN

// Then connect to any AI node (OpenAI, Anthropic, etc.)
// The AI agent will use MCP tools automatically.
3

Connect to an AI agent

Wire the MCP Client Tool to an AI agent node (OpenAI, Anthropic, or local model). The agent will use MCP tools to query your WHMCS automatically.

4

Add triggers and outputs

Add a Cron trigger for scheduled workflows, or webhook for event-driven automation. Route outputs to Slack, email, Google Sheets, or any of n8n's 400+ integrations.

Use External AI Safely

Extract data via MCP, sanitize it, and send to external services. Your raw WHMCS data never leaves your server.

Example: Automated Market Report

1

n8n Cron trigger fires every Monday at 9 AM

2

MCP Client Tool queries WHMCS for aggregated revenue, product counts, and ticket stats (no client names or emails)

3

Transform node sanitizes and formats the data into a summary report

4

Output sends the sanitized report to Google Sheets, Slack, or email for your team

Your sensitive WHMCS data never leaves your server. Only aggregated, non-identifiable summaries are shared externally.

Ready-to-Use Workflow Recipes

Copy these workflow patterns to get started. Each recipe uses MCP Server to query WHMCS data automatically.

Weekly Revenue Report to Slack

Weekly

Trigger: Cron: Every Monday 9:00 AM

  1. 1MCP: Get revenue by product (last 7 days)
  2. 2Code: Calculate week-over-week change
  3. 3Slack: Post formatted report to #revenue

Overdue Invoice Reminder Pipeline

Daily

Trigger: Cron: Daily 10:00 AM

  1. 1MCP: Get overdue invoices > 7 days
  2. 2Filter: Exclude payment plan clients
  3. 3Email: Send personalized reminder per client
  4. 4Slack: Notify collections team

New Client Onboarding

Event-driven

Trigger: WHMCS Webhook: Client Created

  1. 1MCP: Get full client details
  2. 2Email: Send welcome sequence
  3. 3Slack: Create client channel
  4. 4CRM: Create contact record

Ticket SLA Monitor

Every 30 min

Trigger: Cron: Every 30 minutes

  1. 1MCP: Get open tickets without reply > 2 hours
  2. 2Filter: Priority High or Critical
  3. 3Slack: Alert @oncall with ticket summary
  4. 4MCP: Add internal note "SLA alert sent"

Data Flow

How n8n Automates WHMCS

n8n connects to MCP Server as an AI tool node. Build automated workflows that query your WHMCS data on a schedule.

MX Metrics
MX Metrics
WHMCS
WHMCS
MX Proposals
MX Proposals
MCP Server

MCP Server

AI Integration Hub

n8n

Better Together

MCP Server works with the full MX ecosystem. More modules, more data, more workflows.

n8n workflows can pull MX Metrics analytics via MCP. Build automated dashboards: every Monday, n8n queries MRR, churn, and LTV data from MX Metrics and sends a formatted report to your team.

Learn about MX Metrics →

Automate the proposal pipeline: when a lead fills out a form, n8n queries client history via MCP and auto-generates a proposal with MX Proposals. Follow up automatically if the proposal is not signed within 48 hours.

Learn about MX Proposals →

Self-hostable. Your data stays home.

n8n is self-hostable. Run it on the same server or network as your WHMCS and all MCP traffic stays internal. The MCP Client Tool node connects directly to your MCP Server URL. No data passes through n8n cloud unless you choose their hosted version.

For fully offline AI operations, combine n8n with local AI models.

Frequently Asked Questions

Does n8n support MCP natively?
Yes. Since n8n v1.88 (April 2025), the "MCP Client Tool" node is available natively in the workflow editor. It supports SSE and HTTP Streaming transports. No plugins or community nodes needed. You find it in the node palette under "AI" or by searching "MCP".
Can I self-host n8n alongside WHMCS on the same server?
Yes, and this is the recommended setup for privacy. Run n8n in Docker on the same server or local network as your WHMCS. All MCP queries stay within your infrastructure. The MCP Client Tool connects to your WHMCS URL over the local network, so no data leaves your server. A typical setup uses Docker Compose with n8n and WHMCS containers on the same network.
What can I automate with n8n and MCP Server?
Anything you do manually in WHMCS on a regular basis: revenue reports, invoice reminders, ticket triage, client onboarding, data syncing to Slack or email, SLA monitoring, and churn alerts. MCP Server provides 45 tools that n8n can call in any combination. The key advantage over direct WHMCS API calls is that n8n can chain MCP tools with an AI agent that interprets results and makes decisions.
Do I need an external AI model to use n8n with MCP?
For AI-powered workflows (where the agent interprets data and decides what to do), yes. Connect the MCP Client Tool to an AI agent node (OpenAI, Anthropic, or a local model via Ollama). For simple data extraction workflows (get overdue invoices, format, send to Slack), you can call MCP tools directly through the HTTP Request node without an AI model.
Is n8n free?
n8n Community Edition is free and self-hostable with no workflow limits. n8n Cloud has a free tier (up to 5 active workflows). You need a WHMCS MCP Server license ($22/month) to connect n8n to your WHMCS. Total cost for a self-hosted setup: $22/month for MCP Server + $0 for n8n Community.
How is n8n different from using Claude Desktop with MCP?
Claude Desktop is interactive: you ask questions and get answers in real time. n8n is automated: you build workflows that run on schedules or triggers without human input. Use Claude Desktop for ad-hoc queries ("What is our MRR?") and n8n for recurring tasks ("Send weekly revenue report every Monday"). Many teams use both.

Automate your WHMCS with n8n

Install MCP Server, connect n8n, and build workflows that run your hosting business on autopilot.

SSE via MCP Client Tool node46 WHMCS Tools$22/month