🤖 리드 자격 심사 MCP 도구
ChatGPT를 사용하여 BANT 메커니즘(예산, 권한, 니즈, 타임라인)을 기반으로 리드를 선별하는 경량 MCP 도구입니다. 사용자가 질문별로 리드 정보를 입력하도록 안내합니다.
🚀 특징
- 🧠 LLM 기반 리드 자격 정보(BANT) 추출 및 점수 매기기
- 💬 턴당 하나의 필드, 대화 흐름 포함
- 💾 메모리 내 세션 추적만큼 빠르며 Redis로 확장 가능
- 🔌 MCP(
sse
)를 통한 Dify/Cursor와 호환
⚙️ 설정
.env 파일에서 ChatGPT apikey를 구성합니다.
지엑스피1
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?"
}