HubSpot MCP
MCP de HubSpot
Una implementación del Protocolo de Contexto de Modelo (MCP) para la API de HubSpot , que proporciona una interfaz estandarizada para acceder y administrar datos de CRM.
Características
Cobertura completa de la API de HubSpot CRM
Soporte para todos los objetos CRM estándar (empresas, contactos, ofertas, etc.)
Gestión avanzada de asociaciones con CRM Associations v4
Puntos finales específicos de la empresa con validación de propiedades
Operaciones por lotes para una gestión eficiente de datos
Capacidades avanzadas de búsqueda y filtrado
Validación de parámetros de tipo seguro con Zod
Related MCP server: HubSpot MCP Server
Prerrequisitos
Si no tiene una clave API, siga estos pasos para obtener un token de acceso. La compatibilidad con OAuth está prevista como una mejora futura.
Configuración del cliente
Hay varias opciones para configurar el cliente MCP con el servidor. Para la configuración de un servidor alojado/remoto, utilice la CLI de Smithery con una clave API de Smithery . Para la instalación local, utilice npx o compile desde el código fuente. Cada una de estas opciones se explica a continuación.
Servidor remoto de Smithery (recomendado)
Para agregar un servidor remoto a su cliente MCP config.json , ejecute el siguiente comando desde Smithery CLI :
npx -y @smithery/cli install @shinzo-labs/hubspot-mcpIngrese su HUBSPOT_ACCESS_TOKEN cuando se le solicite.
SDK de herrería
Si está desarrollando su propia aplicación de agente, puede utilizar el código repetitivo aquí .
Instalación local de NPX
Para instalar el servidor localmente con npx , agregue lo siguiente a su cliente MCP config.json :
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": [
"@shinzolabs/hubspot-mcp"
],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}Construir desde la fuente
Descargar el repositorio:
git clone https://github.com/shinzo-labs/hubspot-mcp.gitInstalar paquetes (dentro del repositorio clonado):
pnpm iAgregue lo siguiente a su cliente MCP
config.json:
{
"mcpServers": {
"hubspot": {
"command": "node",
"args": [
"/path/to/hubspot-mcp/index.js"
],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}Variables de configuración
Variable | Descripción | ¿Requerido? | Por defecto |
| Token de acceso para la aplicación Hubspot | Sí | |
| Puerto para el método de transporte HTTP Streamable | No |
|
Herramientas compatibles
Objetos principales de CRM
Operaciones básicas de objetos
crm_list_objects: Lista de objetos CRM con filtrado y paginación opcionalescrm_get_object: Obtener un único objeto CRM por IDcrm_create_object: Crea un nuevo objeto CRMcrm_update_object: Actualizar un objeto CRM existentecrm_delete_object: Eliminar un objeto CRM
Operaciones de búsqueda y por lotes
crm_search_objects: busca objetos de CRM mediante filtros avanzadoscrm_batch_create_objects: crea varios objetos en una sola solicitudcrm_batch_update_objects: Actualizar varios objetos en una sola solicitudcrm_batch_delete_objects: eliminar varios objetos en una sola solicitud
Gestión de registros CRM
Empresas
Operaciones básicas:
crm_create_company: Crea una nueva empresa con propiedades validadascrm_update_company: Actualizar una empresa existentecrm_get_company: Obtener una sola empresa por IDcrm_search_companies: Busca empresas con filtros específicos
Operaciones por lotes:
crm_batch_create_companies: Crea varias empresas en una sola solicitudcrm_batch_update_companies: Actualizar varias empresas en una sola solicitud
Administración de propiedades:
crm_get_company_properties: Obtener todas las propiedades de la empresa disponiblescrm_create_company_property: Crea una nueva propiedad de la empresa
Contactos
Operaciones básicas:
crm_create_contact: Crea un nuevo contacto con propiedades validadascrm_update_contact: Actualizar la información de un contacto existentecrm_get_contact: Obtener un solo contacto por IDcrm_search_contacts: Busca contactos con filtros específicos
Operaciones por lotes:
crm_batch_create_contacts: Crea múltiples contactos en una sola solicitudcrm_batch_update_contacts: Actualizar varios contactos en una sola solicitud
Administración de propiedades:
crm_get_contact_properties: Obtener todas las propiedades de contacto disponiblescrm_create_contact_property: Crea una nueva propiedad de contacto
Dirige
Operaciones básicas:
crm_create_lead: Crea un nuevo cliente potencial con propiedades validadascrm_update_lead: Actualizar la información de un cliente potencial existentecrm_get_lead: Obtener un solo cliente potencial por IDcrm_search_leads: busca clientes potenciales con filtros específicos
Operaciones por lotes:
crm_batch_create_leads: crea varios clientes potenciales en una sola solicitudcrm_batch_update_leads: Actualizar varios clientes potenciales en una sola solicitud
Administración de propiedades:
crm_get_lead_properties: Obtener todas las propiedades de clientes potenciales disponiblescrm_create_lead_property: Crea una nueva propiedad de cliente potencial
Gestión del compromiso
Detalles del compromiso
Operaciones básicas:
engagement_details_get: Obtener detalles de un compromiso específicoengagement_details_create: Crea un nuevo compromisoengagement_details_update: Actualizar un compromiso existenteengagement_details_delete: Eliminar un compromisoengagement_details_list: Lista todos los compromisos con filtradoengagement_details_get_associated: Obtener interacciones asociadas
Llamadas
Operaciones básicas:
calls_create: Crea un nuevo registro de llamadacalls_get: Obtener detalles de la llamadacalls_update: Actualizar un registro de llamadascalls_archive: Archivar una llamadacalls_list: Lista todas las llamadascalls_search: Buscar llamadas
Operaciones por lotes:
calls_batch_create: Crea múltiples llamadascalls_batch_read: Leer múltiples llamadascalls_batch_update: Actualizar múltiples llamadascalls_batch_archive: Archivar múltiples llamadas
Correos electrónicos
Operaciones básicas:
emails_create: Crea un nuevo registro de correo electrónicoemails_get: Obtener detalles del correo electrónicoemails_update: Actualizar un correo electrónicoemails_archive: Archivar un correo electrónicoemails_list: Lista todos los correos electrónicosemails_search: Buscar correos electrónicos
Operaciones por lotes:
emails_batch_create: Crea varios correos electrónicosemails_batch_read: Leer varios correos electrónicosemails_batch_update: Actualizar varios correos electrónicosemails_batch_archive: Archivar varios correos electrónicos
Reuniones
Operaciones básicas:
meetings_create: Crear una nueva reuniónmeetings_get: Obtener detalles de la reuniónmeetings_update: Actualizar una reuniónmeetings_delete: Eliminar una reuniónmeetings_list: Lista todas las reunionesmeetings_search: Buscar reuniones
Operaciones por lotes:
meetings_batch_create: Crea múltiples reunionesmeetings_batch_update: Actualizar varias reunionesmeetings_batch_archive: Archivar varias reuniones
Notas
Operaciones básicas:
notes_create: Crea una nueva notanotes_get: Obtener detalles de la notanotes_update: Actualizar una notanotes_archive: Archivar una notanotes_list: Lista todas las notasnotes_search: Buscar notas
Operaciones por lotes:
notes_batch_create: Crea múltiples notasnotes_batch_read: Leer varias notasnotes_batch_update: Actualizar varias notasnotes_batch_archive: Archivar varias notas
Tareas
Operaciones básicas:
tasks_create: Crea una nueva tareatasks_get: Obtener detalles de la tareatasks_update: Actualizar una tareatasks_archive: Archivar una tareatasks_list: Lista todas las tareastasks_search: Buscar tareas
Operaciones por lotes:
tasks_batch_create: Crea múltiples tareastasks_batch_read: Leer múltiples tareastasks_batch_update: Actualizar múltiples tareastasks_batch_archive: Archivar múltiples tareas
Asociaciones y relaciones
Asociaciones CRM v4
Operaciones básicas:
crm_list_association_types: Lista de tipos de asociación disponiblescrm_get_associations: Obtener todas las asociaciones entre objetoscrm_create_association: Crear una asociacióncrm_delete_association: Eliminar una asociación
Operaciones por lotes:
crm_batch_create_associations: Crea múltiples asociacionescrm_batch_delete_associations: eliminar múltiples asociaciones
Preferencias de comunicación
Gestión de suscripciones
Operaciones básicas:
communications_get_preferences: Obtener preferencias de contactocommunications_update_preferences: Actualizar las preferencias de contactocommunications_unsubscribe_contact: Cancelación de suscripción globalcommunications_subscribe_contact: Suscripción globalcommunications_get_subscription_definitions: Obtener definiciones de suscripción
Operaciones masivas:
communications_get_subscription_status: Obtener el estado de varios contactoscommunications_update_subscription_status: Actualizar el estado de varios contactos
Productos
Operaciones básicas:
products_create: crea un producto con las propiedades dadas y devuelve una copia del objeto, incluido el ID.products_read: Lee un objeto identificado por IDproducts_update: Realiza una actualización parcial de un objeto identificado por ID. Las propiedades de solo lectura o inexistentes generarán un error. Los valores de las propiedades se pueden borrar pasando una cadena vacía.products_archive: Mueve un objeto identificado por ID a la papelera de reciclaje.products_list: Lee una página de productos. Controla la información devuelta mediante el parámetro de consultaproperties. "afteres el token del cursor de paginación del último recurso leído correctamente; se devolverá como la propiedad JSON "paging.next.after" de una respuesta paginada que contenga más resultados.products_search: Buscar productos
Operaciones por lotes:
products_batch_create: Crea un lote de productosproducts_batch_read: Lee un lote de productos por ID interno o valores de propiedad únicos. Recupera registros por el parámetroidPropertypara recuperar registros por una propiedad de valor único personalizada.products_batch_update: actualiza un lote de productos por ID interno o valores únicos especificados por el parámetro de consultaidProperty.products_batch_archive: Archivar un lote de productos por ID
Contribuyendo
¡Se agradecen y animamos las contribuciones! Consulte CONTRIBUTING.md para obtener información sobre problemas, contribuciones e información de contacto.
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