Intercom CLI
$ intercom Official Med RiskIntercom 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.
npm install -g @intercom/cli 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
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
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
--jqpath filtering and--planpreview mode
Uses OS keyring + --with-token stdin auth and provides --plan previews plus auth doctor diagnostics.
- OS keyring storage and
--with-tokenavoid shell-history token leaks --planpreviews setup steps before mutation
Cross-platform distribution via npm install -g @intercom/cli and npx @intercom/cli.
- Available on macOS, Linux, and Windows via npm and npx
Covers workspace diagnostics, Help Center articles, Fin AI manifests, Messenger snippets, and raw API requests.
- Unifies
auth,articles,contacts,fin,setup, andapi
Official Intercom package (@intercom/cli) actively maintained for Fin and coding-agent workflows.
- First-party Intercom CLI at
fin.ai/cli
Clear official documentation for auth, --plan, --jq, and coding-agent workflows.
- Official docs on Intercom Help and
fin.ai/cli
Security, Auth & Guardrails
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.
CLI is free; managing live workspaces and Fin AI resolutions requires an Intercom subscription.
# 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
intercom me --json
Returns the authenticated app and workspace metadata as a single JSON document.
intercom articles list --json --jq '.data[].title'
Queries Help Center articles and filters titles natively using --jq.
Controlled Writes & Previews
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_TOKENand--with-tokenkeep 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.