home / mcp / hubspot mcp server
MCP server exposing HubSpot CRM APIs with object operations, batch actions, associations, and property validation.
Configuration
View docs{
"mcpServers": {
"shinzo-labs-hubspot-mcp": {
"command": "npx",
"args": [
"-y",
"@shinzolabs/hubspot-mcp"
],
"env": {
"PORT": "3000",
"TELEMETRY_ENABLED": "true",
"HUBSPOT_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
}
}
}
}This MCP server provides a standardized interface to access and manage HubSpot CRM data. It enables you to perform common CRM operations, manage associations, and run batch actions against companies, contacts, deals, and other CRM entities from a consistent, type-safe API.
You connect an MCP client to this server to access HubSpot CRM data. You can run the MCP either via a remote HTTP server URL or locally by executing a local MCP process. The server exposes a comprehensive set of tools for CRM objects, companies, contacts, leads, engagements, and more. Use the client’s config to point at the server, supply authentication, and start issuing requests to create, read, update, delete, search, and batch manage HubSpot data.
Prerequisites you need before installing:
- Node.js (for local runtime) or a compatible runtime for the chosen method
- npm or yarn for package management
- Access token for HubSpot if you plan to authenticate with HubSpot APIs# 1) Install and run the MCP server locally using NPX
npx -y @shinzolabs/hubspot-mcp
# 2) Or run the build-from-source flow (see dedicated steps below)Two common ways to run this MCP server locally are shown below. Use the approach that matches your environment and preferences.
# NPX Local Install (recommended for quick experiments)
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": [
"-y",
"@shinzolabs/hubspot-mcp"
],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}# Build from source (clone, install, and run)Configure the MCP client with the following environment variable for HubSpot authentication and an optional port for the TCP transport.
HUBSPOT_ACCESS_TOKEN=your-access-token-here
PORT=3000
TELEMETRY_ENABLED=trueIf you prefer to run from source directly, you can use the following pattern to start the server after building the project.
# Build from source and start (example)
node /path/to/hubspot-mcp/index.jsList CRM objects with optional filtering and pagination
Get a single CRM object by ID
Create a new CRM object
Update an existing CRM object
Archive (delete) a CRM object
Search CRM objects using advanced filters
Create multiple objects in a single request
Read multiple objects in a single request
Update multiple objects in a single request
Archive (delete) multiple objects in a single request
Create a new company with validated properties
Update an existing company
Get a single company by ID
Search companies with specific filters
Create multiple companies in a single request
Update multiple companies in a single request
Get all available company properties
Create a new company property
Create a new contact with validated properties
Update an existing contact's information
Get a single contact by ID
Search contacts with specific filters
Create multiple contacts in a single request
Update multiple contacts in a single request
Get all available contact properties
Create a new contact property