Back to Guides

How to Connect Intercom to ChatGPT

Connect the Intercom API to ChatGPT via MCP. Analyze conversations, track customer support metrics, and query contacts with AI using AnythingMCP.

Analyze Customer Support with ChatGPT

Intercom has no official MCP connector. With AnythingMCP, you can convert Intercom's REST API into an MCP server and let ChatGPT analyze conversations, support metrics, and customer data.

Step-by-Step Guide

Step 1: Deploy AnythingMCP

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Step 2: Get Intercom API Token

Go to Settings > Integrations > Developer Hub in Intercom. Create an app and generate an access token with read permissions.

Step 3: Create a REST Connector

Create a REST connector with base URL https://api.intercom.io. Set Bearer token and add Intercom-Version: 2.10 header.

Step 4: Expose Key Endpoints

  • GET /conversations — All conversations
  • GET /conversations/{id} — Conversation details
  • GET /contacts — Customer contacts
  • GET /tickets — Support tickets
  • GET /data_attributes — Custom attributes
  • GET /teams — Support teams

Step 5: Connect ChatGPT

{
  "mcpServers": {
    "intercom": {
      "url": "http://localhost:4000/mcp"
    }
  }
}

Step 6: Analyze Your Support

  • "How many open conversations do we have?"
  • "What's our average first response time this week?"
  • "Which topics come up most in customer conversations?"
  • "Show me all unresolved tickets older than 3 days"
  • "How many new contacts were added this month?"

Next Steps