Intercom 标志

Intercom

组织
intercom

Intercom MCP Server documentation

发布者intercom
代码仓库intercom-mcp-server
复刻数
12
星标数
7
可用工具
0
传输类型streamable-http
链接
  • 将工具接入 AI 工作流

    Intercom 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 7 个 Star 和 12 个 Fork。

Model Context Protocol (MCP)

Learn how to use the Model Context Protocol (MCP) to enable AI agents to securely access and interact with your Intercom data whenever helpful.

Region availability Currently the Intercom MCP server is only supported in US hosted workspaces.

What is Model Context Protocol?

MCP is a protocol that enables AI tools and applications to connect with Intercom's data and services in a secure, standardized way. It provides a structured method for AI models to:

  • Find and retrieve Intercom data (conversations, contacts, etc.)
  • Access specific tools and functionality provided by Intercom
  • Maintain context about your Intercom workspace when working with AI assistants

How MCP Works

Intercom hosts a remote MCP server that follows the authenticated remote MCP specification (docs). This server handles requests from AI tools and provides access to Intercom data through a secure interface.

Connection URLs:

  • Streamable HTTP (Recommended): https://mcp.intercom.com/mcp
  • Legacy SSE: https://mcp.intercom.com/sse (deprecated, maintained for backwards compatibility)

When an AI tool or application needs to access Intercom data:

  1. The tool connects to Intercom's MCP server
  2. Authentication verifies the user's permissions
  3. The tool can then access relevant Intercom data and functionality
  4. The connection remains live to receive updates as needed

Benefits of Using MCP

  • Secure Access: All data access is authenticated and authorized
  • Standardized Interface: Consistent interaction pattern across different AI tools
  • Contextual Understanding: AI assistants maintain awareness of your Intercom environment
  • Increased Development Efficiency: Retrieve and interpret customer data from Intercom via your internal AI tools to be more efficient in your work

Available Tools

The Intercom MCP Server provides 6 tools for interacting with the Intercom API:

Universal Tools

search

Universal search tool for finding conversations and contacts using a query DSL approach.

Key Features:

  • Must specify object_type:conversations or object_type:contacts to indicate which API to call
  • Supports complex field-based queries with operators (eq, neq, gt, lt, contains, etc.)
  • Returns summary results with IDs prefixed by type (conversation_* or contact_*)
  • Built-in pagination support with starting_after parameter
  • Free-text search capability with q: parameter

Example Queries:

object_type:conversations state:open source_type:email
object_type:contacts email_domain:"example.com"
object_type:conversations source_body:contains:"refund" limit:20

fetch

Retrieve complete detailed information for specific resources.

Key Features:

  • Use IDs returned from search results (prefixed with conversation_ or contact_)
  • Returns full resource details including metadata, conversation parts, custom attributes
  • Includes direct links to Intercom app for easy navigation

Direct API Tools

search_conversations

Search conversations by specific IDs with advanced filtering options including source type, author details, state, and timing statistics.

get_conversation

Retrieve a single conversation by ID with complete details including all conversation parts and metadata.

search_contacts

Search contacts by IDs, name, email, phone, custom attributes, or email domain with flexible matching options.

get_contact

Get complete contact information including custom attributes, location data, and activity timestamps.

Setting things up

Authentication Methods

The MCP server supports two authentication approaches:

  1. OAuth Flow (Recommended): Automatic browser-based authentication
  2. Bearer Token: Direct API token authentication

Configuration Examples

Configuration Guide The examples below are generic templates. Always refer to your specific LLM provider's official documentation for the most up-to-date configuration instructions, as setup details may vary between versions and providers.

For OAuth authentication (recommended):

json
{
  "mcpServers": {
    "intercom": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.intercom.com/mcp"
      ]
    }
  }
}

For Bearer token authentication:

json
{
  "mcpServers": {
    "intercom": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.intercom.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer YOUR_INTERCOM_API_TOKEN"
      }
    }
  }
}

LLM Provider Setup Guides

Each AI provider has specific setup instructions for MCP servers. Please consult the official documentation for your provider:

Required Scopes

The Intercom MCP server requires the following permissions to access your workspace data. When using Bearer token authentication, ensure your access token includes these scopes. Learn more about OAuth permissions.

  • Read and list users and companies: Required for Intercom User and Company data access
  • Read conversations: Required for Intercom Conversation data access

MCP Inspector for Server Exploration

Test the connection using:

bash
npx @modelcontextprotocol/inspector

Then connect to:

  • Transport Type: Streamable HTTP
  • URL: https://mcp.intercom.com/mcp (or /sse for legacy)

Debugging and Troubleshooting MCP-Remote

  1. Authentication Problems
bash
# Kill existing connections
pkill -f mcp-remote

# Clear MCP auth cache
rm -rf ~/.mcp-auth
  1. Connection Testing
bash
# Test direct connection
npx mcp-remote https://mcp.intercom.com/mcp

# With bearer token
npx mcp-remote https://mcp.intercom.com/mcp --header "Authorization:Bearer YOUR_TOKEN"
  1. View Active MCP Connections
bash
ps aux | grep mcp-remote | grep -v grep

Error Handling

  • Invalid queries: The search tool validates field names and operators, returning specific error messages
  • Authentication failures: Check token validity or restart OAuth flow
  • Rate limiting: Intercom API limits apply - reduce request frequency if needed

Troubleshooting Tips

  • Restart AI Agent after configuration changes
  • Use the MCP Inspector to verify tool availability
  • Check browser console for OAuth-related errors
  • Verify Intercom API token permissions for bearer auth

安装

TypingMind
{
  "mcpServers": {
    "intercom": {
      "url": "https://mcp.intercom.com/mcp"
    }
  }
}

将 Intercom MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Intercom 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过远程托管的 MCP 服务器 URL 在 TypingMind 中连接。

添加 MCP 服务器 URL

如果 Intercom 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 https://mcp.intercom.com/mcp。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 https://mcp.intercom.com/mcp 粘贴到“服务器 URL”字段中。
  2. 为 Intercom 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 Intercom 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 Intercom 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 Intercom 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Intercom 帮我完成这项任务吗?
Intercom
当然。我已阅读。
以下是我使用 Intercom 得到的结果。

常见问题

Intercom MCP 服务器有什么用途?

Intercom 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Intercom MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Intercom,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Intercom MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Intercom 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Intercom MCP 连接到 TypingMind?

在 TypingMind 中添加 Intercom 托管的 MCP 服务器 URL,即可连接。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

Intercom MCP 在 TypingMind 中提供哪些工具?

Intercom 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Intercom MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Intercom 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇