HueLifeCMO Knowledge Base

HubSpot CLI + Automation — Executive Summary

Compiled June 2, 2026. Core findings 25/25 fact-checked (0 refuted) against HubSpot's own docs/blog/changelog/GitHub; the AI-connector section added from official HubSpot KB. Sources in SOURCES_INDEX.md.

One-line mental model: The hs CLI ships code; API tokens move data; AI connectors/MCP let agents (like Claude) do both conversationally. "Automate everything" = use the right one of those three for each job.


1. What the HubSpot CLI (hs) actually is — and isn't

2. Where CRM data actually flows (not the CLI)

3. The runtime that touches CRM data — deployed by the CLI

4. CI/CD — official HubSpot GitHub Actions

5. AI agents driving HubSpot — the part that matters most for you ⭐

There are TWO official HubSpot MCP servers + a Claude connector: - Developer MCP (local)hs mcp setup (CLI 8.2.0+). Lets AI tools (Claude Code, Cursor, etc.) scaffold/deploy projects & answer dev-doc questions. Dev workflows only. - HubSpot MCP server (Remote) — gives any MCP client secure read/write to CRM data (contacts, deals, engagements). Connect via OAuth at mcp.hubspot.com; create a user-level app with read scopes for the objects you want. - HubSpot connector for Claude (official, KB updated Apr 20, 2026) — the easiest on-ramp. Claude can read your CRM and create/update records, log notes, create tasks from chat. - Requirements: HubSpot account + paid Anthropic plan (Pro/Max/Team/Enterprise). - Safety: set Write tools → Needs Approval so Claude shows changes before acting; every create/update is in HubSpot's Audit Log, attributed to you + the connector. - Limits: bulk capped at 10 records at a time; custom validation rules (pipeline stage / association labels) are not enforced via the connector — mind data integrity.

For you (a CMO already using Claude): the HubSpot connector for Claude is the fastest "automate with AI" win — no code. Use it for the audit too ("fetch 100 deals in stage X, tell me which properties are empty"). Keep writes on Needs Approval.

6. The automation toolkit, mapped to the job

Job Right tool
Deploy themes/modules/apps from Git hs CLI + GitHub Actions
"When CRM event → do logic" Custom-coded workflow action (Data Hub Pro/Ent)
Push data to a warehouse / BI tool Service Keys (data-only)
Cross-system glue (Slack, sheets, etc.) iPaaS (Zapier/Make/n8n) (see gap below)
AI reads/writes CRM conversationally HubSpot connector for Claude / Remote MCP
Audit the existing implementation hs api (PAK) or the Claude connector

Honest gaps (not verified in this pass — treat as open)

The research confirmed the CLI/platform/CI-CD/MCP facts but did not verify: - iPaaS specifics (Zapier/Make/n8n connectors & auth in 2026) — open. - Reverse-ETL / warehouse connector details — open. - Concrete end-to-end CMO/RevOps example workflows — partially (blogs found, not fact-checked). Vendor-sourced; no independent benchmarking. - YouTube walkthroughs — candidates found but none survived verification; I ran a separate transcript pass (see VIDEO_NOTES.md if present / SOURCES_INDEX.md).

Recommended next steps for you

  1. Try the HubSpot connector for Claude — fastest no-code automation + doubles as an audit tool. Keep writes on Needs-Approval.
  2. For the implementation audit: authenticate hs with a read-only PAK (see HubSpot_CLI_Audit_Ready.md) — I'll inventory objects/properties/pipelines.
  3. For real RevOps automation: custom-coded workflow actions need Data Hub Pro/Enterprise — confirm your subscription tier before planning those.