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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lead Qualifier MCP ToolI have a new lead interested in our CRM software"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ค 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.
OPENAI_API_KEY=1234Start your NodeJS server, which is your MCP server.
npm install
npm startOptional: expose your server using ngrok
ngrok http 3001Dify Agent Strategy Configuration
{
"lead_qualification": {
"transport": "sse",
"url": "https://24c3-172-235-53-238.ngrok-free.app/sse",
"headers": {},
"timeout": 50,
"sse_read_timeout": 50
}
}๐ Example
Tool name: lead-qualifier
Input:
{
"sessionId": "abc123",
"message": "We have a budget of $1000"
}Output:
{
content: [
{
type: "text",
text: "Are you the main person evaluating tools like this, or is there someone else involved in the decision?"
}
],
isError: false
}Session:
{
"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?"
}