Hubspot-MCP ๐ค
April 21, 2025 ยท View on GitHub
Documentation for Streamlining the process of Integrating existing MCP server into a Hubspot Database
Pre-requisites
- Hubspot access token containing required read/write permissions on a private app.
- Cursor Application to access the MCP server and talk with LLM.
Setting up Hubspot
- Go to Hubspot and make an account.
- In Hubspot, Open
Settings > Integrations > Create private app. - Provide the Basic Information of the private app.
- In scopes, click
Add new scopemake sure the following are selected:
crm.objects.contacts(read and write)crm.objects.companies(read and write)
- After the scopes are added, click
Create app. - Again open
Private appsand view access token. Save it in a secure place. We will use it in the MCP Integration.
Setting up Cursor
- Download Cursor and setup the project folder.
- Go to
settings > MCP > add new global MCP Server - Paste the following in it, and make sure to include your
Hubspot Access token:
{
"mcpServers": {
"hubspot": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"buryhuang/mcp-hubspot:latest",
"--access-token",
"<Your Access Token here>"
]
}
}
}
Access Check
We can use the below prompts to check if everything went well or failed.
Check the Access Token Validity
Test if the current access token is valid by making a minimal authenticated request to the HubSpot MCP Server.
Input Test Data to check
Create a Company with the following data:
name: Nimbus Technologies
description: Cloud infrastructure & AI services โ๏ธ๐ค
domain: nimbustech.ai
phone: +1-800-555-0199
website: https://www.nimbustech.ai
address: 123 Innovation Way
city: San Francisco
state: CA
zip: 94107
country: USA
industry: INFORMATION_TECHNOLOGY_AND_SERVICES
type: PROSPECT
numberofemployees: 4200
annualrevenue: 125000000
Reflected Values in Hubspot database:
