Labsco
scarecr0w12 logo

WHMCS MCP Tools

โ˜… 15

from scarecr0w12

set of tools for whmcs management

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedPaid serviceNeeds API keys

WHMCS MCP Server

A Model Context Protocol (MCP) server for managing WHMCS (Web Host Manager Complete Solution) installations. This server provides comprehensive tools for managing clients, products, billing, support tickets, domains, and more through the WHMCS API.

๐Ÿ“š Documentation

โœจ Features

๐Ÿค– AI-Powered Prompts

Pre-built prompt templates for common WHMCS workflows:

  • Client Onboarding - Guided new client setup
  • Ticket Response - Generate professional support responses
  • Revenue Report - Comprehensive financial analysis
  • Client Health Check - Account status assessment
  • Bulk Invoice Reminder - Automated payment follow-up
  • Domain Expiry Audit - Proactive domain management
  • New Product Setup - Product configuration guidance
  • Fraud Investigation - Security analysis workflow

๐Ÿ“Š Live Resources

Real-time data endpoints for instant access:

  • System statistics (whmcs://stats)
  • Products catalog (whmcs://products)
  • Support departments (whmcs://support/departments)
  • Payment methods (whmcs://payment-methods)
  • Currencies (whmcs://currencies)
  • Servers (whmcs://servers)
  • TLD pricing (whmcs://tld-pricing)
  • Promotions (whmcs://promotions)
  • Ticket statuses (whmcs://support/statuses)
  • Admin to-do items (whmcs://admin/todo)

Client Management

  • List, search, and filter clients
  • Get detailed client information
  • Create, update, and delete clients
  • View client products and services
  • View client domains

Product Management

  • List available products
  • Get product groups
  • View product pricing

Billing & Invoices

  • List and filter invoices
  • Create and update invoices
  • Add payments to invoices
  • Apply credits
  • View transactions

Support Tickets

  • List and filter tickets
  • View ticket details and replies
  • Create new tickets
  • Reply to tickets
  • Update ticket status
  • Get support departments and statuses

Domain Management

  • Register, transfer, and renew domains
  • Manage nameservers
  • Lock/unlock domains
  • Get TLD pricing
  • View WHOIS information

Order Management

  • List and filter orders
  • Accept, cancel, or delete orders
  • Mark orders as fraudulent
  • Set orders to pending

Server & Module Management

  • List configured servers
  • Create/provision services
  • Suspend/unsuspend services
  • Terminate services
  • Change service passwords

System Tools

  • Get system statistics
  • View admin users
  • Get payment methods and currencies
  • Activity logging
  • Email templates
  • To-do items

Additional Features

  • Affiliate management
  • Promotion/coupon management
  • Quote management

๐Ÿ”’ Security Considerations

  1. Never commit your .env file - It contains sensitive API credentials
  2. Use API Access Keys - For additional security layer
  3. IP Restrictions - Configure IP restrictions in WHMCS for API access
  4. Minimal Permissions - Only enable the API functions you need
  5. HTTPS Only - Always use HTTPS for your WHMCS installation

๐Ÿงช Testing

Run the test script to verify your WHMCS connection:

npx tsx src/test.ts

๐Ÿ’ป Development

See CONTRIBUTING.md for development guidelines.

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Watch mode for development
npm run watch

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.