mcp intercom
Provides access to Intercom conversations and chats through the Model Context Protocol, allowing LLMs to query and analyze Intercom conversations with various filtering options.
Provides access to Intercom conversations and chats through the Model Context Protocol, allowing LLMs to query and analyze Intercom conversations with various filtering options.
A Model Context Protocol (MCP) server that provides access to Intercom conversations and chats. This server allows LLMs to query and analyze your Intercom conversations with various filtering options.
Clone the repository:
git clone https://github.com/fabian1710/mcp-intercom.git
cd mcp-intercom
Install dependencies:
npm install
Set up your environment:
cp .env.example .env
Add your Intercom API key to .env
:
INTERCOM_API_KEY=your_api_key_here
Build the server:
npm run build
Start the server:
npm start
~/Library/Application Support/Claude/claude_desktop_config.json
on macOS or %AppData%Claudeclaude_desktop_config.json
on Windows):{
"mcpServers": {
"intercom": {
"command": "node",
"args": ["/path/to/mcp-intercom/dist/index.js"],
"env": {
"INTERCOM_API_KEY": "your_api_key_here"
}
}
}
}
Searches Intercom conversations with optional filters.
Parameters:
- createdAt
(optional): Object with operator
(e.g., ">", "<", "=") and value
(UNIX timestamp) for filtering by creation date.
- updatedAt
(optional): Object with operator
(e.g., ">", "<", "=") and value
(UNIX timestamp) for filtering by update date.
- sourceType
(optional): Source type of the conversation (e.g., "email", "chat").
- state
(optional): Conversation state to filter by (e.g., "open", "closed").
- open
(optional): Boolean to filter by open status.
- read
(optional): Boolean to filter by read status.
Example queries: - "Search for all conversations created after January 1, 2024" - "Find conversations updated before last week" - "List all open email conversations" - "Get all unread conversations"
Start development mode with auto-recompilation:
npm run dev
Run linting:
npm run lint
MIT