Intercom Support Tickets MCP server

Integrates with Intercom's API to retrieve, filter, and analyze customer support tickets by date range, keywords, and status for efficient support monitoring and conversation history review.
Back to servers
Setup instructions
Provider
Raoul Biagioni
Release date
Mar 18, 2025
Language
TypeScript
Stats
6 stars

This MCP-compliant server allows you to retrieve and analyze Intercom customer support tickets from within AI assistants like Claude Desktop and Cline. It provides access to both open and closed tickets with full conversation history, and includes filtering capabilities by date and keywords.

Installation

Prerequisites

  • Node.js 18.0.0 or higher
  • An Intercom account with API access

Quick Setup

Install the package globally:

npm install -g mcp-server-for-intercom

Set your Intercom API token:

# For Linux/Mac
export INTERCOM_ACCESS_TOKEN="your_token_here"

# For Windows Command Prompt
set INTERCOM_ACCESS_TOKEN=your_token_here

# For PowerShell
$env:INTERCOM_ACCESS_TOKEN = "your_token_here"

Start the server:

intercom-mcp

Using with Claude Desktop

Configuration

Add the following to your claude_desktop_config.json file:

{
  "mcpServers": {
    "intercom-mcp": {
      "command": "intercom-mcp",
      "args": [],
      "env": {
        "INTERCOM_ACCESS_TOKEN": "your_intercom_api_token"
      }
    }
  }
}

Replace "your_intercom_api_token" with your actual Intercom API token.

Using the MCP Inspector

The MCP Inspector helps with debugging and testing your MCP server implementation.

Inspector Setup

Install the inspector:

npm install -g @modelcontextprotocol/inspector

Run the inspector with your server:

npx @modelcontextprotocol/inspector node build/index.js

This will:

  • Start your MCP server
  • Launch a web interface (typically at http://localhost:3000)
  • Allow you to send requests and view responses

Available API Tools

list_tickets

Retrieves support tickets with conversation history within a specified date range.

Parameters:

  • startDate (DD/MM/YYYY format) – Required start date for ticket retrieval
  • endDate (DD/MM/YYYY format) – Required end date for ticket retrieval
  • keyword (string) – Optional filter to only include tickets containing this text
  • exclude (string) – Optional filter to exclude tickets containing this text

Usage Notes:

  • Date range must not exceed 7 days
  • Dates must use the DD/MM/YYYY format (e.g., "15/01/2025")

Example Request:

{
  "startDate": "15/01/2025",
  "endDate": "21/01/2025",
  "keyword": "billing"
}

Example Response:

{
  "result": [
    {
      "ticket_id": "12345",
      "subject": "Billing Issue",
      "status": "resolved",
      "created_at": "2024-03-06T10:15:00Z",
      "conversation": [
        {
          "from": "customer",
          "text": "Hey, I was double charged!",
          "timestamp": "2024-03-06T10:15:00Z"
        },
        {
          "from": "support_agent",
          "text": "We've refunded the duplicate charge.",
          "timestamp": "2024-03-06T10:45:00Z"
        }
      ]
    }
  ]
}

Using a Local Development Version

If you prefer to run a development version:

  1. Clone the repository:

    git clone https://github.com/raoulbia-ai/mcp-server-for-intercom.git
    cd mcp-server-for-intercom
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    
  4. Configure Claude Desktop:

    {
      "mcpServers": {
        "intercom-mcp-local": {
          "command": "npm",
          "args": ["run", "dev"],
          "env": {
            "INTERCOM_ACCESS_TOKEN": "your_intercom_api_token",
            "NODE_ENV": "development"
          },
          "cwd": "/path/to/your/mcp-server-for-intercom"
        }
      }
    }
    

    Replace "your_intercom_api_token" with your actual token and "/path/to/your/mcp-server-for-intercom" with the correct path.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "intercom-mcp" '{"command":"intercom-mcp","args":[],"env":{"INTERCOM_ACCESS_TOKEN":"your_intercom_api_token"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "intercom-mcp": {
            "command": "intercom-mcp",
            "args": [],
            "env": {
                "INTERCOM_ACCESS_TOKEN": "your_intercom_api_token"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "intercom-mcp": {
            "command": "intercom-mcp",
            "args": [],
            "env": {
                "INTERCOM_ACCESS_TOKEN": "your_intercom_api_token"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later