连接器指南阅读约 8 分钟59 个 MCP 工具7 种语言

如何通过 MCP 将 Intercom 连接到 Gemini

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

HC作者:HelpCode 团队更新于 8 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Intercom

Intercom

Let your AI work in Intercom: find and update contacts and companies, read, search and triage conversations and tickets (reply, add notes, assign, snooze, close, tag), and manage Help Center articles and collections. US, EU or Australian workspaces, with the access token of a Developer Hub app.

个工具

59

区域

INTL

类别

客户支持

身份验证

Bearer Token

所需环境变量

INTERCOM_API_URLINTERCOM_ACCESS_TOKEN
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Intercom,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

试试这样问

Intercom 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Intercom · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Intercom、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Intercom + Gemini

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

INTERCOM_API_URL, INTERCOM_ACCESS_TOKEN

步骤 1 — 获取凭证

  1. 以管理员身份登录你的 Intercom 工作区,打开 Developer Hub:https://app.intercom.com/a/apps/_/developer-hub(或 Settings → Integrations → Developer Hub)。欧盟和澳大利亚的工作区在 app.eu.intercom.com 或 app.au.intercom.com 上使用相同路径。
  2. 点击 New app,为应用命名(例如 AnythingMCP),选择工作区,然后点击 Create app。应用会立即安装到该工作区:你自己的工作区不需要 OAuth,也不需要应用审核。
  3. 打开应用的 Configure → Authentication 页面。这里显示工作区的 Access token 及其拥有的权限。要使用全部工具,请授予 users 和 companies、conversations、tickets、articles 的读写权限,再加上 Read admins、Read tags 和 Write tags。修改权限后,请重新生成令牌并使用新令牌。
  4. 把令牌粘贴到 INTERCOM_ACCESS_TOKEN,不要带 Bearer 一词。请像对待密码一样对待它:它可以打开你工作区的客户数据。
  5. 按工作区所在区域设置 INTERCOM_API_URL:https://api.intercom.io(美国,你使用 app.intercom.com)、https://api.eu.intercom.io(欧盟,app.eu.intercom.com)或 https://api.au.intercom.io(澳大利亚,app.au.intercom.com)。
  6. 安装连接器并运行 intercom_get_me。它会返回你的管理员 id 以及工作区和所在区域。

试用:从 https://app.intercom.com/admins/sign_up/developer 创建的免费开发工作区就足够了。它位于美国区域,不发送邮件或推送通知,最多容纳 20 个 users 和 leads,并且永远不能转为正式工作区。

只读设置:只授予读取权限(Read and list users and companies、Read conversations、Read tickets、Read and List articles、Read admins、Read tags),并关闭写入类工具。三个搜索工具只做读取。

以管理员身份操作:回复、备注、分配、暂缓、关闭和重新打开都会记在某位团队成员名下,新文章也是如此。intercom_get_me 可以找到你自己的管理员 id,intercom_list_admins 可以找到其他团队成员。

先确认:在会话中回复、comment 类型的工单回复、带消息关闭会话以及发布文章,都会送达客户;修改已发布的文章会立即生效。AI 会先把文本给你看,等你同意后再执行。备注只在团队内部可见,新文章以草稿形式创建。intercom_delete_contact、intercom_delete_article 和 intercom_delete_collection 在安装时默认关闭;隐藏联系人的可撤销方式是 intercom_archive_contact。

限制:默认每个应用每分钟 10,000 次调用,每个工作区每分钟 25,000 次,按 10 秒窗口分配。返回 429 时请等待几秒。

常见错误:401:令牌错误或已重新生成、应用已被卸载,或者 INTERCOM_API_URL 与工作区所在区域不符。403:令牌缺少某项权限,或者你的套餐不包含该功能(例如工单)。工单返回 404 通常表示用了 Inbox 中的编号,而不是工单 id。410:该联系人已被合并到另一个联系人,请按邮箱搜索保留下来的联系人。

该连接器不会发起外发消息,不会创建会话或工单,不会删除会话或合并联系人,也不涉及 data events、news items、宏、Fin、custom objects、通话、数据导出、Webhook 和工作区设置。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Gemini 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换 YOUR_MCP_API_KEY。
  2. 保存文件并重启 gemini。
  3. 在 Gemini CLI 中运行 /mcp(或在终端运行 gemini mcp list),anythingmcp 应显示为已连接。
  4. 开始输入提示,Gemini CLI 现在可以调用 Intercom 的工具。

可用工具

ToolWhat it does
intercom_get_meRead who the access token belongs to: the admin id, name and email, plus the workspace (app) with its id_code, name, timezone and region
intercom_list_adminsList the workspace admins (teammates) with id, name, email, away_mode_enabled, has_inbox_seat and team_ids
intercom_get_adminRead one admin (teammate): name, email, away mode and reason, inbox seat and the ids of their teams
intercom_list_teamsList the workspace teams with id, name and admin_ids
intercom_get_teamRead one team: name, the ids of its admins, the assignment limit and the distribution method
intercom_list_tagsList every tag in the workspace with id and name
intercom_create_tagCreate a tag, or return the existing tag with that name (names are case-insensitive)
intercom_list_segmentsList the saved contact and company segments with id, name, person_type and dates, optionally with how many contacts each holds
intercom_list_data_attributesList the data attributes of contacts and companies, standard and custom: name, full_name (the field name to use in searches and updates)…
intercom_list_contactsList contacts (users and leads), newest first, with id, role, email, name, phone, external_id, owner_id, location, timestamps and…
intercom_search_contactsSearch contacts by their attributes, e.g. email, name, phone, external_id, role (user or lead), created_at, last_seen_at, tag_id…
intercom_get_contactRead one contact: role, email, phone, name, external_id, owner_id, location, browser and device, unsubscribe and bounce flags, timestamps…
intercom_find_contact_by_external_idFind a user by the external_id your own system gave them (users only, not leads)
intercom_create_contactCreate a contact, a user or a lead
intercom_update_contactChange a contact: only the fields given are overwritten
intercom_archive_contactArchive a contact: it disappears from lists, searches and the Inbox until unarchived with intercom_unarchive_contact
intercom_unarchive_contactBring an archived contact back, so it shows again in lists, searches and the Inbox
intercom_delete_contactDelete a contact for good, with their data
intercom_list_contact_tagsList the tags on one contact with id, name, applied_at and who applied them
intercom_tag_contactPut an existing tag on a contact (intercom_create_tag makes a new one)
intercom_untag_contactTake a tag off a contact; the tag itself stays in the workspace
intercom_list_contact_notesList the internal notes teammates left on a contact, newest first, with id, body (HTML), created_at and author
intercom_add_contact_noteLeave an internal note on a contact
intercom_list_contact_companiesList the companies a contact belongs to, with id, company_id, name, plan, user_count, monthly_spend and custom_attributes
intercom_attach_contact_to_companyAdd a contact to a company
intercom_detach_contact_from_companyRemove a contact from a company; both stay in the workspace
intercom_list_companiesList companies, or find one by name or by your own company_id, or filter by tag or segment
intercom_get_companyRead one company by the id Intercom gave it: company_id, name, plan, size, website, industry, user_count, session_count, monthly_spend…
intercom_create_or_update_companyCreate a company, or update the one that already has this company_id (your own id for it, which cannot be changed later)
intercom_list_company_contactsList the contacts that belong to a company, with id, role, email and name
intercom_list_conversationsList conversations, most recently updated first, with id, title, state (open, closed, snoozed), open, read, priority, admin_assignee_id and…
intercom_search_conversationsSearch conversations, e.g. by open, state (open, closed, snoozed), admin_assignee_id, team_assignee_id, contact_ids, tag_ids, priority…
intercom_get_conversationRead one conversation with its messages: state, assignees, contacts, tags, priority, statistics and conversation_parts (replies, notes…
intercom_reply_to_conversationReply to a conversation as an admin
intercom_add_conversation_noteAdd an internal note to a conversation
intercom_assign_conversationAssign a conversation to an admin or to a team (a conversation can have both), or unassign it with assignee_id "0"
intercom_close_conversationClose a conversation (intercom_open_conversation reopens it)
intercom_snooze_conversationSnooze a conversation until a time; it reopens by itself then
intercom_open_conversationOpen a closed or snoozed conversation again, so it is back in the Inbox
intercom_tag_conversationPut an existing tag on a conversation (intercom_create_tag makes a new one)
intercom_untag_conversationTake a tag off a conversation; the tag itself stays in the workspace
intercom_search_ticketsSearch tickets, e.g. by ticket_type_id, open, state, title, description, category (request for customer tickets, task for back-office…
intercom_get_ticketRead one ticket: id, ticket_id (the Inbox number), ticket_attributes (title, description and custom ones), ticket_state, ticket_type…
intercom_reply_to_ticketReply to a ticket as an admin. message_type note stays internal; comment is shown to the customer: show the text and confirm with the user…
intercom_update_ticketChange a ticket: its attributes (title, description, custom ones), state, assignee, open or closed, snooze, sharing with the customer
intercom_list_ticket_typesList the ticket types with id, name, category (Customer, Back-office, Tracker), archived and their ticket_type_attributes (name, data_type…
intercom_list_ticket_statesList the ticket states with id, category (submitted, in_progress, waiting_on_customer, resolved), internal_label, external_label and the…
intercom_list_help_centersList the Help Centers of the workspace with id, identifier, display_name, url, custom_domain and whether the website is on
intercom_list_collectionsList Help Center collections and sections, most recently updated first, with id, name, description, url, parent_id (set on sections and…
intercom_get_collectionRead one Help Center collection: name, description, url, icon, order, parent_id, help_center_id and translated_content
intercom_create_collectionCreate a Help Center collection, or a sub-collection with parent_id
intercom_update_collectionRename a Help Center collection, change its description or move it under another parent
intercom_delete_collectionDelete a Help Center collection for good
intercom_list_articlesList Help Center articles, most recently updated first, with id, title, description, body (HTML), author_id, state (published or draft)…
intercom_search_articlesSearch Help Center articles for a phrase
intercom_get_articleRead one Help Center article: title, description, body (HTML), author_id, state, parent_ids, url, statistics and translated_content per…
intercom_create_articleWrite a new Help Center article
intercom_update_articleChange a Help Center article
intercom_delete_articleDelete a Help Center article for good; setting state draft with intercom_update_article only unpublishes it

示例提示

  • “列出所有尚未分配给任何人的未结会话,并注明每个会话的客户和主题。”
  • “找到邮箱为 [email protected] 的联系人,汇总她所属的公司、标签和最近的会话。”
  • “为关于账单的最早一条未结会话起草回复,发送前先给我看。”
  • “列出 Help Center 中仍是草稿的文章,并告诉我哪些看起来可以发布了。”

FAQ

Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。

下一步

这份指南对你有帮助吗?

你的 Intercom 智能体只差一次点击。

安装连接器,粘贴密钥,向 Gemini 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 Intercom 连接到 Claude

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

连接器

如何通过 MCP 将 Intercom 连接到 Cursor

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

连接器

如何通过 MCP 将 Intercom 连接到 Meta Muse

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

连接器

Intercom 接入 MCP:从任意 AI 代理驱动 Intercom

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

连接器

如何通过 MCP 将 Intercom 连接到 ChatGPT

让你的 AI 在 Intercom 中工作:查找和更新联系人与公司,阅读、搜索和分拣会话与工单(回复、添加备注、分配、暂缓、关闭、打标签),并管理 Help Center 的文章和集合。支持美国、欧盟或澳大利亚的工作区,使用 Developer Hub 应用的访问令牌。

连接器

如何通过 MCP 将 Avito 连接到 Gemini

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。