WHMCS MCP Toolsのロゴ

WHMCS MCP Tools

コミュニティ
scarecr0w12

set of tools for whmcs management

公開者scarecr0w12
リポジトリwhmcs-mcp-tool
言語JavaScript
フォーク
11
スター
20
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    WHMCS MCP Toolsは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには20件のスターと11件のフォークがあります。

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

WHMCS MCP ToolsのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度WHMCS MCP Toolsに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

WHMCS MCP Toolsをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. WHMCS MCP ToolsのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "whmcs-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてWHMCS MCP ToolsのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. WHMCS MCP ToolsのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
WHMCS MCP Toolsを使ってこのタスクを手伝ってもらえますか?
WHMCS MCP Tools
はい、読みました。
WHMCS MCP Toolsで調べた結果をお伝えします。

よくある質問

WHMCS MCP Tools MCPサーバーは何に使いますか?

WHMCS MCP Toolsは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでWHMCS MCP Tools MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでWHMCS MCP Toolsを利用できます。

TypingMindでWHMCS MCP Tools MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。WHMCS MCP Toolsを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

WHMCS MCP Tools MCPをTypingMindに接続するにはどうすればよいですか?

WHMCS MCP ToolsはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでWHMCS MCP Tools MCPのどのようなツールを利用できますか?

WHMCS MCP ToolsはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

WHMCS MCP Tools MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。WHMCS MCP Toolsで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇