HubSpot CRM API Server

平台与服务

by Createitv

通过全面的 MCP 服务器统一访问和管理 HubSpot CRM 数据,支持对象管理、高级搜索、批处理及关联关系处理,简化类型安全的集成。

什么是 HubSpot CRM API Server

通过全面的 MCP 服务器统一访问和管理 HubSpot CRM 数据,支持对象管理、高级搜索、批处理及关联关系处理,简化类型安全的集成。

README

HubSpot MCP

npm version smithery badge

<p align="center"><img height="512" src=https://github.com/user-attachments/assets/6a0febe5-1aa5-4998-affb-6c5874ed00c4></p>

A Model Context Protocol (MCP) implementation for the HubSpot API, providing a standardized interface for accessing and managing CRM data.

Features

  • Complete coverage of the HubSpot CRM API
  • Support for all standard CRM objects (companies, contacts, deals, etc.)
  • Advanced association management with CRM Associations v4
  • Company-specific endpoints with property validation
  • Batch operations for efficient data management
  • Advanced search and filtering capabilities
  • Type-safe parameter validation with Zod

Prerequisites

If you don't have an API key, follow the steps here to obtain an access token. OAuth support is planned as a future enhancement.

Client Configuration

There are several options to configure your MCP client with the server. For hosted/remote server setup, use Smithery's CLI with a Smithery API Key. For local installation, use npx or build from source. Each of these options is explained below.

Smithery Remote Server (Recommended)

To add a remote server to your MCP client config.json, run the following command from Smithery CLI:

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

Enter your HUBSPOT_ACCESS_TOKEN when prompted.

Smithery SDK

If you are developing your own agent application, you can use the boilerplate code here.

NPX Local Install

To install the server locally with npx, add the following to your MCP client config.json:

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

Build from Source

  1. Download the repo:
bash
git clone https://github.com/shinzo-labs/hubspot-mcp.git
  1. Install packages (inside cloned repo):
bash
pnpm i
  1. Add the following to your MCP client config.json:
javascript
{
  "mcpServers": {
    "hubspot": {
      "command": "node",
      "args": [
        "/path/to/hubspot-mcp/index.js"
      ],
      "env": {
        "HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

Config Variables

VariableDescriptionRequired?Default
HUBSPOT_ACCESS_TOKENAccess Token for Hubspot ApplicationYes
PORT Port for Streamable HTTP transport methodNo3000

Supported Tools

Core CRM Objects

Basic Object Operations

  • crm_list_objects: List CRM objects with optional filtering and pagination
  • crm_get_object: Get a single CRM object by ID
  • crm_create_object: Create a new CRM object
  • crm_update_object: Update an existing CRM object
  • crm_delete_object: Delete a CRM object

Search and Batch Operations

  • crm_search_objects: Search CRM objects using advanced filters
  • crm_batch_create_objects: Create multiple objects in a single request
  • crm_batch_update_objects: Update multiple objects in a single request
  • crm_batch_delete_objects: Delete multiple objects in a single request

CRM Records Management

Companies

  • Basic Operations:
    • crm_create_company: Create a new company with validated properties
    • crm_update_company: Update an existing company
    • crm_get_company: Get a single company by ID
    • crm_search_companies: Search companies with specific filters
  • Batch Operations:
    • crm_batch_create_companies: Create multiple companies in a single request
    • crm_batch_update_companies: Update multiple companies in a single request
  • Property Management:
    • crm_get_company_properties: Get all available company properties
    • crm_create_company_property: Create a new company property

Contacts

  • Basic Operations:
    • crm_create_contact: Create a new contact with validated properties
    • crm_update_contact: Update an existing contact's information
    • crm_get_contact: Get a single contact by ID
    • crm_search_contacts: Search contacts with specific filters
  • Batch Operations:
    • crm_batch_create_contacts: Create multiple contacts in a single request
    • crm_batch_update_contacts: Update multiple contacts in a single request
  • Property Management:
    • crm_get_contact_properties: Get all available contact properties
    • crm_create_contact_property: Create a new contact property

Leads

  • Basic Operations:
    • crm_create_lead: Create a new lead with validated properties
    • crm_update_lead: Update an existing lead's information
    • crm_get_lead: Get a single lead by ID
    • crm_search_leads: Search leads with specific filters
  • Batch Operations:
    • crm_batch_create_leads: Create multiple leads in a single request
    • crm_batch_update_leads: Update multiple leads in a single request
  • Property Management:
    • crm_get_lead_properties: Get all available lead properties
    • crm_create_lead_property: Create a new lead property

Engagement Management

Engagement Details

  • Basic Operations:
    • engagement_details_get: Get details of a specific engagement
    • engagement_details_create: Create a new engagement
    • engagement_details_update: Update an existing engagement
    • engagement_details_delete: Delete an engagement
    • engagement_details_list: List all engagements with filtering
    • engagement_details_get_associated: Get associated engagements

Calls

  • Basic Operations:
    • calls_create: Create a new call record
    • calls_get: Get call details
    • calls_update: Update a call record
    • calls_archive: Archive a call
    • calls_list: List all calls
    • calls_search: Search calls
  • Batch Operations:
    • calls_batch_create: Create multiple calls
    • calls_batch_read: Read multiple calls
    • calls_batch_update: Update multiple calls
    • calls_batch_archive: Archive multiple calls

Emails

  • Basic Operations:
    • emails_create: Create a new email record
    • emails_get: Get email details
    • emails_update: Update an email
    • emails_archive: Archive an email
    • emails_list: List all emails
    • emails_search: Search emails
  • Batch Operations:
    • emails_batch_create: Create multiple emails
    • emails_batch_read: Read multiple emails
    • emails_batch_update: Update multiple emails
    • emails_batch_archive: Archive multiple emails

Meetings

  • Basic Operations:
    • meetings_create: Create a new meeting
    • meetings_get: Get meeting details
    • meetings_update: Update a meeting
    • meetings_delete: Delete a meeting
    • meetings_list: List all meetings
    • meetings_search: Search meetings
  • Batch Operations:
    • meetings_batch_create: Create multiple meetings
    • meetings_batch_update: Update multiple meetings
    • meetings_batch_archive: Archive multiple meetings

Notes

  • Basic Operations:
    • notes_create: Create a new note
    • notes_get: Get note details
    • notes_update: Update a note
    • notes_archive: Archive a note
    • notes_list: List all notes
    • notes_search: Search notes
  • Batch Operations:
    • notes_batch_create: Create multiple notes
    • notes_batch_read: Read multiple notes
    • notes_batch_update: Update multiple notes
    • notes_batch_archive: Archive multiple notes

Tasks

  • Basic Operations:
    • tasks_create: Create a new task
    • tasks_get: Get task details
    • tasks_update: Update a task
    • tasks_archive: Archive a task
    • tasks_list: List all tasks
    • tasks_search: Search tasks
  • Batch Operations:
    • tasks_batch_create: Create multiple tasks
    • tasks_batch_read: Read multiple tasks
    • tasks_batch_update: Update multiple tasks
    • tasks_batch_archive: Archive multiple tasks

Associations and Relationships

CRM Associations v4

  • Basic Operations:
    • crm_list_association_types: List available association types
    • crm_get_associations: Get all associations between objects
    • crm_create_association: Create an association
    • crm_delete_association: Delete an association
  • Batch Operations:
    • crm_batch_create_associations: Create multiple associations
    • crm_batch_delete_associations: Delete multiple associations

Communication Preferences

Subscription Management

  • Basic Operations:
    • communications_get_preferences: Get contact preferences
    • communications_update_preferences: Update contact preferences
    • communications_unsubscribe_contact: Global unsubscribe
    • communications_subscribe_contact: Global subscribe
    • communications_get_subscription_definitions: Get subscription definitions
  • Bulk Operations:
    • communications_get_subscription_status: Get status for multiple contacts
    • communications_update_subscription_status: Update status for multiple contacts

Products

Basic Operations:

  • products_create: Create a product with the given properties and return a copy of the object, including the ID.
  • products_read: Read an Object identified by ID
  • products_update: 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.
  • products_archive: Move an Object identified by ID to the recycling bin.
  • products_list: 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.
  • products_search: Search products

Batch Operations:

  • products_batch_create: Create a batch of products
  • products_batch_read: 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.
  • products_batch_update: Update a batch of products by internal ID, or unique values specified by the idProperty query param.
  • products_batch_archive: Archive a batch of products by ID

Contributing

Contributions are welcomed and encouraged! Please read CONTRIBUTING.md for guidelines on issues, contributions, and contact information.

常见问题

HubSpot CRM API Server 是什么?

通过全面的 MCP 服务器统一访问和管理 HubSpot CRM 数据,支持对象管理、高级搜索、批处理及关联关系处理,简化类型安全的集成。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描123.0k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描123.0k

邮件模板

by alirezarezvani

Universal
热门

快速搭建生产可用的事务邮件系统:生成 React Email/MJML 模板,接入 Resend、Postmark、SendGrid 或 AWS SES,并支持本地预览、i18n、暗色模式、反垃圾优化与追踪埋点。

面向营销与服务场景,快速搭建高质量邮件模板,省去反复设计与切图成本,成熟度和社区认可都很高。

平台与服务
未扫描12.5k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
84.2k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.5k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
38.1k

评论