Supports exposing the MCP server publicly using ngrok for external access by services like Dify.
Uses ChatGPT to qualify leads through BANT mechanism (Budget, Authority, Need, Timeline) and extract qualification information from conversations.
Can be extended to use Redis for session tracking instead of in-memory storage.
🤖 Lead Qualifier MCP Tool
A lightweight MCP tool that uses ChatGPT to qualify leads over BANT mechanism (Budget, Authority, Need, Timeline). And guide users to enter leads informations question by question.
🚀 Features
🧠 LLM-powered lead qualification info (BANT) extraction and scoring
💬 One field per turn, with conversational flow
💾 Fast as in-memory session tracking, can be extended to Redis
🔌 Compatible with Dify / Cursor via MCP (
sse)
Related MCP server: PhantAuth MCP Server
⚙️ Setup
Configure ChatGPT apikey in your .env file.
Start your NodeJS server, which is your MCP server.
Optional: expose your server using ngrok
Dify Agent Strategy Configuration
🛠 Example
Tool name: lead-qualifier
Input:
Output:
Session: