MCP HubMCP Hub
SKILL·59566D

connect-hubspot-mcp

TomGranot
更新日 3 months ago
12 閲覧
75
17
75
GitHubで表示
ドキュメントaiapimcp

について

このスキルはClaude CodeをHubSpotの公式MCPサーバーに接続し、コンタクト、企業、取引などのCRMレコードを読み書きするための自然言語クエリを可能にします。開発者向けにOAuth設定、スコープ選択、認証手順を案内します。各タスクごとに個別のAPIスクリプトを作成する代わりに、会話型のCRM操作にご利用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add TomGranot/hubspot-admin-skills -a claude-code
プラグインコマンド代替
/plugin add https://github.com/TomGranot/hubspot-admin-skills
Git クローン代替
git clone https://github.com/TomGranot/hubspot-admin-skills.git ~/.claude/skills/connect-hubspot-mcp

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Connect Claude Code to HubSpot via MCP

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.

What the MCP Server Is (and Isn't)

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:

  • Read/write CRM objects: contacts, companies, deals, tickets, line items, products, engagements
  • Read content: campaigns, landing pages, website pages, blog posts, and content analytics
  • Create content: landing pages (added June 2026)

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 shapeUse
"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)

Prerequisites

  • A HubSpot account and a user with permission to create user-level apps (or approval via your portal's MCP Auth Apps governance, if enabled)
  • Claude Code (or another MCP client)
  • This is separate from the private app token the scripts use — MCP connects via OAuth as you, with your HubSpot permissions

Execution Pattern

Stage 1: Plan

  1. Decide the scopes to grant. Start read-only (CRM object read scopes); add write scopes only if you want Claude making edits through MCP.
  2. Check with your admin whether the portal restricts app installs (App Install Governance) — MCP connections may need approval.

Stage 2: Execute — Connect

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).

Stage 3: After — Verify

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.

Rollback

  • Disconnect the MCP server from your client settings (claude mcp remove hubspot in Claude Code).
  • Revoke the connection in HubSpot: Settings > Integrations > Connected Apps — removing the user-level app invalidates its tokens.

Technical Gotchas

  1. MCP access is user-scoped. Claude can do exactly what your HubSpot user can do — no more, no less. Bulk-risky operations are naturally bounded by the scopes you grant; grant write scopes deliberately.
  2. Two credentials, two purposes. HUBSPOT_ACCESS_TOKEN (private app) powers the scripts; the MCP OAuth connection powers conversational access. Rotating one does not affect the other.
  3. Rate limits still apply. MCP calls consume the same API capacity as any integration. Don't use MCP for high-volume sweeps — that's script territory.
  4. Headless environments. MCP servers that require interactive OAuth may be unavailable in scheduled/CI runs. Scripts with a private app token work everywhere; treat MCP as the interactive layer.

GitHub リポジトリ

TomGranot/hubspot-admin-skills
パス: skills/connect-hubspot-mcp
0
hubspothubspot-apihubspot-crmhubspot-integration
FAQ

よくある質問

connect-hubspot-mcp Skillとは何ですか?

connect-hubspot-mcp はTomGranot が作成した Claude Skillです。Skillは、Claudeが必要に応じて読み込む指示とリソースをまとめ、追加の指示なしで connect-hubspot-mcp に関連するタスクを実行できるようにします。

connect-hubspot-mcp をインストールするには?

このページのインストールコマンドを使用してください。connect-hubspot-mcp をプラグインとして Claude Code に追加するか、リポジトリを skills ディレクトリにクローンし、Claudeを再起動してSkillを読み込みます。

connect-hubspot-mcp はどのカテゴリに属しますか?

connect-hubspot-mcp は ドキュメント カテゴリに属します。

connect-hubspot-mcp は無料で利用できますか?

はい。connect-hubspot-mcp は AIMCP に掲載されており、無料でインストールできます。

関連スキル

railway-docs
ドキュメント

このスキルは、Railwayの機能や仕様、特定のドキュメントURLに関する質問に答えるために、最新のRailwayドキュメントを取得します。開発者がRailwayの公式情報源から正確かつ最新の情報を直接受け取れるようにします。ユーザーがRailwayの動作方法について尋ねたり、Railwayドキュメントを参照する際にご利用ください。

スキルを見る
n8n-code-python
ドキュメント

このClaudeスキルは、n8nのコードノードでPythonコードを記述するための専門的なガイダンスを提供します。具体的には、Pythonの標準ライブラリの使用方法や、`_input`、`_json`、`_node`といったn8n独自の構文の扱い方を解説します。n8n環境内におけるPythonの制限事項を開発者が理解できるよう支援し、ほとんどのワークフローではJavaScriptの使用を推奨しながらも、特定のデータ変換ニーズに対応するPythonソリューションを提案します。

スキルを見る
archon
ドキュメント

Archonスキルは、RAGを活用したセマンティック検索とプロジェクト管理をREST APIを通じて提供します。ドキュメントの検索、階層的なプロジェクト/タスクの管理、ドキュメントアップロード機能を備えたナレッジ検索の実行にご利用いただけます。外部ドキュメントを検索する際は、他の情報源を利用する前に常にArchonを最優先で使用してください。

スキルを見る
n8n-code-javascript
ドキュメント

このClaudeスキルは、n8nのCodeノードでJavaScriptコードを書くための専門的なガイダンスを提供します。`$input`/`$json`変数、HTTPヘルパー、DateTime処理などの重要なn8n固有の構文を網羅し、一般的なエラーのトラブルシューティングも行います。CodeノードでカスタムJavaScript処理を必要とするn8nワークフローを開発する際にご利用ください。

スキルを見る