From hubspot-admin
Connects Claude Code to HubSpot's official remote MCP server for conversational CRM reads and writes. Covers OAuth setup, scope selection, and when to use MCP vs API scripts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hubspot-admin:connect-hubspot-mcpThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up HubSpot's official remote MCP server so Claude can read and write CRM records conversationally — look up a contact, inspect a company's deals, spot-check the results of a cleanup — without writing a script for every question.
Set up HubSpot's official remote MCP server so Claude can read and write CRM records conversationally — look up a contact, inspect a company's deals, spot-check the results of a cleanup — without writing a script for every question.
HubSpot's remote MCP server (generally available since April 2026) is an OAuth-secured gateway at mcp.hubspot.com that exposes CRM operations as tools to MCP clients like Claude Code:
It is the right tool for interactive, judgment-heavy work: spot-checks, triage, one-off lookups, small targeted edits. It is the wrong tool for bulk operations: batch-archiving thousands of contacts, paginated sweeps, or anything that needs a CSV audit trail and an abort threshold. That is what this repo's scripts are for. The two share the same portal — use both.
| Task shape | Use |
|---|---|
| "Show me 5 contacts the cleanup touched" | MCP |
| "Why is this company in Tier 2?" | MCP |
| "Review this week's bounce-flagged contacts" | MCP |
| "Delete 4,000 no-email contacts with an audit trail" | Scripts (/delete-no-email-contacts) |
| "Create 10 segmentation lists" | Scripts (/build-smart-lists) |
| "Export every workflow to JSON" | Scripts (/workflows-as-code) |
Option A: HubSpot Connector for Claude (no terminal). In Claude's connector settings, add the HubSpot connector and complete the OAuth flow in the browser. HubSpot's guide: knowledge.hubspot.com > "Set up and use the HubSpot connector for Claude".
Option B: MCP client configuration. Add the remote server to Claude Code:
claude mcp add --transport http hubspot https://mcp.hubspot.com
Then authenticate when prompted — the OAuth flow creates a user-level app with the scopes you approve.
Option C: HubSpot CLI. With HubSpot CLI v8.2.0+, hs mcp setup walks through connecting an MCP client, and also offers HubSpot's local developer MCP server (aimed at app development rather than CRM administration).
Ask Claude to perform a harmless read and confirm it round-trips:
"Using the HubSpot MCP tools, fetch one contact and tell me its email and lifecycle stage."
If the call fails: check that the OAuth flow completed, the scopes include contact read, and your portal hasn't blocked the connection via app governance.
claude mcp remove hubspot in Claude Code).HUBSPOT_ACCESS_TOKEN (private app) powers the scripts; the MCP OAuth connection powers conversational access. Rotating one does not affect the other.npx claudepluginhub tomgranot/hubspot-admin-skills --plugin hubspot-adminProvides patterns and best practices for HubSpot MCP tools: connection, OAuth 2.0 + PKCE, scopes, rate limiting, error handling, and CRM search API usage.
Provides expert patterns for HubSpot CRM integration including OAuth, CRM objects, batch operations, webhooks, and custom objects using Node.js and Python SDKs.
Provides patterns for HubSpot CRM integration including OAuth 2.0 authentication, private app tokens, CRM objects, associations, batch operations, webhooks, and custom objects using Node.js and Python SDKs.