Skip to main content
Glama

ハブスポットMCP

npmバージョン 鍛冶屋のバッジ

HubSpot API のモデル コンテキスト プロトコル (MCP)実装。CRM データにアクセスして管理するための標準化されたインターフェースを提供します。

特徴

  • HubSpot CRM APIの完全なカバー

  • すべての標準 CRM オブジェクト (会社、連絡先、取引など) のサポート

  • CRM Associations v4による高度な関連付け管理

  • プロパティ検証を備えた企業固有のエンドポイント

  • 効率的なデータ管理のためのバッチ操作

  • 高度な検索とフィルタリング機能

  • Zodによる型安全なパラメータ検証

Related MCP server: HubSpot MCP Server

前提条件

APIキーをお持ちでない場合は、こちらの手順に従ってアクセストークンを取得してください。OAuthのサポートは、今後の機能強化として予定されています。

クライアント構成

MCPクライアントとサーバーの設定にはいくつかのオプションがあります。ホスト型/リモートサーバーの場合は、SmitheryのCLIとSmithery APIキーを使用してください。ローカルインストールの場合は、 npxを使用するか、ソースからビルドしてください。それぞれのオプションについては以下で説明します。

Smithery リモートサーバー (推奨)

MCP クライアントのconfig.jsonにリモート サーバーを追加するには、 Smithery CLIから次のコマンドを実行します。

npx -y @smithery/cli install @shinzo-labs/hubspot-mcp

プロンプトが表示されたら、 HUBSPOT_ACCESS_TOKENを入力します。

鍛冶屋SDK

独自のエージェント アプリケーションを開発している場合は、ここにある定型コードを使用できます。

NPX ローカルインストール

npxを使用してサーバーをローカルにインストールするには、MCP クライアントのconfig.jsonに以下を追加します。

{
  "mcpServers": {
    "hubspot": {
      "command": "npx",
      "args": [
        "@shinzolabs/hubspot-mcp"
      ],
      "env": {
        "HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

ソースからビルド

  1. リポジトリをダウンロードしてください:

git clone https://github.com/shinzo-labs/hubspot-mcp.git
  1. パッケージをインストールします(クローンされたリポジトリ内):

pnpm i
  1. MCP クライアントのconfig.jsonに次のコードを追加します。

{
  "mcpServers": {
    "hubspot": {
      "command": "node",
      "args": [
        "/path/to/hubspot-mcp/index.js"
      ],
      "env": {
        "HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

設定変数

変数

説明

必須?

デフォルト

HUBSPOT_ACCESS_TOKEN

Hubspotアプリケーションのアクセストークン

はい

PORT

ストリーミング可能な HTTP トランスポート方式のポート

いいえ

3000

サポートされているツール

コアCRMオブジェクト

基本的なオブジェクト操作

  • crm_list_objects : オプションのフィルタリングとページ区切りを使用して CRM オブジェクトを一覧表示します

  • crm_get_object : IDで単一のCRMオブジェクトを取得する

  • crm_create_object : 新しい CRM オブジェクトを作成する

  • crm_update_object : 既存の CRM オブジェクトを更新する

  • crm_delete_object : CRM オブジェクトを削除する

検索とバッチ操作

  • crm_search_objects : 高度なフィルターを使用して CRM オブジェクトを検索します

  • crm_batch_create_objects : 1回のリクエストで複数のオブジェクトを作成する

  • crm_batch_update_objects : 1回のリクエストで複数のオブジェクトを更新する

  • crm_batch_delete_objects : 1回のリクエストで複数のオブジェクトを削除する

CRMレコード管理

企業

  • 基本操作:

    • crm_create_company : 検証されたプロパティを持つ新しい会社を作成する

    • crm_update_company : 既存の会社を更新する

    • crm_get_company : IDで単一の会社を取得する

    • crm_search_companies : 特定のフィルターで企業を検索

  • バッチ操作:

    • crm_batch_create_companies : 1回のリクエストで複数の会社を作成する

    • crm_batch_update_companies : 1回のリクエストで複数の会社を更新する

  • 不動産管理:

    • crm_get_company_properties : 利用可能なすべての会社プロパティを取得します

    • crm_create_company_property : 新しい会社プロパティを作成する

連絡先

  • 基本操作:

    • crm_create_contact : 検証されたプロパティを持つ新しい連絡先を作成する

    • crm_update_contact : 既存の連絡先の情報を更新する

    • crm_get_contact : IDで単一の連絡先を取得する

    • crm_search_contacts : 特定のフィルターを使用して連絡先を検索する

  • バッチ操作:

    • crm_batch_create_contacts : 1回のリクエストで複数の連絡先を作成する

    • crm_batch_update_contacts : 1回のリクエストで複数の連絡先を更新する

  • 不動産管理:

    • crm_get_contact_properties : 利用可能なすべての連絡先プロパティを取得します

    • crm_create_contact_property : 新しい連絡先プロパティを作成する

リード

  • 基本操作:

    • crm_create_lead : 検証されたプロパティを持つ新しいリードを作成する

    • crm_update_lead : 既存のリードの情報を更新する

    • crm_get_lead : IDで単一のリード情報を取得する

    • crm_search_leads : 特定のフィルターを使用してリードを検索する

  • バッチ操作:

    • crm_batch_create_leads : 1回のリクエストで複数のリードを作成する

    • crm_batch_update_leads : 1回のリクエストで複数のリード情報を更新する

  • 不動産管理:

    • crm_get_lead_properties : 利用可能なすべてのリードプロパティを取得する

    • crm_create_lead_property : 新しいリードプロパティを作成する

エンゲージメント管理

エンゲージメントの詳細

  • 基本操作:

    • engagement_details_get : 特定のエンゲージメントの詳細を取得する

    • engagement_details_create : 新しいエンゲージメントを作成する

    • engagement_details_update : 既存のエンゲージメントを更新する

    • engagement_details_delete : エンゲージメントを削除する

    • engagement_details_list : フィルタリングしたすべてのエンゲージメントを一覧表示します

    • engagement_details_get_associated : 関連付けられたエンゲージメントを取得する

通話

  • 基本操作:

    • calls_create : 新しい通話記録を作成する

    • calls_get : 通話の詳細を取得する

    • calls_update : 通話記録を更新する

    • calls_archive : 通話をアーカイブする

    • calls_list : すべての通話を一覧表示する

    • calls_search : 通話を検索

  • バッチ操作:

    • calls_batch_create : 複数の呼び出しを作成する

    • calls_batch_read : 複数の呼び出しを読み取る

    • calls_batch_update : 複数の呼び出しを更新する

    • calls_batch_archive : 複数の通話をアーカイブする

メール

  • 基本操作:

    • emails_create : 新しいメールレコードを作成する

    • emails_get : メールの詳細を取得する

    • emails_update : メールを更新する

    • emails_archive : メールをアーカイブする

    • emails_list : すべてのメールを一覧表示する

    • emails_search : メールを検索

  • バッチ操作:

    • emails_batch_create : 複数のメールを作成する

    • emails_batch_read : 複数のメールを読む

    • emails_batch_update : 複数のメールを更新する

    • emails_batch_archive : 複数のメールをアーカイブする

会議

  • 基本操作:

    • meetings_create : 新しい会議を作成する

    • meetings_get : 会議の詳細を取得する

    • meetings_update : 会議を更新する

    • meetings_delete : 会議を削除する

    • meetings_list : すべての会議を一覧表示する

    • meetings_search : 会議を検索

  • バッチ操作:

    • meetings_batch_create : 複数の会議を作成する

    • meetings_batch_update : 複数の会議を更新する

    • meetings_batch_archive : 複数の会議をアーカイブする

注記

  • 基本操作:

    • notes_create : 新しいノートを作成する

    • notes_get : ノートの詳細を取得する

    • notes_update : メモを更新する

    • notes_archive : ノートをアーカイブする

    • notes_list : すべてのメモを一覧表示する

    • notes_search : ノートを検索

  • バッチ操作:

    • notes_batch_create : 複数のノートを作成する

    • notes_batch_read : 複数のノートを読み取る

    • notes_batch_update : 複数のノートを更新する

    • notes_batch_archive : 複数のノートをアーカイブする

タスク

  • 基本操作:

    • tasks_create : 新しいタスクを作成する

    • tasks_get : タスクの詳細を取得する

    • tasks_update : タスクを更新する

    • tasks_archive : タスクをアーカイブする

    • tasks_list : すべてのタスクを一覧表示する

    • tasks_search : タスクを検索

  • バッチ操作:

    • tasks_batch_create : 複数のタスクを作成する

    • tasks_batch_read : 複数のタスクを読み取る

    • tasks_batch_update : 複数のタスクを更新する

    • tasks_batch_archive : 複数のタスクをアーカイブする

関連付けと関係

CRM アソシエーション v4

  • 基本操作:

    • crm_list_association_types : 利用可能な関連付けの種類を一覧表示する

    • crm_get_associations : オブジェクト間のすべての関連付けを取得する

    • crm_create_association : 関連付けを作成する

    • crm_delete_association : 関連付けを削除する

  • バッチ操作:

    • crm_batch_create_associations : 複数の関連付けを作成する

    • crm_batch_delete_associations : 複数の関連付けを削除する

コミュニケーションの設定

サブスクリプション管理

  • 基本操作:

    • communications_get_preferences : 連絡先の設定を取得する

    • communications_update_preferences : 連絡先の設定を更新する

    • communications_unsubscribe_contact : グローバル登録解除

    • communications_subscribe_contact : グローバル購読

    • communications_get_subscription_definitions : サブスクリプション定義を取得する

  • 一括操作:

    • communications_get_subscription_status : 複数の連絡先のステータスを取得する

    • communications_update_subscription_status : 複数の連絡先のステータスを更新する

製品

基本操作:

  • products_create : 指定されたプロパティを持つ製品を作成し、ID を含むオブジェクトのコピーを返します。

  • products_read : IDで識別されるオブジェクトを読み取る

  • products_update : IDで識別されるオブジェクトの部分更新を実行します。読み取り専用プロパティや存在しないプロパティはエラーになります。プロパティの値は、空の文字列を渡すことでクリアできます。

  • products_archive : ID で識別されるオブジェクトをごみ箱に移動します。

  • products_list : 製品ページを読み取ります。properties propertiesパラメータを使用して、返される内容を制御します。after after 、最後に正常に読み取られたリソースのページングカーソルトークンであり、さらに結果を含むページングされたレスポンスのpaging.next.after JSONプロパティとして返されます。

  • products_search : 製品を検索

バッチ操作:

  • products_batch_create : 製品のバッチを作成する

  • products_batch_read : 内部IDまたは一意のプロパティ値で製品を一括読み取りします。idProperty idPropertyでレコードを取得し、カスタム一意値プロパティでレコードを取得します。

  • products_batch_update : 内部 ID またはidPropertyクエリ パラメータで指定された一意の値によって製品のバッチを更新します。

  • products_batch_archive : IDごとに製品を一括アーカイブする

貢献

貢献は大歓迎です!問題、貢献、連絡先に関するガイドラインについては、 CONTRIBUTING.md をご覧ください。

Available Tools

112 tools
calls_archiveC

Archive (delete) a call record

Inputs: callId (required).

calls_batch_archiveC

Archive (delete) multiple call records in a single request

Inputs: callIds (required).

calls_batch_createC

Create multiple call records in a single request

Inputs: inputs (required).

calls_batch_readC

Read multiple call records in a single request

Inputs: inputs (required).

calls_batch_updateC

Update multiple call records in a single request

Inputs: inputs (required).

calls_createD

Create a new call record

Inputs: properties (required), associations.

calls_getC

Get details of a specific call

Inputs: callId (required), associations, properties.

calls_listC

List all calls with optional filtering

Inputs: after, archived, associations, limit, +1 more.

calls_updateC

Update an existing call record

Inputs: callId (required), properties (required).

communications_get_preferencesC

Get communication preferences for a contact

Inputs: contactId (required), subscriptionId.

communications_get_subscription_definitionsC

Get all subscription definitions for the portal

Inputs: archived.

communications_get_subscription_statusC

Get subscription status for multiple contacts

Inputs: contactIds (required), subscriptionId (required).

communications_subscribe_contactC

Subscribe a contact to all email communications

Inputs: contactId (required), portalSubscriptionLegalBasis, portalSubscriptionLegalBasisExplanation.

communications_unsubscribe_contactC

Unsubscribe a contact from all email communications

Inputs: contactId (required), portalSubscriptionLegalBasis, portalSubscriptionLegalBasisExplanation.

communications_update_preferencesC

Update communication preferences for a contact

Inputs: contactId (required), preferences (required), subscriptionId (required).

communications_update_subscription_statusC

Update subscription status for multiple contacts

Inputs: subscriptionId (required), updates (required).

crm_archive_associationC

Archive (delete) an association between two objects

Inputs: fromObjectId (required), fromObjectType (required), toObjectId (required), toObjectType (required).

crm_archive_objectC

Archive (delete) a CRM object

Inputs: objectId (required), objectType (required).

crm_batch_archive_associationsC

Archive (delete) multiple associations in a single request

Inputs: fromObjectType (required), inputs (required), toObjectType (required).

crm_batch_archive_objectsC

Archive (delete) multiple CRM objects in a single request

Inputs: objectIds (required), objectType (required).

crm_batch_create_associationsC

Create multiple associations in a single request

Inputs: fromObjectType (required), inputs (required), toObjectType (required).

crm_batch_create_companiesC

Create multiple companies in a single request

Inputs: inputs (required).

crm_batch_create_contactsC

Create multiple contacts in a single request

Inputs: inputs (required).

crm_batch_create_leadsC

Create multiple leads in a single request

Inputs: inputs (required).

crm_batch_create_objectsC

Create multiple CRM objects in a single request

Inputs: inputs (required), objectType (required).

crm_batch_read_objectsD

Create multiple CRM objects in a single request

Inputs: objectIds (required), objectType (required), idProperty, properties, +1 more.

crm_batch_update_companiesC

Update multiple companies in a single request

Inputs: inputs (required).

crm_batch_update_contactsC

Update multiple contacts in a single request

Inputs: inputs (required).

crm_batch_update_leadsC

Update multiple leads in a single request

Inputs: inputs (required).

crm_batch_update_objectsC

Update multiple CRM objects in a single request

Inputs: inputs (required), objectType (required).

crm_create_associationC

Create an association between two objects

Inputs: associationTypes (required), fromObjectId (required), fromObjectType (required), toObjectId (required), +1 more.

crm_create_companyC

Create a new company with validated properties

Inputs: properties (required), associations.

crm_create_company_propertyD

Create a new company property

Inputs: fieldType (required), groupName (required), label (required), name (required), +7 more.

crm_create_contactC

Create a new contact with validated properties

Inputs: properties (required), associations.

crm_create_contact_propertyD

Create a new contact property

Inputs: fieldType (required), groupName (required), label (required), name (required), +7 more.

crm_create_leadC

Create a new lead with validated properties

Inputs: properties (required), associations.

crm_create_lead_propertyD

Create a new lead property

Inputs: fieldType (required), groupName (required), label (required), name (required), +7 more.

crm_create_objectD

Create a new CRM object

Inputs: objectType (required), properties (required), associations.

crm_get_associationsC

Get all associations of a specific type between objects

Inputs: fromObjectId (required), fromObjectType (required), toObjectType (required), after, +1 more.

crm_get_companyC

Get a single company by ID with specific properties and associations

Inputs: companyId (required), associations, properties.

crm_get_company_propertiesC

Get all properties for companies

Inputs: archived, properties.

crm_get_contactB

Get a single contact by ID with specific properties and associations

Inputs: contactId (required), associations, properties.

crm_get_contact_propertiesC

Get all properties for contacts

Inputs: archived, properties.

crm_get_leadC

Get a single lead by ID with specific properties and associations

Inputs: leadId (required), associations, properties.

crm_get_lead_propertiesC

Get all properties for leads

Inputs: archived, properties.

crm_get_objectC

Get a single CRM object by ID

Inputs: objectId (required), objectType (required), associations, properties.

crm_list_association_typesC

List all available association types for a given object type pair

Inputs: fromObjectType (required), toObjectType (required).

crm_list_objectsC

List CRM objects of a specific type with optional filtering and pagination

Inputs: objectType (required), after, archived, limit, +1 more.

crm_search_companiesC

Search companies with company-specific filters

Inputs: filterGroups (required), after, limit, properties, +1 more.

crm_search_contactsC

Search contacts with contact-specific filters

Inputs: filterGroups (required), after, limit, properties, +1 more.

crm_search_leadsC

Search leads with lead-specific filters

Inputs: filterGroups (required), after, limit, properties, +1 more.

crm_search_objectsC

Search CRM objects using filters

Inputs: filterGroups (required), objectType (required), after, limit, +2 more.

crm_update_companyC

Update an existing company with validated properties

Inputs: companyId (required), properties (required).

crm_update_contactC

Update an existing contact with validated properties

Inputs: contactId (required), properties (required).

crm_update_leadC

Update an existing lead with validated properties

Inputs: leadId (required), properties (required).

crm_update_objectC

Update an existing CRM object

Inputs: objectId (required), objectType (required), properties (required).

emails_archiveC

Archive (delete) an email record

Inputs: emailId (required).

emails_batch_archiveC

Archive (delete) multiple email records in a single request

Inputs: emailIds (required).

emails_batch_createC

Create multiple email records in a single request

Inputs: inputs (required).

emails_batch_readC

Read multiple email records in a single request

Inputs: inputs (required).

emails_batch_updateC

Update multiple email records in a single request

Inputs: inputs (required).

emails_createD

Create a new email record

Inputs: properties (required), associations.

emails_getC

Get details of a specific email

Inputs: emailId (required), associations, properties.

emails_listC

List all emails with optional filtering

Inputs: after, archived, associations, limit, +1 more.

emails_updateC

Update an existing email record

Inputs: emailId (required), properties (required).

engagement_details_archiveC

Archive (delete) an engagement

Inputs: engagementId (required).

engagement_details_createD

Create a new engagement with details

Inputs: engagement (required), associations, metadata.

engagement_details_getC

Get details of a specific engagement

Inputs: engagementId (required).

engagement_details_get_associatedC

Get all engagements associated with an object

Inputs: objectId (required), objectType (required), activityTypes, endTime, +3 more.

engagement_details_listC

List all engagements with optional filtering

Inputs: activityTypes, endTime, limit, offset, +1 more.

engagement_details_updateC

Update an existing engagement's details

Inputs: engagement (required), engagementId (required), metadata.

meetings_archiveC

Archive (delete) a meeting

Inputs: meetingId (required).

meetings_batch_archiveC

Archive (delete) multiple meetings in a single request

Inputs: meetingIds (required).

meetings_batch_createC

Create multiple meetings in a single request

Inputs: inputs (required).

meetings_batch_updateC

Update multiple meetings in a single request

Inputs: inputs (required).

meetings_createD

Create a new meeting

Inputs: properties (required), associations.

meetings_getC

Get details of a specific meeting

Inputs: meetingId (required), associations, properties.

meetings_listB

List all meetings with optional filtering

Inputs: after, createdAfter, createdBefore, limit, +1 more.

meetings_updateC

Update an existing meeting

Inputs: meetingId (required), properties (required).

notes_archiveC

Archive (delete) a note

Inputs: noteId (required).

notes_batch_archiveC

Archive (delete) multiple notes in a single request

Inputs: noteIds (required).

notes_batch_createC

Create multiple notes in a single request

Inputs: inputs (required).

notes_batch_readC

Read multiple notes in a single request

Inputs: inputs (required).

notes_batch_updateC

Update multiple notes in a single request

Inputs: inputs (required).

notes_createC

Create a new note

Inputs: properties (required), associations.

notes_getC

Get details of a specific note

Inputs: noteId (required), associations, properties.

notes_listC

List all notes with optional filtering

Inputs: after, archived, associations, limit, +1 more.

notes_updateD

Update an existing note

Inputs: noteId (required), properties (required).

products_archiveC

Move an Object identified by ID to the recycling bin.

Inputs: productId (required).

products_batch_archiveC

Archive (delete) a batch of products by ID

Inputs: productIds (required).

products_batch_createC

Create a batch of products

Inputs: inputs (required).

products_batch_readC

Read a batch of products by internal ID, or unique property values. Retrieve records by the idProperty parameter to retrieve records by a custom unique value property.

Inputs: productIds (required), properties (required), propertiesWithHistory (required), idProperty.

products_batch_updateC

Update a batch of products by internal ID, or unique values specified by the idProperty query param.

Inputs: inputs (required).

products_createC

Create a product with the given properties and return a copy of the object, including the ID.

Inputs: properties (required).

products_listB

Read a page of products. Control what is returned via the properties query param. after is the paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

Inputs: after, limit, properties.

products_readC

Read an Object identified by ID

Inputs: productId (required), associations, properties.

products_updateB

Perform a partial update of an Object identified by ID. Read-only and non-existent properties will result in an error. Properties values can be cleared by passing an empty string.

Inputs: productId (required), properties (required).

tasks_archiveC

Archive (delete) a task

Inputs: taskId (required).

tasks_batch_archiveC

Archive (delete) multiple tasks in a single request

Inputs: taskIds (required).

tasks_batch_createC

Create multiple tasks in a single request

Inputs: inputs (required).

tasks_batch_readC

Read multiple tasks in a single request

Inputs: inputs (required).

tasks_batch_updateC

Update multiple tasks in a single request

Inputs: inputs (required).

tasks_createD

Create a new task

Inputs: properties (required), associations.

tasks_getC

Get details of a specific task

Inputs: taskId (required), associations, properties.

tasks_listC

List all tasks with optional filtering

Inputs: after, archived, associations, limit, +1 more.

tasks_updateC

Update an existing task

Inputs: properties (required), taskId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 112 tools

    Disambiguation4/5

    Tools are well-differentiated by resource type (calls, emails, CRM objects, etc.) and action (create, get, update, archive, search), with clear boundaries. Minor ambiguity exists between 'list' and 'search' operations across resources, but descriptions clarify that 'list' retrieves all with optional filtering while 'search' uses specific filters, making them distinguishable.

    Naming Consistency5/5

    Naming follows a highly consistent pattern throughout: resource_action (e.g., calls_create, crm_get_company) with batch operations as resource_batch_action (e.g., emails_batch_update). This verb_noun structure is uniformly applied across all 112 tools, making them predictable and easy to parse.

    Tool Count2/5

    With 112 tools, the count is excessive for a single server, leading to cognitive overload and potential inefficiency. While the tools cover multiple HubSpot domains (CRM, communications, engagements), the sheer volume suggests over-fragmentation, such as having separate batch and single operations for each resource, which could be streamlined.

    Completeness5/5

    The tool set provides comprehensive CRUD and lifecycle coverage across all major HubSpot domains (calls, emails, CRM objects, engagements, meetings, notes, products, tasks). Each resource includes create, get, update, archive, list, and search operations, with batch variants for scalability, ensuring no obvious gaps for agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      Enables interaction with HubSpot CRM through a standardized API interface. Supports managing contacts, companies, deals, engagements, products, and associations with batch operations and advanced search capabilities.
      100
      67 npm
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      Provides standardized access to HubSpot's CRM API for managing contacts, companies, deals, engagements, and other CRM data through comprehensive CRUD operations, batch processing, and advanced search capabilities.
      100
      1
      MIT
    • A
      license
      B
      quality
      F
      maintenance
      MCP server for HubSpot CRM — 33 tools covering contacts, companies, deals, pipelines, lists, marketing emails, forms, workflows, and properties.
      30
      14 npm
      MIT