UNPKG

@iriseller/mcp-server

Version:

Model Context Protocol (MCP) server providing access to IRISeller's AI sales intelligence platform with 7 AI agents, multi-CRM integration, advanced sales workflows, email automation (detection/sending/campaigns), and robust asynchronous agent execution h

70 lines (69 loc) 2.48 kB
import { CallToolRequest, CallToolResult } from '@modelcontextprotocol/sdk/types.js'; import { IRISellerAPIService } from '../services/iriseller-api.js'; export declare class ToolHandlers { private apiService; private webSearchService; private stockDataService; private emailHandlers; private userToken?; private debugLog; private errorLog; constructor(apiService: IRISellerAPIService); setUserToken(token: string): void; handleToolCall(request: CallToolRequest): Promise<CallToolResult>; private handleQualifyLead; private handleQueryCRM; private handleResearchCompany; private handleExecuteAgent; private handleExecuteWorkflow; private handlePersonalizeOutreach; private handleGetAgentResults; private handleWaitForAgentCompletion; private handleForecastSales; private handleListAgents; private handleListWorkflows; private handleHealthCheck; private handleWebSearch; private handleGetStockData; private handleMeetingPrep; private buildMeetingPrepPrompt; private generateExecutiveSummary; private extractPersonProfile; private extractCompanyOverview; private generateConversationStarters; private identifyPainPoints; private suggestMeetingObjectives; private generateActionItems; private formatMeetingPrepInsights; private generateEnhancedMeetingInsights; private handleEmailAutoRespond; private handleEmailIntentAnalysis; private handleCompileSalesInfo; private handleGenerateEmailResponse; private handleScheduleEmailFollowup; private handleEmailAnalytics; private handleDetectEmails; private handleSendEmail; private handleGetEmailStatus; private handleManageEmailTemplates; private handleManageEmailCampaigns; private extractLeadData; private determineRecordType; private extractPainPointsFromText; private getIndustrySpecificPainPoints; private getCompanySizeBasedPainPoints; private summarizeWebResearch; private formatAddress; private inferBusinessModel; private categorizeCompanySize; private extractDevelopments; private assessMarketPosition; private assessTechnologyProfile; private identifyCompanySpecificChallenges; private identifyGrowthOpportunities; private identifyBuyingSignals; private estimateDecisionTimeline; private assessBudgetIndicators; private getIndustryTrends; private capitalizeFirstLetter; }