npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/kaosensei-intercom-mcp

v0.6.1

Published

Intercom MCP server for Help Center content management and CS workflow automation.

Readme

Intercom MCP Server

Intercom MCP server for Help Center content management and CS workflow automation.

Version

v0.6.0 - Added CS workflow tools (reply conversation, add note, close conversation, update ticket)

Features

Articles

  • get_article - Get a single article by ID
  • list_articles - List articles with pagination
  • search_articles - Search articles by keywords with highlighting support
  • create_article - Create new articles with multilingual content
  • update_article - Update existing articles with partial updates

Collections

  • list_collections - List all Help Center collections
  • get_collection - Get a single collection by ID
  • update_collection - Update collection info and translations
  • delete_collection - Delete a collection (permanent)

CS Workflow

  • reply_conversation - Reply to a conversation as an admin
  • add_conversation_note - Add an internal note to a conversation
  • close_conversation - Close a conversation
  • update_ticket - Update a ticket's state or attributes

Installation

  1. Clone the repository:
git clone https://github.com/kaosensei/intercom-mcp.git
cd intercom-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Get Intercom Access Token

  1. Go to Intercom Settings → Developers → Developer Hub
  2. Create a new app or use existing one
  3. Get an Access Token with Articles and Conversations read and write permissions

Environment Variables

| Variable | Required | Description | |---|---|---| | INTERCOM_ACCESS_TOKEN | ✅ Always | Your Intercom API access token | | INTERCOM_ADMIN_ID | ✅ For CS tools | Admin ID used for reply_conversation and add_conversation_note when admin_id parameter is not provided |

Configure with Claude Code (Recommended)

If you're using Claude Code CLI, you can easily add the MCP server:

claude mcp add --transport stdio intercom-mcp \
  --env INTERCOM_ACCESS_TOKEN=<your_token> \
  --env INTERCOM_ADMIN_ID=<your_admin_id> \
  -- node /ABSOLUTE/PATH/TO/intercom-mcp/dist/index.js

Replace:

  • <your_token> with your Intercom Access Token
  • /ABSOLUTE/PATH/TO/ with your actual project path

To verify it's configured:

claude mcp list

Configure Claude Desktop Manually

Alternatively, edit your Claude Desktop config file:

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

Add this configuration:

{
  "mcpServers": {
    "intercom-mcp": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/intercom-mcp/dist/index.js"
      ],
      "env": {
        "INTERCOM_ACCESS_TOKEN": "your_intercom_access_token_here",
        "INTERCOM_ADMIN_ID": "your_admin_id_here"
      }
    }
  }
}

Important:

  • Replace /ABSOLUTE/PATH/TO/intercom-mcp with your actual project path
  • Replace your_intercom_access_token_here with your actual token
  • Replace your_admin_id_here with your Intercom admin ID (required for CS tools)

Restart Claude Desktop

Completely quit Claude Desktop and restart it.

Usage

Once configured, you can use these commands in Claude Desktop:

List Articles

List Intercom articles

or

Show me the first 20 Intercom articles

Get Article Details

Get Intercom article with ID 9876543

Search Articles

Search for Intercom articles about "subscription"

or

Search published articles containing "播客" with highlighted matches

or

Find articles with keyword "訂閱" in Chinese

Create Article

Create a new Intercom article titled "Getting Started Guide" with content "Welcome to our platform" by author ID 123456, save as draft

Update Article

Update article 9876543 and change its state to published

List Collections

List all Intercom Help Center collections

Get Collection

Get collection with ID 14608214

Update Collection

Update collection 14608214 and add Japanese translation

Delete Collection

Delete collection 16036040

Use Case: Translation Management

One of the key features of v0.4.0 is the ability to manage multilingual collections efficiently.

Add Missing Translations

You can easily add translations to collections that are missing certain languages:

Update collection 14608214 and add the missing Japanese translation: name "アカウント管理", description "アカウント設定を管理する"

Bulk Translation Updates

Check which collections are missing translations:

List all collections and show me which ones are missing Japanese translations

Then update them one by one or create a plan to update multiple collections.

Verify Translations

After updating, verify the changes:

Get collection 14608214 and show me all available translations

Tools Reference

get_article

Get a single article by ID.

Parameters:

  • id (string, required): Article ID

Example:

{
  "id": "9876543"
}

list_articles

List articles with pagination.

Parameters:

  • page (number, optional): Page number (default: 1)
  • per_page (number, optional): Articles per page (default: 10, max: 50)

Example:

{
  "page": 1,
  "per_page": 20
}

search_articles

Search for articles using keywords. Supports full-text search across article content with multilingual support (English, Chinese, Japanese, etc.).

Parameters:

  • phrase (string, required): Search keywords/phrase to find in articles
  • state (string, optional): Filter by article state - "published", "draft", or "all" (default: "all")
  • help_center_id (string, optional): Filter by specific Help Center ID
  • highlight (boolean, optional): Return highlighted matching content snippets (default: false)

Example (Simple search):

{
  "phrase": "subscription"
}

Example (Search with filters):

{
  "phrase": "播客",
  "state": "published",
  "highlight": true
}

Example (Chinese keyword search):

{
  "phrase": "訂閱制",
  "state": "all",
  "highlight": true
}

Response includes:

  • total_count: Total number of matching articles
  • data.articles: Array of matching articles with full content
  • pages: Pagination information with next page URL
  • Highlighted content snippets (when highlight: true)

Use Cases:

  • Find all articles about a specific topic
  • Search for Chinese/Japanese content in multilingual help centers
  • Locate articles that need updating
  • Discover related content for cross-linking

create_article

Create a new article with multilingual support.

Parameters:

  • title (string, required): Article title
  • body (string, required): Article content in HTML format
  • author_id (number, required): Author ID (must be a valid Intercom team member)
  • description (string, optional): Article description
  • state (string, optional): "draft" or "published" (default: "draft")
  • parent_id (string, optional): Collection or section ID
  • parent_type (string, optional): "collection" (default)
  • translated_content (object, optional): Multilingual content

Example (Simple):

{
  "title": "Getting Started Guide",
  "body": "<p>Welcome to our platform</p>",
  "author_id": 123456,
  "state": "draft"
}

Example (Multilingual):

{
  "title": "Getting Started Guide",
  "body": "<p>Welcome to our platform</p>",
  "author_id": 123456,
  "state": "published",
  "translated_content": {
    "zh-TW": {
      "title": "入門指南",
      "body": "<p>歡迎使用我們的平台</p>",
      "author_id": 123456,
      "state": "published"
    },
    "ja": {
      "title": "スタートガイド",
      "body": "<p>プラットフォームへようこそ</p>",
      "author_id": 123456,
      "state": "published"
    }
  }
}

update_article

Update an existing article. Only provided fields will be updated.

Parameters:

  • id (string, required): Article ID
  • title (string, optional): Updated title
  • body (string, optional): Updated content
  • description (string, optional): Updated description
  • state (string, optional): "draft" or "published"
  • author_id (number, optional): Updated author ID
  • translated_content (object, optional): Updated translations

Example (Change state):

{
  "id": "9876543",
  "state": "published"
}

Example (Update content):

{
  "id": "9876543",
  "title": "Updated Title",
  "body": "<p>Updated content</p>"
}

Example (Add translation):

{
  "id": "9876543",
  "translated_content": {
    "zh-TW": {
      "title": "更新的標題",
      "body": "<p>更新的內容</p>"
    }
  }
}

list_collections

List all Help Center collections (top-level categories).

Parameters:

  • page (number, optional): Page number (default: 1)
  • per_page (number, optional): Collections per page (default: 50, max: 150)

Example:

{
  "page": 1,
  "per_page": 50
}

get_collection

Get a single collection by ID.

Parameters:

  • id (string, required): Collection ID

Example:

{
  "id": "14608214"
}

update_collection

Update an existing collection. Only provided fields will be updated. Perfect for adding missing translations!

Parameters:

  • id (string, required): Collection ID
  • name (string, optional): Updated collection name (updates default language)
  • description (string, optional): Updated description (updates default language)
  • parent_id (string, optional): Parent collection ID (null for top-level)
  • translated_content (object, optional): Updated translations

Example (Update name and description):

{
  "id": "14608214",
  "name": "Account Management",
  "description": "Manage your account settings"
}

Example (Add missing Japanese translation):

{
  "id": "14608214",
  "translated_content": {
    "ja": {
      "name": "アカウント管理",
      "description": "アカウント設定を管理"
    }
  }
}

Example (Update multiple language translations):

{
  "id": "14608214",
  "translated_content": {
    "ja": {
      "name": "アカウント管理",
      "description": "アカウント設定を管理する"
    },
    "id": {
      "name": "Manajemen Akun",
      "description": "Kelola pengaturan akun Anda"
    }
  }
}

delete_collection

Delete a collection permanently. WARNING: This action cannot be undone!

Parameters:

  • id (string, required): Collection ID to delete

Example:

{
  "id": "16036040"
}

⚠️ Important Notes:

  • Deleted collections cannot be restored
  • All content within the collection may be affected
  • Always backup important data before deletion

Development

Build

npm run build

Watch mode

npm run watch

Troubleshooting

Claude Desktop doesn't show the tools

  1. Check config file path is correct
  2. Verify JSON format (no trailing commas)
  3. Completely restart Claude Desktop
  4. Check absolute path to dist/index.js

API errors

  1. Verify your Access Token is correct
  2. Ensure token has Articles read permissions
  3. Check Intercom API status

Build errors

  1. Ensure TypeScript version >= 5.0
  2. Delete node_modules and dist, then:
npm install && npm run build

Project Structure

intercom-mcp/
├── package.json           # Project configuration
├── tsconfig.json          # TypeScript configuration
├── src/
│   └── index.ts           # Main server code
├── dist/                  # Compiled output
└── README.md             # This file

Roadmap

Completed

  • ✅ Get Article (v0.1.0)
  • ✅ List Articles (v0.1.0)
  • ✅ Create Article (v0.2.0)
  • ✅ Update Article (v0.2.0)
  • ✅ Multilingual support for Articles (v0.2.0)
  • ✅ List Collections (v0.3.1)
  • ✅ Get Collection (v0.3.1)
  • ✅ Update Collection (v0.4.0)
  • ✅ Delete Collection (v0.4.0)
  • ✅ Multilingual support for Collections (v0.4.0)
  • ✅ Search Articles with keyword matching and highlighting (v0.5.0)
  • ✅ Reply to conversations (v0.6.0)
  • ✅ Add internal notes to conversations (v0.6.0)
  • ✅ Close conversations (v0.6.0)
  • ✅ Update ticket state and attributes (v0.6.0)

Planned

  • 🔜 Delete Article
  • 🔜 Batch operations
  • 🔜 Better error handling
  • 🔜 Modular file structure

Resources

License

MIT