Intercom对话助手添加福利群:解决AI开发者的「MCP实战痛点」这是一个模型上下文协议 (MCP) 服务器,提供对 Intercom 对话和聊天的访问。该服务器允许大型语言模型 (LLM) 通过各种过滤选项查询和分析您的 Intercom 对话。
git clone https://github.com/fabian1710/mcp-intercom.git
cd mcp-intercom

npm install
cp .env.example .env

.env 文件中:INTERCOM_API_KEY=your_api_key_here
npm run build
启动服务器:
npm start
~/Library/Application Support/Claude/claude_desktop_config.json 或 Windows 上为 %AppData%\Claude\claude_desktop_config.json):{
"mcpServers": {
"intercom": {
"command": "node",
"args": ["/path/to/mcp-intercom/dist/index.js"],
"env": {
"INTERCOM_API_KEY": "your_api_key_here"
}
}
}
}

使用可选过滤器搜索 Intercom 对话。
参数:
createdAt(可选):对象,包含 operator(例如 ">", "<", "=")和 value(UNIX 时间戳),用于按创建日期过滤。updatedAt(可选):对象,包含 operator(例如 ">", "<", "=")和 value(UNIX 时间戳),用于按更新日期过滤。sourceType(可选):对话的来源类型(例如 "email", "chat")。state(可选):要过滤的对话状态(例如 "open", "closed")。open(可选):布尔值,用于按打开状态过滤。read(可选):布尔值,用于按已读状态过滤。示例查询:
npm run dev
npm run lint
MIT