HubSpot MCP Server
Provides tools for interacting with HubSpot CRM, allowing AI agents to retrieve, search, create, and update contacts, deals, and companies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HubSpot MCP Serverfind all contacts with the last name Johnson"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HubSpot MCP Server
An MCP server that exposes HubSpot CRM operations as tools over stdio, so any MCP client can query and modify your HubSpot data.
Tools
Tool | Purpose |
| Retrieve a Contact by id |
| Search Contacts by name / email |
| List Deals, optionally filtered by stage |
| Create a new Contact |
| Update an existing Deal |
| Retrieve a Company by id |
Related MCP server: hubspot-mcp
Setup
Install and build:
npm install npm run buildIn HubSpot, create a Private App (Settings -> Integrations -> Private Apps) and grant the CRM scopes you need (contacts read/write, deals read/write, companies read). Copy its access token.
Configure credentials:
cp .env.example .env # then edit .env and paste your token into HUBSPOT_ACCESS_TOKENRun:
npm start # runs dist/index.js # or during development: npm run devYou should see
HubSpot MCP server running on stdio.
Using with VS Code Copilot (incl. Codespaces)
Create .vscode/mcp.json in your workspace root:
{
"servers": {
"hubspot": {
"type": "stdio",
"command": "node",
"args": ["${workspaceFolder}/dist/index.js"],
"env": {
"HUBSPOT_ACCESS_TOKEN": "${input:hubspot_token}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "hubspot_token",
"description": "HubSpot Private App access token",
"password": true
}
]
}Open the file, click Start above the server entry, switch Copilot Chat to Agent mode, and the HubSpot tools appear.
Using with Claude Desktop
{
"mcpServers": {
"hubspot": {
"command": "node",
"args": ["/absolute/path/to/hubspot-mcp/dist/index.js"],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your_private_app_access_token"
}
}
}
}Notes
Auth is a single static bearer token (the Private App access token) — no OAuth exchange needed.
listDealsuses HubSpot's search endpoint when a stage filter is supplied, and a plain paginated list otherwise.Deal stages and pipelines are referenced by their internal ids, which differ per portal — check Settings -> Objects -> Deals -> Pipelines.
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
MCP server for the HubSpot Integrations Center HubDB: search and retrieve integration data.
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
Marketo MCP server for AI. 130 tools to operate Marketo from Claude, Cursor, or ChatGPT.
Related MCP Servers
- AlicenseBqualityFmaintenanceMCP server for HubSpot CRM — 33 tools covering contacts, companies, deals, pipelines, lists, marketing emails, forms, workflows, and properties.3014 npmMIT
- AlicenseAqualityDmaintenanceA read-only MCP server that exposes HubSpot CRM data (contacts, deals, companies, quotes) to AI agents, enabling natural language queries.9MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the HubSpot CRM API with tools for managing contacts, companies, deals, tickets, and CRM workflows. Generated with MCPForge. Sensitive operations can be protected with permissions, audit logs, and approval workflows.5 npmMIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides AI assistants with full access to HubSpot CRM. Manage contacts, companies, deals, pipelines, and associations directly from Claude, Cursor, or any MCP-compatible client.5 npmMIT