Local AI + WHMCS MCP Server
Run AI models on your own hardware with LM Studio or Ollama and connect to WHMCS via MCP Server. No API keys to cloud providers. No data leaves your network. Suitable for hosting providers under GDPR, HIPAA, or SOC 2 requirements, or anyone who wants full control over their AI stack.
Zero Cloud Exposure
Data stays on your server
Compliance Ready
GDPR, HIPAA, SOC 2
No Internet Required
Fully air-gapped capable
Hardware Requirements by Model
Local AI performance depends on your hardware and model choice. Here are tested configurations for WHMCS MCP operations.
| Model | RAM | VRAM | Speed | Quality |
|---|---|---|---|---|
| Llama 3.1 8B | 8 GB | 6 GB (optional) | Fast (15-30 tok/s on CPU) | Good for simple queries |
| Llama 3.1 70B | 48 GB | 24 GB recommended | Moderate (5-10 tok/s) | Excellent, near cloud quality |
| Mistral 7B | 8 GB | 6 GB (optional) | Fast (20-35 tok/s on CPU) | Good for structured queries |
| Qwen 2.5 32B | 24 GB | 16 GB recommended | Moderate (8-15 tok/s) | Very good balance of speed and quality |
| DeepSeek R1 14B | 16 GB | 10 GB recommended | Moderate (10-20 tok/s) | Strong reasoning, good for multi-step queries |
Speed measured on Apple M2 Pro (CPU inference). GPU inference with NVIDIA cards is 2-5x faster. Benchmarks from February 2026.
What You Can Do
Query your WHMCS with AI, entirely on your hardware. No data leaves your infrastructure.
Private Revenue Analysis
Query WHMCS for revenue breakdowns without any data leaving your infrastructure. Ask for aggregated numbers (no client PII). Useful for preparing board reports or sharing data with external consultants where raw WHMCS access is not appropriate.
Example prompt:
“Show me revenue trends for the last 12 months. Break down by product category.”
Returns a table of monthly revenue per product group. No client names, emails, or identifying data in the output.
Regulated Industry Compliance
Healthcare, finance, and government hosting providers operate under strict data residency rules. Local AI means no WHMCS data crosses jurisdictional boundaries. GDPR Article 44 (international transfers) does not apply when processing stays on-premises.
Example prompt:
“List all clients in the "Enterprise" group with their service status and contract end dates.”
Full client data stays on your server. The AI model processes it locally. No cross-border data transfer occurs.
Air-Gapped Operations
Once the AI model is downloaded, the entire stack works without internet. WHMCS runs on your server, MCP Server runs as a WHMCS addon, LM Studio runs on your workstation. Disconnect from the internet and it still works.
Example prompt:
“Generate a summary of all support tickets opened this week grouped by category.”
Works offline. No DNS, no API calls, no cloud dependencies.
Safe Data Export for External Tools
Use local AI to query WHMCS for aggregated, non-sensitive data (revenue trends, ticket counts, product stats). Copy that sanitized summary and upload it to NotebookLM, Google Sheets, or ChatGPT for presentations. Your raw WHMCS data never leaves your server.
Example prompt:
“Get aggregated revenue trends by product (no client names). Export as a summary I can share externally.”
You get clean numbers safe to share. The two-step workflow (local query, then external tool) keeps PII on-premises.
How to Connect
Set up local AI with your WHMCS. Two options: LM Studio (recommended) or Ollama.
Install MCP Server on your WHMCS
Upload the addon, activate it, and generate a Bearer token. Full installation guide
Configure MCP connection
Add your WHMCS MCP Server to the local AI config:
// LM Studio MCP Configuration (~/.lmstudio/mcp.json)
{
"mcpServers": {
"whmcs": {
"url": "https://your-whmcs.com/modules/addons/mx_mcp/mcp.php",
"headers": {
"Authorization": "Bearer YOUR_BEARER_TOKEN"
}
}
}
}
// Ollama (via mcp-client-for-ollama)
// npm install -g mcp-client-for-ollama
// mcp-client --server https://your-whmcs.com/modules/addons/mx_mcp/mcp.php --header "Authorization: Bearer YOUR_BEARER_TOKEN"Test the connection
Ask your local AI a simple query like “Get WHMCS system status”. LM Studio will show a tool call confirmation dialog before executing.
Use External AI Safely
Extract data via MCP with your local AI, then feed sanitized summaries to external tools. Your raw WHMCS data never leaves your server.
The Two-Step Privacy Workflow
WHMCS
Your server
Local AI + MCP
Your machine
External Tool
Sanitized data only
Query via MCP locally: Ask your local AI (LM Studio, Ollama) for aggregated WHMCS data. Example: “Show me revenue trends by product for the last 12 months. No client names or emails.”
Export the sanitized summary: Copy the aggregated output (trends, counts, percentages). No PII, no client details, no sensitive billing data.
Feed to external AI: Upload the summary to NotebookLM for board presentations, Google Sheets for reports, or any external tool for further analysis.
Real example:
A hosting provider in healthcare asks LM Studio (via MCP) for “total revenue by product category for Q4 2025, with growth percentages.” The result is a table of product names and revenue numbers. No patient-related data, no client emails, no billing addresses. They upload this summary to NotebookLM to generate a board presentation. Their raw WHMCS database was never exposed to any cloud service.
Example Prompts
Privacy-safe queries you can ask your local AI via MCP.
“Show total revenue by product for Q4 2025. No client names, just aggregated numbers.”
“How many support tickets were opened vs resolved this month?”
“List the top 10 most popular products by active service count.”
“What is our average ticket resolution time this quarter?”
“Generate a summary of overdue invoices by amount range (under $100, $100-500, over $500).”
Data Flow
How Local AI Connects to WHMCS
LM Studio and Ollama connect to MCP Server on your machine. 100% offline. Your WHMCS data never leaves your infrastructure.
MCP Server
AI Integration Hub
Better Together
Run the entire MX ecosystem privately. Every module's data flows through MCP to your local AI.
MX Metrics data flows through MCP to your local AI. Query revenue trends, churn rates, and LTV without any financial data leaving your infrastructure. Ideal for regulated hosting providers.
Learn about MX Metrics →MX Proposals data stays fully on-premises. Query proposal status, acceptance rates, and pipeline value through local AI. No client proposal details ever reach a cloud service.
Learn about MX Proposals →Frequently Asked Questions
Does LM Studio support MCP natively?
Does Ollama support MCP?
What hardware do I need?
Is local AI slower than cloud AI?
Which local model works best with WHMCS MCP?
Can I use local AI to prepare data for external presentations?
100% private AI for your WHMCS
Install MCP Server, connect your local AI, and query WHMCS data without any cloud exposure. Your data never leaves your server.