🤖 リードクオリファイアーMCPツール
ChatGPTを用いてBANTメカニズム(予算、権限、ニーズ、タイムライン)に基づいてリードを選別する軽量なMCPツールです。ユーザーは質問ごとにリード情報を入力できます。
🚀 機能
- 🧠 LLM を活用したリード資格情報 (BANT) の抽出とスコアリング
- 💬 1ターンにつき1つのフィールド、会話の流れに沿って
- 💾 メモリ内セッショントラッキングと同じくらい高速で、Redis に拡張可能
- 🔌 MCP (
sse
) 経由で Dify / Cursor と互換性があります
⚙️ セットアップ
.env ファイルで ChatGPT apikey を設定します。
MCP サーバーである NodeJS サーバーを起動します。
オプション: ngrokを使用してサーバーを公開する
Difyエージェント戦略構成
{
"lead_qualification": {
"transport": "sse",
"url": "https://24c3-172-235-53-238.ngrok-free.app/sse",
"headers": {},
"timeout": 50,
"sse_read_timeout": 50
}
}
🛠 例
ツール名: lead-qualifier
入力:
{
"sessionId": "abc123",
"message": "We have a budget of $1000"
}
出力:
{
content: [
{
type: "text",
text: "Are you the main person evaluating tools like this, or is there someone else involved in the decision?"
}
],
isError: false
}
セッション:
{
"qualificationMap": {
"budget": "$1000 per month",
"authority": "",
"need": "",
"timeline": ""
},
"scoreMap": {
"budget": 30,
"authority": 0,
"need": 0,
"timeline": 0
},
"totalScore": 30,
"nextField": "authority",
"lastPromptedField": "authority",
"lastPromptedQuestion": "Are you the main person evaluating tools like this, or is there someone else involved in the decision?"
}