インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、HubSpot をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に HubSpot CRM で作業させます。コンタクト、会社、取引、チケットの検索と更新、レコード同士の関連付けの確認、パイプラインと担当者の確認、メモとタスクの記録ができます。1 つのアカウントを、自分で作成するサービスキーで接続します。
こう聞いてみよう
HubSpot のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → HubSpot をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
HubSpot + ChatGPT
AI に HubSpot CRM で作業させます。コンタクト、会社、取引、チケットの検索と更新、レコード同士の関連付けの確認、パイプラインと担当者の確認、メモとタスクの記録ができます。1 つのアカウントを、自分で作成するサービスキーで接続します。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
HUBSPOT_ACCESS_TOKEN
ステップ 1 — 認証情報を取得
- HubSpot で左サイドバーの Development を開き、Keys → Service keys に進んで Create service key をクリックします。スーパー管理者か、Developer tools へのアクセス権を持つユーザーである必要があります。
- キーに名前を付け(例: 「AnythingMCP」)、Add new scope をクリックして下記のスコープにチェックを入れ、Update、Create の順にクリックします。
- キーを開き、Show、Copy の順にクリックします。サービスキーは
pat-で始まります(例:pat-eu1-...)。 - キーを、Bearer という語を付けずに
HUBSPOT_ACCESS_TOKENに貼り付けて、コネクターをインストールします。 - まず
hubspot_get_accountを実行します。キーがどの HubSpot アカウント(Hub ID)のものか、そのタイムゾーンと通貨を確認できます。
従来のプライベートアプリ: 古いアカウントには、プライベートアプリ(Development → Legacy apps、以前は Settings → Integrations → Private Apps)がまだ残っている場合があります。そのアクセストークンも同じように使えます。HUBSPOT_ACCESS_TOKEN に貼り付けてください。
スコープ:
- 読み取り:
crm.objects.contacts.read(メモとタスクも対象)、crm.objects.companies.read、crm.objects.deals.read、crm.objects.tickets.read、crm.objects.owners.read。 - 書き込み:
crm.objects.contacts.write(メモとタスクにも必要)、crm.objects.companies.write、crm.objects.deals.write、crm.objects.tickets.write。
読み取り専用の設定: キーには読み取りスコープだけを付与し、hubspot_create_object、hubspot_update_object、hubspot_associate_records、hubspot_create_note、hubspot_create_task を無効にします。
インストール時はオフ: hubspot_archive_object。AI にレコードを削除させる場合だけオンにしてください。アーカイブしたレコードは HubSpot のゴミ箱に移り、90 日間はそこから復元できます。
データプライバシー設定: HubSpot アカウントでデータプライバシー(GDPR)の設定がオンになっている場合、HubSpot は新しいコンタクトごとに処理の法的根拠、つまり hs_legal_basis プロパティを必須にします。コンタクトを作成するときにどの法的根拠を使うかを AI に伝えてください。指定がないと、HubSpot は「The following required properties were missing」と応答します。
制限: HubSpot で利用できるのは、Free と Starter ではキーごとに 10 秒あたり 100 リクエスト(Professional と Enterprise ではそれ以上)、アカウントごとに 1 日 250,000 リクエスト、検索は 1 秒あたり 5 回までです。上限を超えると HubSpot は 429 を返します。数秒待ってからやり直してください。
よくあるエラー: 401 は、キーが間違っているか、期限切れか、ローテーションされたことを示します。キーをもう一度コピーしてください。403 では不足しているスコープが示されます。Edit からキーに追加してください。404 は、ID またはオブジェクトの種類が間違っていることを示します。400 VALIDATION_ERROR では、誤っているプロパティやフィルターが示されます。たとえば、存在しないプロパティ名や、ドロップダウンの選択肢にない値などです。
このコネクターは、マーケティングメール、フォーム、リスト、ワークフロー、ファイル、見積もりと商品項目の価格設定、レコードの統合、一括書き込みは扱いません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — ChatGPT にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
ChatGPT は開発者モード(Developer mode)で MCP サーバーをカスタムアプリとして接続します。有料プランで利用でき、無料プランでは使えません。Business・Enterprise のワークスペースでは、先に管理者が許可する必要がある場合があります。
- ChatGPT で Settings → Security and login を開き、Developer mode をオンにします。
- chatgpt.com/plugins を開き、+ をクリックします。
- 名前と短い説明を入力します(例: Name:
HubSpot)。 - Connection に MCP サーバー URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、接続を作成します。 - ChatGPT に求められたら AnythingMCP にサインイン(OAuth)し、アクセスを許可します。
利用可能なツール
| Tool | What it does |
|---|---|
hubspot_list_owners | List the HubSpot users who can own records (owners): owner id, user id, email, first and last name, teams and whether archived |
hubspot_get_account | Get the HubSpot account the token belongs to: portal id (Hub ID), account type, time zone and UTC offset, company currency and additional… |
hubspot_search_objects | Search CRM records of one object type (contacts, companies, deals, tickets, notes, tasks, ...) by free text and/or property filters, with… |
hubspot_list_objects | List CRM records of one object type page by page, oldest id first, with the chosen properties and optionally the ids of associated records |
hubspot_get_object | Get one CRM record by id (or by a unique property such as a contact's email with id_property), with the chosen properties, optional… |
hubspot_create_object | Create a CRM record (contact, company, deal, ticket, ...) with property values, optionally associated with existing records |
hubspot_update_object | Change property values of one CRM record; only the given properties change, and an empty string clears a value |
hubspot_archive_object | Archive (delete) one CRM record: it moves to the recycling bin, where it can be restored for 90 days |
hubspot_get_associations | List the records of one type associated with a record, with their association types and labels, e.g. all deals of a company or all contacts… |
hubspot_associate_records | Link two existing records with HubSpot's default (unlabeled) association, e.g. a contact to a company or a deal to a contact |
hubspot_list_pipelines | List the pipelines of deals or tickets with their stages: pipeline id and label, and per stage its id, label, display order and metadata… |
hubspot_list_properties | List the properties of an object type, default and custom: internal name, label, type, field type, group, description, whether read-only… |
hubspot_create_note | Add a note to the CRM timeline, associated with contacts, companies, deals or tickets |
hubspot_create_task | Create a task (to-do, call or email reminder) with a due date, optionally assigned to an owner and associated with records |
プロンプトの例
- 「セールスパイプラインで今月クローズ予定の取引と、それぞれの担当者を教えて。」
- 「コンタクト [email protected] を探して、所属する会社と進行中の取引を見せて。」
- 「Acme Corp の取引を次のステージに進めて、今日の通話の要約をメモとして追加して。」
- 「Globex の取引に、来週の金曜日が期限のフォローアップタスクを私宛てに作成して。」
FAQ
ChatGPT の無料プランでカスタム MCP コネクタは使えますか? いいえ。カスタム MCP 接続には開発者モードが必要で、有料プランでのみ利用できます。
次のステップ
このガイドは役に立ちましたか?