MCP Intercom Server

MCP Intercom Server

通过模型上下文协议提供对 Intercom 对话和聊天的访问,允许 LLM 查询和分析 Intercom 对话,并提供各种过滤选项。

客户支持
通信
TypeScript
访问服务器

Tools

search-conversations

Search Intercom conversations with filters for created_at, updated_at, source type, state, open, and read status

list-conversations-from-last-week

Fetch all conversations from the last week (last 7 days)

README

MCP Intercom 服务器

一个模型上下文协议 (MCP) 服务器,提供对 Intercom 对话和聊天的访问。此服务器允许 LLM 查询和分析您的 Intercom 对话,并提供各种过滤选项。

功能

  • 使用过滤选项查询 Intercom 对话:
    • 日期范围(开始和结束日期)
    • 客户 ID
    • 对话状态
  • 使用您的 Intercom API 密钥进行安全访问
  • 丰富的对话数据,包括:
    • 基本对话详情
    • 联系信息
    • 统计信息(回复、重新打开)
    • 状态和优先级信息

安装

  1. 克隆存储库:
git clone https://github.com/fabian1710/mcp-intercom.git
cd mcp-intercom
  1. 安装依赖项:
npm install
  1. 设置您的环境:
cp .env.example .env
  1. 将您的 Intercom API 密钥添加到 .env
INTERCOM_API_KEY=your_api_key_here
  1. 构建服务器:
npm run build

用法

运行服务器

启动服务器:

npm start

与 Claude for Desktop 一起使用

  1. 将服务器添加到您的 Claude for Desktop 配置中(macOS 上为 ~/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"
      }
    }
  }
}
  1. 重启 Claude for Desktop

可用工具

search-conversations

搜索 Intercom 对话,带有可选过滤器。

参数:

  • createdAt(可选):带有 operator(例如,">"、"<"、"=")和 value(UNIX 时间戳)的对象,用于按创建日期进行过滤。
  • updatedAt(可选):带有 operator(例如,">"、"<"、"=")和 value(UNIX 时间戳)的对象,用于按更新日期进行过滤。
  • sourceType(可选):对话的来源类型(例如,“email”、“chat”)。
  • state(可选):要过滤的对话状态(例如,“open”、“closed”)。
  • open(可选):用于按打开状态进行过滤的布尔值。
  • read(可选):用于按已读状态进行过滤的布尔值。

示例查询:

  • "搜索 2024 年 1 月 1 日之后创建的所有对话"
  • "查找上周之前更新的对话"
  • "列出所有打开的电子邮件对话"
  • "获取所有未读对话"

安全

  • 服务器需要 Intercom API 密钥才能运行
  • API 密钥应安全地存储在环境变量中
  • 服务器仅提供对对话的读取访问权限
  • 所有 API 请求都经过适当的身份验证

开发

  1. 以自动重新编译模式启动开发模式:
npm run dev
  1. 运行 linting:
npm run lint

贡献

  1. Fork 存储库
  2. 为您的功能创建一个新分支
  3. 进行更改
  4. 提交 pull request

许可证

MIT

推荐服务器

Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Playwright MCP Server

Playwright MCP Server

提供一个利用模型上下文协议的服务器,以实现类人浏览器的自动化,该服务器使用 Playwright,允许控制浏览器行为,例如导航、元素交互和滚动。

精选
本地
TypeScript
Apple MCP Server

Apple MCP Server

通过 MCP 协议与 Apple 应用(如“信息”、“备忘录”和“通讯录”)进行交互,从而使用自然语言发送消息、搜索和打开应用内容。

精选
本地
TypeScript
contentful-mcp

contentful-mcp

在你的 Contentful Space 中更新、创建、删除内容、内容模型和资源。

精选
TypeScript
serper-search-scrape-mcp-server

serper-search-scrape-mcp-server

这个 Serper MCP 服务器支持搜索和网页抓取,并且支持 Serper API 引入的所有最新参数,例如位置信息。

精选
TypeScript
The Verge News MCP Server

The Verge News MCP Server

提供从The Verge的RSS feed获取和搜索新闻的工具,允许用户获取今日新闻、检索过去一周的随机文章,以及在最近的Verge内容中搜索特定关键词。

精选
TypeScript
Jira-Context-MCP

Jira-Context-MCP

MCP 服务器向 AI 编码助手(如 Cursor)提供 Jira 工单信息。

精选
TypeScript
@kazuph/mcp-gmail-gas

@kazuph/mcp-gmail-gas

用于 Gmail 集成的模型上下文协议 (Model Context Protocol, MCP) 服务器。它允许 Claude Desktop(或任何 MCP 客户端)通过 Google Apps Script 与您的 Gmail 帐户进行交互。

精选
JavaScript
MCP Server Trello

MCP Server Trello

通过 Trello API 促进与 Trello 看板的交互,提供速率限制、类型安全、输入验证和错误处理等功能,以实现对卡片、列表和看板活动的无缝管理。

精选
TypeScript