销售智能MCP服务器

一个为AI助手如Cursor和Claude提供销售智能、竞争分析和销售手册发现功能的MCP服务器。

  • by thedmaj
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 thedmaj/sales-intelligence-mcp

使用说明

销售情报MCP服务器

MCP(模型上下文协议)服务器,为Cursor和Claude等AI助手提供销售情报、竞争分析和剧本发现功能。

🚀 使用光标快速入门

1.添加MCP配置

打开光标设置→ 扩展→ MCP服务器 并添加:

{
  "sales_intelligence": {
    "type": "stdio",
    "command": "npx",
    "args": ["-y", "@thedmaj/sales-intelligence-mcp"],
    "env": {
      "API_BASE_URL": "https://your-api-server.com",
      "API_KEY": "your_api_key_here",
      "MCP_LOG_LEVEL": "info"
    }
  }
}

2.重新启动游标

3.开始使用

在Cursor中尝试以下示例查询:

“我正在向一家大银行出售账户验证,有什么剧本吗?”

“我应该如何反对欺诈预防中的预警系统?”

“显示支付处理解决方案的POC工作流”

📋 先决条件

  • API密钥:您现有的销售智能平台API密钥
  • Node.js:版本16或更高
  • 光标:支持MCP的最新版本

⚙️ 配置

环境设置

创建一个 .env 文件或设置环境变量:

# Required
API_BASE_URL=https://your-api-server.com
API_KEY=your_existing_api_key_here

# Optional
MCP_PORT=3001
MCP_TIMEOUT=10000
MCP_LOG_LEVEL=info

高级配置

# Production settings
NODE_ENV=production
MCP_RATE_LIMIT=100
MCP_CACHE_TTL=3600

# Development settings
NODE_ENV=development
MCP_LOG_LEVEL=debug

🛠️ 可用工具

1. 销售内容搜索 (find_sales_content)

使用自然语言查找相关的剧本、戏剧和内容。

游标查询示例:

  • “查找发现用于银行账户验证”
  • “向我展示金融科技防欺诈演示内容”
  • “支付处理存在哪些竞争定位?”

参数:

  • query (必填):自然语言搜索查询
  • solution:按解决方案名称筛选
  • segment:细分市场(企业、中端市场、中小企业)
  • playType:游戏类型(探索、演示、价值_定位等)
  • limit:结果数(默认值:10)

2. 竞争情报 (get_competitive_intel)

获取与特定竞争对手竞争的谈话要点和战斗卡。

游标查询示例:

  • “我如何与预警系统竞争?”
  • “给我在账户验证方面与Plaid竞争的谈话要点”
  • “我们在支付方面比Zelle有什么竞争优势?”

参数:

  • competitor (必填):竞争对手名称(支持“EWS”等缩写)
  • solution:按解决方案上下文筛选
  • includeExamples:包括示例谈话要点(默认值:true)

3. 流程工作流 (find_process_workflows)

发现流程工作流、POC和实施指南。

游标查询示例:

  • “显示帐户验证的POC工作流”
  • “查找防欺诈的实施流程”
  • “支付解决方案有哪些入职流程?”

参数:

  • processType (必填): poc, implementation, onboarding等等。
  • solution:按溶液过滤
  • includeRoles:在工作流中包括角色分配

4. 剧本发现 (discover_playbooks)

查找可用的剧本并找出内容差距。

游标查询示例:

  • “企业银行客户有什么剧本?”
  • “向我展示防欺诈的剧本覆盖范围”
  • “找出我们金融科技剧本内容中的空白”

参数:

  • solution:按溶液过滤
  • segment:细分市场
  • vertical:垂直市场
  • industry:行业焦点
  • showGaps:包括差距分析(默认值:true)

🔧 安装和配置方法

方法1:直接MCP集成(推荐)

对于光标:

  1. 打开光标设置→ 扩展→ MCP服务器
  2. 添加此配置:
{
  "sales_intelligence": {
    "type": "stdio",
    "command": "npx",
    "args": ["-y", "@thedmaj/sales-intelligence-mcp"],
    "env": {
      "API_BASE_URL": "https://your-api-server.com",
      "API_KEY": "your_api_key_here",
      "MCP_LOG_LEVEL": "info"
    }
  }
}
  1. 重新启动游标
  2. 开始使用: “查找企业银行账户验证游戏”

对于Claude Desktop: 添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "sales_intelligence": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@thedmaj/sales-intelligence-mcp"],
      "env": {
        "API_BASE_URL": "https://your-api-server.com",
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

方法2:独立服务器

# Run as HTTP server
npx @thedmaj/sales-intelligence-mcp

# Or install globally
npm install -g @thedmaj/sales-intelligence-mcp
sales-intelligence-mcp

方法3:开发设置

git clone https://github.com/thedmaj/sales-intelligence-mcp.git
cd sales-intelligence-mcp
npm install
npm run build
npm start

🐛 故障排除

常见问题

❌ “身份验证失败。请检查您的API密钥”

# Solution: Verify your API key
export API_KEY=your_actual_api_key_here
npx @thedmaj/sales-intelligence-mcp

❌ Cursor中的“连接被拒绝”

# Solution: Ensure server is running
npx @thedmaj/sales-intelligence-mcp
# Then check http://localhost:3001/health

❌ “未找到结果”

  • 尝试更广泛的搜索词
  • 检查您的解决方案/细分市场筛选器
  • 验证系统中是否存在数据

健康检查

测试服务器连接:

curl http://localhost:3001/health

预期响应:

{
  "status": "healthy",
  "version": "1.0.0",
  "uptime": "5m 23s"
}

调试模式

启用详细日志记录:

MCP_LOG_LEVEL=debug npx @thedmaj/sales-intelligence-mcp

📖 光标集成示例

基本销售查询

向Cursor自然语言提问:

用户: “我正在与摩根大通就账户验证问题会面。我应该准备什么内容?”

带MCP的光标: 我在企业银行找到了5个相关的账户验证游戏。以下是需要准备的关键事项:

1. 帐户验证发现 -关于其当前验证过程的基本问题 2. 企业演示流程 -以API集成为重点的技术演示 3. ROI价值主张 -大交易量的成本节约分析

竞争定位

用户: “客户提到他们也在研究预警系统。我该如何对他们不利?”

带MCP的光标: 以下是与预警系统竞争的关键要点:

🎯 我们的优势: -实时欺诈检测(与EWS批处理相比) -更灵活的API集成 -更好的假阳性率

工艺规划

用户: “与金融科技客户进行欺诈预防的POC涉及什么?”

带MCP的光标: 我找到了一个全面的预防欺诈的POC工作流程:

📋 POC过程(4-6周): 1. 第1-2周:环境设置和数据集成 2. 第3-4周:模型配置和测试 3. 第5-6周:业绩评价和报告

🔐 安全与最佳实践

API密钥安全

  • 永远不要将API密钥提交到版本控制
  • 使用环境变量或安全密钥管理
  • 根据您的安全策略定期轮换API密钥

速率限制

  • 默认值:每个API密钥每小时100个请求
  • 通过服务器日志监控使用情况
  • 如有需要,请联系管理员以增加限额

网络安全

  • 默认情况下,服务器在本地主机上运行
  • 在生产部署中使用HTTPS
  • 考虑远程使用VPN访问

🚀 高级用法

自定义查询

你可以问复杂的、多部分的问题:

“我正在向一家目前使用手动审查流程的中端市场金融科技公司出售防欺诈产品。他们担心误报,并提到他们也在评估Featurespace。我应该准备什么内容,以及我应该如何在竞争中定位?”

Cursor将使用多种MCP工具提供全面的答案,包括:

  • 相关销售内容和剧本
  • 与Featurespace的竞争定位
  • 实施流程工作流
  • 针对他们痛点的价值主张

工作流集成

使用MCP响应制定完整的销售策略:

  1. 发现阶段:使用 find_sales_content 用于发现问题
  2. 竞争性研究:使用 get_competitive_intel 用于定位
  3. 演示计划:使用 find_process_workflows 用于POC规划
  4. 提案大楼:使用 discover_playbooks 全面覆盖

📊 响应格式

所有MCP响应的格式都易于阅读:

# Sales Content Search Results

## Summary
Found 3 plays matching your query for Account Verification in Enterprise segment.

## Results

### 1. Account Verification Discovery
- **Type**: Discovery
- **Playbook**: Enterprise Banking Playbook
- **Description**: Essential discovery questions for account verification setup
- **Use When**: Initial client meetings and needs assessment

### 2. Enterprise API Demo
- **Type**: Demo
- **Playbook**: Technical Integration Playbook
- **Description**: Step-by-step API demonstration for enterprise clients
- **Use When**: Technical evaluation phase

## Insights
- Strong coverage for Discovery and Demo phases
- Consider adding more competitive positioning content
- ROI calculators available for enterprise deals

## Recommendations
- Start with discovery play to understand current process
- Prepare technical demo focusing on API simplicity
- Have competitive battle cards ready for EWS comparison

🤝 贡献

发现错误或想贡献?

  1. 问题:报告错误 GitHub问题
  2. 功能请求:通过问题提出改进建议
  3. 拉取请求:欢迎投稿!

📄 许可证

MIT许可证-请参阅 许可证 文件以获取详细信息。

🔗 链接

  • GitHub 仓库: https://github.com/thedmaj/sales-intelligence-mcp
  • NPM包: https://www.npmjs.com/package/@你的组织/销售情报mcp
  • 问题与支持: https://github.com/thedmaj/sales-intelligence-mcp/issues
  • MCP协议: https://modelcontextprotocol.io/

准备好开始了吗? 跑 npx @thedmaj/sales-intelligence-mcp 并配置Cursor以解锁AI驱动的销售智能! 🚀