Logo HubSpot

HubSpot

Tổ chức
shinzo-labs

MCP Implementation for HubSpot

Nhà phát hànhshinzo-labs
Kho mãhubspot-mcp
Ngôn ngữJavaScript
Bản fork
27
Sao
35
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    HubSpot cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    35 sao và 27 bản fork từ kho mã được liên kết.

A Model Context Protocol (MCP) server 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
TELEMETRY_ENABLEDEnable telemetryNotrue

Supported Tools

Core CRM Objects

  • 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_archive_object: Archive (delete) a CRM object
  • crm_search_objects: Search CRM objects using advanced filters
  • crm_batch_create_objects: Create multiple objects in a single request
  • crm_batch_read_objects: Read multipl objects in a single request
  • crm_batch_update_objects: Update multiple objects in a single request
  • crm_batch_archive_objects: Archive (delete) multiple objects in a single request

Companies

  • 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
  • crm_batch_create_companies: Create multiple companies in a single request
  • crm_batch_update_companies: Update multiple companies in a single request
  • crm_get_company_properties: Get all available company properties
  • crm_create_company_property: Create a new company property

Contacts

  • 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
  • crm_batch_create_contacts: Create multiple contacts in a single request
  • crm_batch_update_contacts: Update multiple contacts in a single request
  • crm_get_contact_properties: Get all available contact properties
  • crm_create_contact_property: Create a new contact property

Leads

  • 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
  • crm_batch_create_leads: Create multiple leads in a single request
  • crm_batch_update_leads: Update multiple leads in a single request
  • crm_get_lead_properties: Get all available lead properties
  • crm_create_lead_property: Create a new lead property

Engagement Management

  • 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_archive: Archive (delete) an engagement
  • engagement_details_list: List all engagements with filtering
  • engagement_details_get_associated: Get associated engagements

Calls

  • 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
  • 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

  • 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
  • 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

  • meetings_create: Create a new meeting
  • meetings_get: Get meeting details
  • meetings_update: Update a meeting
  • meetings_archive: Archive (delete) a meeting
  • meetings_list: List all meetings
  • meetings_search: Search meetings
  • meetings_batch_create: Create multiple meetings
  • meetings_batch_update: Update multiple meetings
  • meetings_batch_archive: Archive multiple meetings

Notes

  • 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
  • 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

  • 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
  • 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_list_association_types: List available association types
  • crm_get_associations: Get all associations between objects
  • crm_create_association: Create an association
  • crm_archive_association: Archive (delete) an association
  • crm_batch_create_associations: Create multiple associations
  • crm_batch_archive_associations: Archive (delete) multiple associations

Communication Preferences

  • 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
  • communications_get_subscription_status: Get status for multiple contacts
  • communications_update_subscription_status: Update status for multiple contacts

Products

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

Data Collection and Privacy

Shinzo Labs collects limited anonymous telemetry from this server to help improve our products and services. No personally identifiable information is collected as part of this process. Please review the Privacy Policy for more details on the types of data collected and how to opt-out of this telemetry.

License

MIT

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

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

Dùng MCP HubSpot với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối HubSpot, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm HubSpot làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của HubSpot.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "hubspot": {
      "command": "npx",
      "args": [
        "-y",
        "@shinzolabs/hubspot-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của HubSpot, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của HubSpot.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng HubSpot giúp tôi làm việc này không?
HubSpot
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng HubSpot.

Câu hỏi thường gặp

Máy chủ MCP HubSpot dùng để làm gì?

HubSpot là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP HubSpot với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng HubSpot với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP HubSpot với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối HubSpot, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP HubSpot với TypingMind?

HubSpot hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP HubSpot cung cấp những công cụ nào trong TypingMind?

HubSpot cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP HubSpot không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu HubSpot yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇