Logo Intercom

Intercom

Tổ chức
intercom

Intercom MCP Server documentation

Nhà phát hànhintercom
Kho mãintercom-mcp-server
Bản fork
12
Sao
7
Công cụ có sẵn
0
Phương thức truyền tảistreamable-http
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Intercom cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    7 sao và 12 bản fork từ kho mã được liên kết.

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

Cài đặt

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

Dùng MCP Intercom với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Intercom, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này kết nối qua URL máy chủ MCP được lưu trữ từ xa trong TypingMind.

Thêm URL máy chủ MCP

Dùng cách này khi Intercom đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập https://mcp.intercom.com/mcp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán https://mcp.intercom.com/mcp vào trường URL máy chủ.
  2. Nhập tên kết nối cho Intercom.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối Intercom hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của Intercom trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của Intercom trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Intercom giúp tôi làm việc này không?
Intercom
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Intercom.

Câu hỏi thường gặp

Máy chủ MCP Intercom dùng để làm gì?

Intercom là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Intercom với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Intercom với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Intercom với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Intercom, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Intercom với TypingMind?

Bạn có thể kết nối Intercom trong TypingMind bằng cách thêm URL máy chủ MCP được lưu trữ từ xa của dịch vụ này. Cách này hữu ích khi bạn muốn dùng kết nối MCP từ xa ngay trong không gian làm việc TypingMind.

MCP Intercom cung cấp những công cụ nào trong TypingMind?

Intercom cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Intercom không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Intercom yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇