Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Intercom CLI

$ intercom Official Med Risk
Intercom · Workspace & SaaS · Proprietary (Intercom Developer Terms) · macos / linux / windows

Intercom CLI (intercom / @intercom/cli, also called Fin CLI) lets operators and coding agents manage Intercom Help Center articles, contacts, conversations, Messenger snippets, and Fin AI agent manifests from the terminal. Built for agents with auto-JSON/NDJSON when piped, --json, --jq, --plan previews, and raw intercom api access.

FCRS-1.0 Score
89 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g @intercom/cli
CLI vs MCP Decision Hybrid (CLI + MCP)

intercom shines in coding-agent loops with --plan previews, --jq filtering, NDJSON piping, and intercom setup --articles-from ./docs; Intercom MCP fits hosted chat assistants.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Explicitly built for coding agents with --json, auto-NDJSON when piped, built-in --jq, --plan dry-run previews, and intercom api.

  • Auto-switches to JSON/NDJSON when piped and supports explicit --json
  • Built-in --jq path filtering and --plan preview mode
Trust & Safety 21 / 25

Uses OS keyring + --with-token stdin auth and provides --plan previews plus auth doctor diagnostics.

  • OS keyring storage and --with-token avoid shell-history token leaks
  • --plan previews setup steps before mutation
Setup & Portability 13 / 15

Cross-platform distribution via npm install -g @intercom/cli and npx @intercom/cli.

  • Available on macOS, Linux, and Windows via npm and npx
Utility & Efficiency 13 / 15

Covers workspace diagnostics, Help Center articles, Fin AI manifests, Messenger snippets, and raw API requests.

  • Unifies auth, articles, contacts, fin, setup, and api
Maintenance & Lineage 10 / 10

Official Intercom package (@intercom/cli) actively maintained for Fin and coding-agent workflows.

  • First-party Intercom CLI at fin.ai/cli
Docs & Verifiability 9 / 10

Clear official documentation for auth, --plan, --jq, and coding-agent workflows.

  • Official docs on Intercom Help and fin.ai/cli

Security, Auth & Guardrails

Auth Modes
Env API Key OS Keychain Config File
Credential Storage

Stores access tokens in the OS keyring (macOS Keychain, Linux libsecret, Windows Credential Manager) via intercom auth login --token / --with-token, or reads INTERCOM_TOKEN env var.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

CLI is free; managing live workspaces and Fin AI resolutions requires an Intercom subscription.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Intercom CLI (intercom) Agent Rules
- Authenticate via `INTERCOM_TOKEN` or pipe into `intercom auth login --with-token` to keep secrets out of shell history.
- Pass `--plan` before running `intercom setup` or bulk Help Center syncs.
- Use `--json` and `--jq` on read calls; confirm before running `articles delete` or live `fin enable`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify authenticated Intercom workspace identity
intercom me --json

Returns the authenticated app and workspace metadata as a single JSON document.

List Help Center articles with built-in jq filter
intercom articles list --json --jq '.data[].title'

Queries Help Center articles and filters titles natively using --jq.

Controlled Writes & Previews

Preview workspace setup commands with --plan
intercom setup --company-name "Acme" --articles-from ./docs --plan

Prints the exact CLI steps to provision articles and Fin configuration without executing live changes.

Strengths for Agents

  • + Built-in --json, --jq, --plan, and piped NDJSON make agent scripting effortless.
  • + Keyring credential storage plus INTERCOM_TOKEN and --with-token keep tokens secure.

Caveats & Pitfalls

  • ! Browser OAuth login is limited; requires a Developer Hub Access Token for standard workspace auth.
  • ! Distributed via npm without a public open-source GitHub repo or Homebrew formula.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI