HubSpot MCP
HubSpot MCP
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 。
Smithery SDK
如果您正在开发自己的代理应用程序,则可以使用此处的样板代码。
NPX 本地安装
要使用npx在本地安装服务器,请将以下内容添加到 MCP 客户端config.json中:
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": [
"@shinzolabs/hubspot-mcp"
],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}从源代码构建
下载 repo:
git clone https://github.com/shinzo-labs/hubspot-mcp.git安装软件包(在克隆的 repo 内):
pnpm i将以下内容添加到您的 MCP 客户端
config.json中:
{
"mcpServers": {
"hubspot": {
"command": "node",
"args": [
"/path/to/hubspot-mcp/index.js"
],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}配置变量
多变的 | 描述 | 必需的? | 默认 |
| Hubspot 应用程序的访问令牌 | 是的 | |
| Streamable HTTP 传输方法的端口 | 不 |
|
支持的工具
核心 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:在单个请求中创建多个对象crm_batch_update_objects:在单个请求中更新多个对象crm_batch_delete_objects:在单个请求中删除多个对象
CRM记录管理
公司
基本操作:
crm_create_company:创建具有已验证属性的新公司crm_update_company:更新现有公司crm_get_company:通过 ID 获取单个公司crm_search_companies:使用特定过滤器搜索公司
批量操作:
crm_batch_create_companies:在单个请求中创建多家公司crm_batch_update_companies:通过单个请求更新多家公司
物业管理:
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:在单个请求中创建多个联系人crm_batch_update_contacts:在单个请求中更新多个联系人
物业管理:
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:在单个请求中创建多个潜在客户crm_batch_update_leads:在单个请求中更新多个潜在客户
物业管理:
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查询参数返回的内容。afterafter最后一个成功读取资源的分页游标标记,将作为包含更多结果的分页响应的 JSON 属性paging.next.after返回。products_search:搜索产品
批量操作:
products_batch_create:创建一批产品products_batch_read:通过内部 ID 或唯一属性值批量读取产品。通过idProperty参数检索记录,即可根据自定义唯一值属性检索记录。products_batch_update:通过内部 ID 或idProperty查询参数指定的唯一值更新一批产品。products_batch_archive:按 ID 存档一批产品
贡献
欢迎并鼓励大家贡献代码!请阅读CONTRIBUTING.md文件,获取问题、贡献指南和联系信息。
Available Tools
112 toolscalls_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_searchD
Search calls with specific filters
Inputs: filterGroups (required), after, limit, properties, +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_searchC
Search emails with specific filters
Inputs: filterGroups (required), after, limit, properties, +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_searchC
Search meetings with specific filters
Inputs: filterGroups (required), after, limit, properties, +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_searchC
Search notes with specific filters
Inputs: filterGroups (required), after, limit, properties, +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_searchD
Search products
Inputs: filterGroups (required), after, limit, properties, +2 more.
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_searchD
Search tasks with specific filters
Inputs: filterGroups (required), after, limit, properties, +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
Scored across 112 tools
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 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.
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.
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
Related MCP Connectors
Search, read, create and update CRM contacts, companies, deals and tickets in HubSpot.
The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.
Managed MCP connectors for business: Xero, QuickBooks, ServiceM8, GoHighLevel and 120+ more apps.
335 MCP tools, 75 playbooks. AI-native CRM, email/SMS, events, OAuth.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides comprehensive access to HubSpot CRM API for managing contacts, companies, deals, engagements, and associations. Supports batch operations, advanced search, and complete CRUD functionality across all standard CRM objects.100MIT
- AlicenseCqualityCmaintenanceEnables 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.10067 npmMIT
- AlicenseCqualityDmaintenanceProvides 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.1001MIT
- AlicenseBqualityFmaintenanceMCP server for HubSpot CRM — 33 tools covering contacts, companies, deals, pipelines, lists, marketing emails, forms, workflows, and properties.3014 npmMIT