Logo WHMCS MCP Tools

WHMCS MCP Tools

Cộng đồng
scarecr0w12

set of tools for whmcs management

Nhà phát hànhscarecr0w12
Kho mãwhmcs-mcp-tool
Ngôn ngữJavaScript
Bản fork
11
Sao
20
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    WHMCS MCP Tools cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    20 sao và 11 bản fork từ kho mã được liên kết.

WHMCS MCP Server

CI Docker License: MIT TypeScript MCP Node.js

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

🔧 Installation

Option 1: Docker (Recommended)

bash
docker run -it --rm \
  -e WHMCS_API_URL="https://billing.example.com/" \
  -e WHMCS_API_IDENTIFIER="your-identifier" \
  -e WHMCS_API_SECRET="your-secret" \
  ghcr.io/scarecr0w12/whmcs-mcp-tool:latest

See Docker Guide for detailed Docker deployment instructions.

Option 2: From Source

  1. Clone this repository:

    bash
    git clone https://github.com/scarecr0w12/whmcs-mcp-tool.git
    cd whmcs-mcp-tool
  2. Install dependencies:

    bash
    npm install
  3. Build the project:

    bash
    npm run build
  4. Configure your WHMCS credentials:

    bash
    cp .env.example .env
    # Edit .env with your WHMCS API credentials

⚙️ Configuration

For detailed configuration instructions, see the Configuration Guide.

Quick Start

  1. Create API credentials in WHMCS: Setup → Staff Management → API Credentials
  2. Copy the environment template: cp .env.example .env
  3. Edit .env with your WHMCS credentials

Environment Variables

Set the following environment variables:

VariableRequiredDescription
WHMCS_API_URLYesYour WHMCS installation URL (e.g., https://billing.example.com/)
WHMCS_API_IDENTIFIERYesAPI credential identifier
WHMCS_API_SECRETYesAPI credential secret
WHMCS_ACCESS_KEYNoOptional API access key for additional security

API Access Key (Optional)

For additional security, you can configure an API Access Key:

  1. In WHMCS admin, go to Setup > General Settings > Security
  2. Set the API Access Key field
  3. Add this key to your WHMCS_ACCESS_KEY environment variable

🚀 Usage

With VS Code

The server can be used directly with VS Code's MCP support. The configuration is already set up in .vscode/mcp.json.

  1. Set your environment variables
  2. Build the project: npm run build
  3. The MCP server will be available in VS Code

Running Manually

bash
# Development mode with auto-reload
npm run dev

# Production mode
npm run build
npm start

🛠️ Available Tools

For complete parameter documentation, see the API Reference.

Client Tools

  • whmcs_get_clients - Get list of clients
  • whmcs_get_client_details - Get detailed client information
  • whmcs_add_client - Create a new client
  • whmcs_update_client - Update an existing client
  • whmcs_delete_client - Delete a client
  • whmcs_get_client_products - Get client's products/services
  • whmcs_get_client_domains - Get client's domains

Product Tools

  • whmcs_get_products - Get available products
  • whmcs_get_product_groups - Get product groups

Invoice Tools

  • whmcs_get_invoices - Get invoices
  • whmcs_get_invoice - Get invoice details
  • whmcs_create_invoice - Create an invoice
  • whmcs_update_invoice - Update an invoice
  • whmcs_add_payment - Add payment to invoice
  • whmcs_apply_credit - Apply credit to invoice
  • whmcs_get_transactions - Get transactions

Ticket Tools

  • whmcs_get_tickets - Get support tickets
  • whmcs_get_ticket - Get ticket details
  • whmcs_open_ticket - Create a new ticket
  • whmcs_add_ticket_reply - Reply to a ticket
  • whmcs_update_ticket - Update ticket properties
  • whmcs_delete_ticket - Delete a ticket
  • whmcs_get_support_departments - Get support departments
  • whmcs_get_support_statuses - Get ticket statuses

Domain Tools

  • whmcs_register_domain - Register a domain
  • whmcs_transfer_domain - Transfer a domain
  • whmcs_renew_domain - Renew a domain
  • whmcs_get_domain_whois - Get WHOIS information
  • whmcs_get_domain_nameservers - Get nameservers
  • whmcs_update_domain_nameservers - Update nameservers
  • whmcs_get_domain_lock_status - Get lock status
  • whmcs_update_domain_lock_status - Update lock status
  • whmcs_get_tld_pricing - Get TLD pricing

Order Tools

  • whmcs_get_orders - Get orders
  • whmcs_accept_order - Accept an order
  • whmcs_cancel_order - Cancel an order
  • whmcs_delete_order - Delete an order
  • whmcs_fraud_order - Mark as fraudulent
  • whmcs_pending_order - Set to pending

Server & Module Tools

  • whmcs_get_servers - Get configured servers
  • whmcs_module_create - Create/provision service
  • whmcs_module_suspend - Suspend service
  • whmcs_module_unsuspend - Unsuspend service
  • whmcs_module_terminate - Terminate service
  • whmcs_module_change_password - Change service password

System Tools

  • whmcs_get_stats - Get system statistics
  • whmcs_get_admin_users - Get admin users
  • whmcs_get_payment_methods - Get payment methods
  • whmcs_get_currencies - Get currencies
  • whmcs_get_activity_log - Get activity log
  • whmcs_log_activity - Log an activity
  • whmcs_get_email_templates - Get email templates
  • whmcs_send_email - Send an email
  • whmcs_get_todo_items - Get to-do items

Affiliate Tools

  • whmcs_get_affiliates - Get affiliates
  • whmcs_activate_affiliate - Activate an affiliate

Promotion Tools

  • whmcs_get_promotions - Get promotions/coupons

Quote Tools

  • whmcs_get_quotes - Get quotes
  • whmcs_create_quote - Create a quote
  • whmcs_accept_quote - Accept a quote
  • whmcs_delete_quote - Delete a quote

🔒 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:

bash
npx tsx src/test.ts

💻 Development

See CONTRIBUTING.md for development guidelines.

bash
# 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.

🔗 Links

Dùng MCP WHMCS MCP Tools với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối WHMCS MCP Tools, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm WHMCS MCP Tools làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của WHMCS MCP Tools.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "whmcs-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của WHMCS MCP Tools, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của WHMCS MCP Tools.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng WHMCS MCP Tools giúp tôi làm việc này không?
WHMCS MCP Tools
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng WHMCS MCP Tools.

Câu hỏi thường gặp

Máy chủ MCP WHMCS MCP Tools dùng để làm gì?

WHMCS MCP Tools là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP WHMCS MCP Tools với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng WHMCS MCP Tools với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP WHMCS MCP Tools với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối WHMCS MCP Tools, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP WHMCS MCP Tools với TypingMind?

WHMCS MCP Tools hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP WHMCS MCP Tools cung cấp những công cụ nào trong TypingMind?

WHMCS MCP Tools cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP WHMCS MCP Tools không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu WHMCS MCP Tools yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇