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.
Install MCP Server on your WHMCS
Upload the addon to your WHMCS installation, activate it, and generate a Bearer token. Full installation guide
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.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.
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
n8n Cron trigger fires every Monday at 9 AM
MCP Client Tool queries WHMCS for aggregated revenue, product counts, and ticket stats (no client names or emails)
Transform node sanitizes and formats the data into a summary report
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
WeeklyTrigger: Cron: Every Monday 9:00 AM
- 1MCP: Get revenue by product (last 7 days)
- 2Code: Calculate week-over-week change
- 3Slack: Post formatted report to #revenue
Overdue Invoice Reminder Pipeline
DailyTrigger: Cron: Daily 10:00 AM
- 1MCP: Get overdue invoices > 7 days
- 2Filter: Exclude payment plan clients
- 3Email: Send personalized reminder per client
- 4Slack: Notify collections team
New Client Onboarding
Event-drivenTrigger: WHMCS Webhook: Client Created
- 1MCP: Get full client details
- 2Email: Send welcome sequence
- 3Slack: Create client channel
- 4CRM: Create contact record
Ticket SLA Monitor
Every 30 minTrigger: Cron: Every 30 minutes
- 1MCP: Get open tickets without reply > 2 hours
- 2Filter: Priority High or Critical
- 3Slack: Alert @oncall with ticket summary
- 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.
MCP Server
AI Integration Hub
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?
Can I self-host n8n alongside WHMCS on the same server?
What can I automate with n8n and MCP Server?
Do I need an external AI model to use n8n with MCP?
Is n8n free?
How is n8n different from using Claude Desktop with MCP?
Automate your WHMCS with n8n
Install MCP Server, connect n8n, and build workflows that run your hosting business on autopilot.