MCP 联络服务器是一个模型上下文协议(MCP)服务器,它为您提供对 Intercom 对话和聊天的访问权限。借助该服务器,大型语言模型(LLMs)能够通过多种过滤选项,对您的 Intercom 会话进行查询和分析,为您的业务沟通数据挖掘提供有力支持。
MCP 联络服务器允许大型语言模型(LLMs)通过各种过滤选项查询和分析您的 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
git clone https://github.com/fabian1710/mcp-intercom.git
cd mcp-intercom
npm install
cp .env.example .env
将您的 Intercom API 密钥添加到 .env
文件中:
INTERCOM_API_KEY=your_api_key_here
npm run build
启动服务器:
npm start
~/Library/Application Support/Claude/claude_desktop_config.json
macOS 或 %AppData%\Claude\claude_desktop_config.json
Windows):{
"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
如果您想为 MCP 联络服务器做出贡献,可以按照以下步骤进行:
本项目采用 MIT 许可证。