MCP Server for Intercom
对讲机的 MCP 服务器
符合 MCP 标准的服务器,使 AI 助手能够访问和分析来自 Intercom 的客户支持数据。
特征
使用高级过滤功能搜索对话和工单
按客户、状态、日期范围和关键字进行过滤
即使没有联系人也可以通过电子邮件内容进行搜索
通过 Intercom 的搜索 API 进行高效的服务器端过滤
与符合 MCP 标准的 AI 助手无缝集成
Related MCP server: jitbit-helpdesk-mcp
安装
先决条件
Node.js 18.0.0 或更高版本
具有 API 访问权限的 Intercom 帐户
您的 Intercom API 令牌(可在您的 Intercom 帐户设置中找到)
快速设置
使用 NPM
# Install the package globally
npm install -g mcp-server-for-intercom
# Set your Intercom API token
export INTERCOM_ACCESS_TOKEN="your_token_here"
# Run the server
intercom-mcp使用 Docker
默认的 Docker 配置针对 Glama 兼容性进行了优化:
# Start Docker (if not already running)
# On Windows: Start Docker Desktop application
# On Linux: sudo systemctl start docker
# Build the image
docker build -t mcp-intercom .
# Run the container with your API token and port mappings
docker run --rm -it -p 3000:3000 -p 8080:8080 -e INTERCOM_ACCESS_TOKEN="your_token_here" mcp-intercom:latest验证步骤:
# Test the server status
curl -v http://localhost:8080/.well-known/glama.json
# Test the MCP endpoint
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"mcp.capabilities"}' http://localhost:3000替代标准版本
如果您更喜欢没有 Glama 特定依赖项的轻量级版本:
# Build the standard image
docker build -t mcp-intercom-standard -f Dockerfile.standard .
# Run the standard container
docker run --rm -it -p 3000:3000 -p 8080:8080 -e INTERCOM_ACCESS_TOKEN="your_token_here" mcp-intercom-standard:latest默认版本包含与 Glama 平台集成所需的特定依赖项和配置,而标准版本则更加轻量级。
可用的 MCP 工具
1. list_conversations
使用内容过滤检索某个日期范围内的所有对话。
参数:
startDate(DD/MM/YYYY) – 开始日期(必填)endDate(DD/MM/YYYY) – 结束日期(必填)keyword(字符串) – 筛选包含此文本的对话exclude(字符串) – 过滤以排除包含此文本的对话
笔记:
日期范围不得超过 7 天
通过 Intercom 的搜索 API 使用高效的服务器端过滤
例子:
{
"startDate": "15/01/2025",
"endDate": "21/01/2025",
"keyword": "billing"
}2. search_conversations_by_customer
查找特定客户的对话。
参数:
customerIdentifier(字符串) – 客户电子邮件或 Intercom ID(必需)startDate(DD/MM/YYYY) – 可选开始日期endDate(DD/MM/YYYY) – 可选结束日期keywords(数组) – 按内容过滤的可选关键字
笔记:
即使没有联系人,也可以通过电子邮件内容查找对话
将电子邮件解析为联系人 ID,以便高效搜索
例子:
{
"customerIdentifier": "customer@example.com",
"startDate": "15/01/2025",
"endDate": "21/01/2025",
"keywords": ["billing", "refund"]
}3. 按状态search_tickets_by_status
根据票证状态检索票证。
参数:
status(字符串)——“打开”、“待定”或“已解决”(必需)startDate(DD/MM/YYYY) – 可选开始日期endDate(DD/MM/YYYY) – 可选结束日期
例子:
{
"status": "open",
"startDate": "15/01/2025",
"endDate": "21/01/2025"
}4. search_tickets_by_customer
查找与特定客户相关的票证。
参数:
customerIdentifier(字符串) – 客户电子邮件或 Intercom ID(必需)startDate(DD/MM/YYYY) – 可选开始日期endDate(DD/MM/YYYY) – 可选结束日期
例子:
{
"customerIdentifier": "customer@example.com",
"startDate": "15/01/2025",
"endDate": "21/01/2025"
}使用 Claude Desktop 进行配置
添加到您的claude_desktop_config.json :
{
"mcpServers": {
"intercom-mcp": {
"command": "intercom-mcp",
"args": [],
"env": {
"INTERCOM_ACCESS_TOKEN": "your_intercom_api_token"
}
}
}
}实施说明
有关此服务器如何与 Intercom API 集成的详细技术信息,请参阅src/services/INTERCOM_API_NOTES.md 。本文档介绍了我们的参数映射、Intercom 端点使用方法以及面向开发者的实现细节。
发展
# Clone and install dependencies
git clone https://github.com/raoulbia-ai/mcp-server-for-intercom.git
cd mcp-server-for-intercom
npm install
# Build and run for development
npm run build
npm run dev
# Run tests
npm test免责声明
该项目是一个独立集成项目,与 Intercom Inc. 没有任何关联、官方联系或认可。“Intercom”是 Intercom Inc. 的注册商标。
执照
该项目根据 Apache License 2.0 获得许可 - 有关详细信息,请参阅 LICENSE 文件。
Available Tools
4 toolslist_conversationsA
Retrieves Intercom conversations within a specific date range.
Required: startDate, endDate (DD/MM/YYYY format, max 7-day range) Optional: keyword, exclude (for content filtering)
Always ask for specific dates when user makes vague time references.
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date in DD/MM/YYYY format (e.g., '21/01/2025'). Required. | |
| exclude | No | Optional exclusion filter for conversation content. | |
| keyword | No | Optional keyword to filter conversations by content. | |
| startDate | Yes | Start date in DD/MM/YYYY format (e.g., '15/01/2025'). Required. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It adds some context beyond basic functionality: it specifies the date format (DD/MM/YYYY), max range (7 days), and that parameters are required or optional. However, it doesn't cover important behavioral aspects like rate limits, authentication needs, pagination, or what the return format looks like (especially since there's no output schema). For a tool with no annotations, this leaves gaps in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by details on parameters and a usage directive. Each sentence adds value, with no wasted words. It could be slightly more structured (e.g., bullet points for parameters), but it's efficient and clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (a retrieval tool with 4 parameters), no annotations, and no output schema, the description is somewhat complete but has gaps. It covers the basic purpose, parameter requirements, and a usage tip, but lacks details on behavioral traits (e.g., rate limits), output format, and how it differs from siblings. For a tool without structured support, it should do more to compensate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, meaning the input schema already documents all parameters thoroughly. The description adds minimal value beyond the schema: it reiterates that startDate and endDate are required and in DD/MM/YYYY format, and mentions the max 7-day range (which isn't in the schema). However, it doesn't provide additional semantic context for the optional parameters (keyword, exclude) or explain their interactions. Baseline 3 is appropriate when the schema does most of the work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Retrieves Intercom conversations within a specific date range.' This specifies the verb ('retrieves'), resource ('Intercom conversations'), and scope ('within a specific date range'). However, it doesn't explicitly differentiate from sibling tools like 'search_conversations_by_customer,' which appears to be a more targeted search tool, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for usage: it specifies that the tool is for retrieving conversations within a date range and includes a directive to 'Always ask for specific dates when user makes vague time references.' This offers practical guidance on when to use it (for date-based retrieval) and how to handle ambiguous inputs. However, it doesn't explicitly state when not to use it or mention alternatives like the sibling tools, so it's not a perfect 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_conversations_by_customerA
Searches for conversations by customer email or ID with optional date filtering.
Required: customerIdentifier (email/ID) Optional: startDate, endDate (DD/MM/YYYY format) Optional: keywords (array of terms to filter by)
Use when looking for conversation history with a specific customer.
| Name | Required | Description | Default |
|---|---|---|---|
| customerIdentifier | Yes | Customer email or ID to search for | |
| endDate | No | Optional end date in DD/MM/YYYY format (e.g., '21/01/2025') | |
| keywords | No | Optional keywords to filter conversations by content | |
| startDate | No | Optional start date in DD/MM/YYYY format (e.g., '15/01/2025') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions optional date filtering and keywords, but lacks critical behavioral details like whether this is a read-only operation, what permissions are needed, how results are returned (e.g., pagination), or error handling. For a search tool with no annotation coverage, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Perfectly concise and well-structured: first sentence states purpose, bullet points clarify parameters, and final sentence provides usage guidance. Every sentence earns its place with zero waste, and information is front-loaded appropriately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description is incomplete for a search tool. It covers purpose and parameters well, but misses behavioral aspects like result format, pagination, or error cases. However, it's adequate for basic usage, so it meets the minimum viable threshold.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value by restating that customerIdentifier is required and dates/keywords are optional, but doesn't provide additional context beyond what's in the schema. Baseline 3 is appropriate when schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('searches') and resource ('conversations'), and distinguishes it from siblings by specifying it searches by customer email/ID rather than listing all conversations or searching tickets. The title being null doesn't affect this clarity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use this tool ('Use when looking for conversation history with a specific customer'), which differentiates it from sibling tools like list_conversations (general listing) and search_tickets_by_customer (ticket-focused). No when-not guidance, but the context is clear enough for full credit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_tickets_by_customerB
Searches for tickets by customer email or ID with optional date filtering.
Required: customerIdentifier (email/ID) Optional: startDate, endDate (DD/MM/YYYY format)
Use when analyzing a customer's support history.
| Name | Required | Description | Default |
|---|---|---|---|
| customerIdentifier | Yes | Customer email or ID to search for | |
| endDate | No | Optional end date in DD/MM/YYYY format (e.g., '21/01/2025') | |
| startDate | No | Optional start date in DD/MM/YYYY format (e.g., '15/01/2025') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. While it mentions the tool is for searching (implying read-only), it doesn't disclose important behavioral traits like whether this is a safe read operation, if it requires specific permissions, rate limits, pagination behavior, or what the response format looks like. The description adds minimal behavioral context beyond the basic function.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized with three sentences that are front-loaded with the core purpose. Each sentence earns its place by providing purpose, parameter guidance, and usage context. Minor improvements could include combining the parameter details into a single sentence for better flow.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (3 parameters, no output schema, no annotations), the description is somewhat complete but has gaps. It covers the purpose and basic usage but lacks details on behavioral traits, response format, and explicit differentiation from sibling tools. The absence of annotations and output schema increases the need for more comprehensive description, which isn't fully met.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents all parameters. The description adds some value by explicitly labeling parameters as 'Required' and 'Optional' and specifying the date format, but this information is largely redundant with the schema. The baseline score of 3 reflects adequate but not exceptional added semantic value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches for tickets by customer email or ID with optional date filtering, providing a specific verb ('searches') and resource ('tickets'). It distinguishes from sibling tools like 'search_tickets_by_status' by specifying customer-based search, though it doesn't explicitly mention how it differs from 'search_conversations_by_customer' beyond the resource type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use the tool ('when analyzing a customer's support history'), which helps guide usage. However, it doesn't explicitly state when NOT to use it or mention specific alternatives among the sibling tools, such as when to choose 'search_conversations_by_customer' instead.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_tickets_by_statusA
Searches for tickets by status with optional date filtering.
Required: status (one of: open, pending, resolved) Optional: startDate, endDate (DD/MM/YYYY format)
Use when analyzing support workload or tracking issue resolution.
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Optional end date in DD/MM/YYYY format (e.g., '21/01/2025') | |
| startDate | No | Optional start date in DD/MM/YYYY format (e.g., '15/01/2025') | |
| status | Yes | Ticket status to search for (open, pending, or resolved) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. While it mentions the search functionality and date format, it lacks critical behavioral details: it doesn't specify whether this is a read-only operation, what permissions might be required, how results are returned (e.g., pagination, format), or any rate limits. For a search tool with no annotation coverage, this leaves significant gaps in understanding its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with three sentences: purpose statement, parameter requirements, and usage guidelines. Each sentence adds distinct value without redundancy. It's appropriately sized and front-loaded with the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description is moderately complete for a search tool. It covers the basic purpose, parameters, and usage context, but lacks details about behavioral aspects (e.g., read-only nature, result format, error handling) and doesn't fully address sibling tool differentiation. For a tool with 3 parameters and no structured safety hints, more behavioral context would be beneficial.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with all parameters well-documented in the schema (status with enum values, startDate/endDate with format). The description adds minimal value beyond the schema: it repeats the status options and date format, but doesn't provide additional context like how date filtering interacts with status or example use cases for the parameters. This meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Searches for tickets by status with optional date filtering.' This specifies the verb ('searches'), resource ('tickets'), and scope ('by status with optional date filtering'). However, it doesn't explicitly differentiate from sibling tools like 'search_tickets_by_customer' or 'search_conversations_by_customer', which would require mentioning customer vs. status filtering.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear usage context: 'Use when analyzing support workload or tracking issue resolution.' This gives practical scenarios for when to use the tool. However, it doesn't explicitly state when NOT to use it or mention alternatives like the sibling tools, which would be needed for a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.0.0- First observed
list_conversations - First observed
search_conversations_by_customer - First observed
search_tickets_by_customer - First observed
search_tickets_by_status
TDQS
Scored across 4 tools
The tools are mostly distinct with clear purposes: list_conversations retrieves all conversations in a date range, while the other three are specific searches (by customer for conversations/tickets, by status for tickets). However, search_conversations_by_customer and search_tickets_by_customer could be slightly confused since both target customers, but their descriptions clarify the resource difference (conversations vs. tickets).
All tool names follow a consistent verb_noun pattern with snake_case: list_conversations, search_conversations_by_customer, search_tickets_by_customer, search_tickets_by_status. The naming is predictable and readable throughout the set.
With only 4 tools, the set feels thin for an Intercom server, which typically handles a broader range of operations like creating/updating conversations, managing contacts, or sending messages. While the tools cover basic retrieval and search, the count is borderline low for the domain's potential scope.
The tool surface is significantly incomplete for an Intercom integration. It only provides search and list operations, missing essential CRUD actions like create_conversation, update_ticket, or delete operations. There are also gaps in managing other Intercom resources such as contacts, companies, or messages, which will limit agent capabilities.
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Build and manage AI-native customer support agents from Claude or any MCP client.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Cloud-hosted MCP server for secure AI access to enterprise data sources via CData Connect AI.
Related MCP Servers
- AlicenseBqualityBmaintenanceAn MCP server that provides searchable local storage for Claude conversation history, featuring automatic topic extraction and weekly insight summaries. It enables Claude to retrieve context from past sessions through full-text search and organized file storage.103MIT

jitbit-helpdesk-mcpofficial
AlicenseAqualityDmaintenanceAn MCP server that lets AI assistants search and read support tickets from Jitbit Helpdesk. Works with both SaaS and on-premise installations.360 npm3MIT- FlicenseNot gradedqualityDmaintenanceAn MCP server that exposes Intercom tools to Claude Desktop and sends a daily support report via email.-
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to interact with Freshservice service desk, supporting ticket search, retrieval, and creation via a configurable, Docker-first deployment.MIT