An MCP-compliant server for retrieving customer support tickets from Intercom. This tool enables AI assistants like Claude Desktop and Cline to access and analyze your Intercom support tickets.
Documentation
MCP Server for Intercom
An MCP-compliant server that enables AI assistants to access and analyze customer support data from Intercom.
Features
Search conversations and tickets with advanced filtering
Filter by customer, status, date range, and keywords
Search by email content even when no contact exists
Efficient server-side filtering via Intercom's search API
Seamless integration with MCP-compliant AI assistants
Installation# Prerequisites
Node.js 18.0.0 or higher
An Intercom account with API access
Your Intercom API token (available in your Intercom account settings)
Quick Setup## Using NPM
npm install -g mcp-server-for-intercom\n\n# Set your Intercom API token
export INTERCOM_ACCESS_TOKEN="your_token_here"\n\n# Run the server
intercom-mcp
Using Docker
The default Docker configuration is optimized for Glama compatibility:
docker build -t mcp-intercom .\n\n# 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
Validation Steps:
curl -v http://localhost:8080/.well-known/glama.json\n\n# Test the MCP endpoint
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"mcp.capabilities"}' http://localhost:3000
Alternative Standard Version
If you prefer a lighter version without Glama-specific dependencies:
docker build -t mcp-intercom-standard -f Dockerfile.standard .\n\n# 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
The default version includes specific dependencies and configurations required for integration with the Glama platform, while the standard version is more lightweight.
Available MCP Tools# 1. list_conversations
Retrieves all conversations within a date range with content filtering.
Parameters:
startDate (DD/MM/YYYY) – Start date (required)
endDate (DD/MM/YYYY) – End date (required)
keyword (string) – Filter to include conversations with this text
exclude (string) – Filter to exclude conversations with this text
Notes:
Date range must not exceed 7 days
Uses efficient server-side filtering via Intercom's search API
Example:
For detailed technical information about how this server integrates with Intercom's API, see src/services/INTERCOM_API_NOTES.md. This document explains our parameter mapping, Intercom endpoint usage, and implementation details for developers.
Development
git clone https://github.com/raoulbia-ai/mcp-server-for-intercom.git
cd mcp-server-for-intercom
npm install\n\n# Build and run for development
npm run build
npm run dev\n\n# Run tests
npm test
Disclaimer
This project is an independent integration and is not affiliated with, officially connected to, or endorsed by Intercom Inc. "Intercom" is a registered trademark of Intercom Inc.
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.