Skip to main content
Glama

HubSpot MCP Server

by ajaystream

HubSpot MCP Server

HubSpot's MCP server is now available as a beta release. This enables AI clients to seamlessly take HubSpot actions and interact with your HubSpot data, opening up powerful new integration possibilities for our ecosystem. For more information and to provide feedback, visit https://developers.hubspot.com/mcp. You can also use the prompt Provide feedback for HubSpot MCP tools from your preferred client application!

What is MCP?

MCP (Model Context Protocol) is an emerging standard that allows AI models to interact with applications through a consistent interface. It acts as an abstraction layer over HTTP, letting AI agents access application functionality without needing to understand specific API protocols.

Terms and Conditions

The HubSpot MCP Server is in beta and subject to the Early Adopter Program terms.

Pre-requisites

Install node and npm

Visit this link to download Node and NPM.

Create a private app in HubSpot:

  • Go to Settings > Integrations > Private Apps
  • Click "Create private app"
  • Name your app and set required scopes
  • Click "Create app"
  • Copy the generated access tokenConsider starting with read-only scopes

Using the MCP Server

Claude Desktop

  1. Download Claude Desktop here.
  2. Add the server configuration to your Claude Desktop config file (usually located at ~/Library/Application Support/Claude/claude_desktop_config.json in macOS) and restart Claude Desktop:
{ "mcpServers": { "hubspot": { "command": "npx", "args": ["-y", "@hubspot/mcp-server"], "env": { "PRIVATE_APP_ACCESS_TOKEN": "<your-private-app-access-token>" } } } }
  1. Save the file and restart Claude. You should now be able to access all the tools!
  2. Visit this page for more information and troubleshooting.

Cursor

  1. Create a .cursor/mcp.json file in your project
mkdir -p .cursor && touch .cursor/mcp.json
  1. Put the following configuration to the file.
{ "mcpServers": { "hubspot": { "command": "npx", "args": ["-y", "@hubspot/mcp-server"], "env": { "PRIVATE_APP_ACCESS_TOKEN": "<your-private-app-access-token>" } } } }
  1. Save the file and restart Cursor. You should now be able to access all the tools!
  2. Visit this page for more information and troubleshooting.

Other MCP Clients

List of other popular MCP Clients are here.

Example Usage

Once set up, try these example prompts:

Get Insights from Your HubSpot Data

  • Get me the latest update about Acme Inc. from my HubSpot account.
  • Summarize all deals in the "Decision maker bought in" stage in my HubSpot pipeline with deal value > $1000.
  • Summarize the last five tickets created for Alex Smith in my HubSpot account.

Create and Update CRM Records

  • Update the address for John Smith in my HubSpot account.
  • Create a new contact "John.Johnson@email.com" for Acme Inc. in my HubSpot account.

CRM Associations

  • List all associated contacts and their roles for Acme Inc. from my HubSpot account.
  • List associated contacts for Acme Inc. in my HubSpot account.
  • Associate John Smith with Acme Inc. as a company in my HubSpot account.

Add Engagements

  • Add a task to send a thank-you note to jane@example.com in my HubSpot account.
  • Add a note for Acme Inc. in my HubSpot account.
  • List my overdue HubSpot tasks.
  • From my HubSpot account, find the number of contacts does have?

Tools

This MCP server provides a set of tools for interacting with the HubSpot CRM API.

CategoryTool NameDescription
OAuthhubspot-get-user-detailsAuthenticates the current HubSpot private app access token, providing user information, hub details, authorized scopes, and account information.
Objectshubspot-list-objectsRetrieves a paginated list of CRM records for a specified object type.
Objectshubspot-search-objectsPerforms filtered searches across CRM records using complex criteria and property-based filtering.
Objectshubspot-batch-create-objectsCreates multiple CRM records of the same object type in a single API call.
Objectshubspot-batch-update-objectsUpdates multiple existing CRM records with new property values in a single API call.
Objectshubspot-batch-read-objectsRetrieves multiple CRM records by their IDs in a single batch operation.
Objectshubspot-get-schemasRetrieves available custom object schemas with their objectTypeId and definitions.
Propertieshubspot-list-propertiesRetrieves the complete catalog of properties defined for any CRM object type.
Propertieshubspot-get-propertyRetrieves detailed information about a specific property definition.
Propertieshubspot-create-propertyCreates new custom properties for CRM object types.
Propertieshubspot-update-propertyUpdates settings for existing custom properties.
Associationshubspot-batch-create-associationsEstablishes multiple relationships between CRM records across different object types.
Associationshubspot-list-associationsRetrieves existing relationships between a specific record and other associated records.
Associationshubspot-get-association-definitionsRetrieves valid association types and labels between specific object types.
Engagementshubspot-create-engagementCreates engagements (Notes or Tasks) associated with contacts, companies, deals, or tickets.
Engagementshubspot-get-engagementRetrieves engagement details by ID.
Engagementshubspot-update-engagementUpdates an existing engagement with new information.
Workflowshubspot-list-workflowsRetrieves a paginated list of workflows
Workflowshubspot-get-workflowRetrieves detailed information about a specific workflow, including actions, enrollment criteria, and scheduling.
Linkshubspot-generate-feedback-linkGenerates a feedback link for reporting tool issues or providing feedback.
Linkshubspot-get-linkGenerates HubSpot UI URLs to directly access records in the HubSpot interface.
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables AI clients to seamlessly take HubSpot actions and interact with HubSpot data, allowing users to create/update CRM records, manage associations, and gain insights through natural language.

  1. Terms and Conditions
    1. Pre-requisites
      1. Using the MCP Server
        1. Claude Desktop
        2. Cursor
        3. Other MCP Clients
      2. Example Usage
        1. Get Insights from Your HubSpot Data
        2. Create and Update CRM Records
        3. CRM Associations
        4. Add Engagements
      3. Tools

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Enables AI models to interact with HubSpot CRM data and operations through a standardized interface, supporting contact and company management.
          Last updated -
          5
          97
          Python
          MIT License
          • Linux
        • -
          security
          A
          license
          -
          quality
          A server that enables AI models to interact with HubSpot CRM data and operations through a standardized interface, supporting contact and company management with multi-user token-based authentication.
          Last updated -
          Python
          MIT License
          • Linux
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol implementation for the HubSpot API that provides a standardized interface for accessing and managing CRM data, including companies, contacts, deals, and other objects with comprehensive CRUD operations and association management.
          Last updated -
          101
          197
          17
          JavaScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          Enables Claude to interact with HubSpot CRM for sales analysis and insights, providing tools for managing contacts, deals, companies, and retrieving sales analytics data.
          Last updated -
          12
          9
          JavaScript
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajaystream/hubspot-mcp-custom'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server