HubSpot MCP Server
Provides tools to interact with HubSpot CRM: search contacts, inspect deal details and associations, and create or update CRM entities such as deals.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🚀 HubSpot MCP Server (Windows / macOS / Linux)
English Version | Русская версия
English Version
A cross-platform Model Context Protocol (MCP) server written in TypeScript / Node.js (@modelcontextprotocol/sdk, axios, zod) that connects HubSpot CRM to Claude Code, Claude Desktop, VS Code (Cline), Windsurf IDE, and Cursor using natural language.
Technical Architecture Highlights
MCP SDK + Zod Validation (
src/index.ts): Typed tool schemas for searching contacts, inspecting deals, reading associations, and safely creating/updating CRM entities.Browser OAuth 2.0 Setup Wizard (
src/setup-mcp.ts): Built-in local OAuth 2.0 callback server, token refresh handling, and automatic client config registration across supported AI assistants without manual JSON editing.HubSpot REST Client (
src/hubspot.ts): Wrapper around HubSpot CRM v3 endpoints with token management and structured error handling.
They can search contacts, view deal details, and create or update deals through their local AI assistants.
We designed this setup to be completely frictionless and cross-platform. Non-technical users do not need to install dependencies manually, edit complex JSON files, or write console commands. The installer does all the heavy lifting automatically!
💻 Onboarding Guide for Team Members (2 Easy Steps!)
Step 1. Unzip the Project Archive
Download the archive containing the server folder and extract it to any directory on your computer (e.g.,
C:\hubspot-mcp-server\on Windows or your Home folder on a Mac).
Step 2. Run the Setup Wizard
🖥️ On Windows:
Double-click the
setup.batfile inside the folder.A console window will pop up briefly, check for Node.js (installing it silently in the background if it's missing), and automatically launch the Setup Wizard in your web browser.
In the browser setup form, paste the Client ID and Client Secret provided by your administrator.
Click "Save & Continue". This automatically registers the server globally in Claude Desktop, Cursor, Windsurf, and VS Code (Cline).
You will be redirected to the HubSpot login page. Sign in under your personal HubSpot user credentials and click the orange "Authorize" (Connect app) button.
Once you see the "Setup Complete!" success screen with a green checkmark showing which apps were configured, you can close the browser tab.
🍎 On macOS (Mac):
Open your Terminal application.
Navigate to the project folder and run:
bash setup.shThe script will verify Node.js (installing it via Homebrew if needed) and launch the Setup Wizard in your web browser.
Paste the Client ID and Client Secret provided by your administrator and click "Save & Continue".
Log in under your personal HubSpot account in the browser redirect and click "Authorize".
Once you see the "Setup Complete!" success page, you are done!
Step 3. Restart and Chat!
In Claude Desktop: Completely restart Claude. A new plug/MCP icon will appear in the bottom right of the chat bar. Click it to verify
hubspotis active.In Cursor: Completely restart Cursor. The HubSpot server is added globally automatically! Verify it in Settings (
Ctrl + Shift + JorCmd + Shift + Jon Mac) > Features > MCP.In Windsurf IDE: Completely restart Windsurf. The server is configured globally in Cascade! Look for the MCP icon in the Cascade panel sidebar.
In VS Code (Cline): Completely restart VS Code. Cline will automatically detect and load the HubSpot server tools.
Example prompts to ask your AI:
"Find deals associated with company Acme Corp"
"Show my last 5 created contacts in HubSpot"
"Create a new deal named 'Software License' with amount 25000"
Related MCP server: BackCrew HubSpot MCP Server
Русская версия
Этот сервер позволяет вашим менеджерам по продажам (сейлзам) подключаться к HubSpot прямо через Cursor, Windsurf IDE, VS Code (расширение Cline) или Claude Desktop с помощью искусственного интеллекта. Они смогут искать контакты, смотреть детали, создавать и обновлять сделки простым человеческим языком.
Мы сделали этот продукт абсолютно кроссплатформенным и полностью автоматическим. Сейлзам больше не нужно писать сложные команды, вручную настраивать JSON-файлы или искать скрытые папки. Скрипт сделает всё за них!
💻 Инструкция для менеджеров (Всего 2 шага!)
Шаг 1. Распакуйте архив
Скачайте архив с программой и распакуйте его в любую удобную папку на компьютере (например, C:\hubspot-mcp-server\ на Windows или в домашнюю папку на Mac).
Шаг 2. Запустите авто-настройку
🖥️ На Windows:
Найдите файл
setup.batвнутри папки и запустите его двойным щелчком мыши.Скрипт сам проверит Node.js (если его нет — установит в фоновом режиме), автоматически найдет и настроит Claude Desktop, Cursor, Windsurf и VS Code (Cline), после чего откроет мастер настройки в браузере.
Вставьте Client ID и Client Secret, полученные от администратора.
Нажмите «Save & Continue».
Войдите под своим личным аккаунтом HubSpot и нажмите кнопку «Подключить приложение» (Authorize).
Как только появится экран успеха с зеленой галочкой, закройте браузер.
🍎 На macOS (Mac):
Откройте Терминал и перейдите в папку с проектом.
Запустите команду:
bash setup.shСкрипт проверит наличие Node.js (если его нет — установит), автоматически настроит все найденные программы и откроет мастер настройки в браузере.
Вставьте Client ID и Client Secret, полученные от администратора, и нажмите «Save & Continue».
Войдите под своим личным аккаунтом HubSpot и нажмите кнопку «Подключить приложение» (Authorize).
Готово!
Шаг 3. Перезапустите программы и пользуйтесь!
В Claude Desktop: Перезапустите Claude. В чате появится иконка розетки/вилки (MCP).
В Cursor: Перезапустите Cursor. Сервер подключится автоматически на глобальном уровне! Проверьте в Cursor Settings > Features > MCP.
В Windsurf IDE: Перезапустите Windsurf. Сервер подключится автоматически в боковой панели Cascade (иконка MCP).
В VS Code (Cline): Перезапустите VS Code. Cline автоматически подгрузит инструменты HubSpot.
🛠️ Developer Setup & Admin Configuration (Bilingual)
1. Register App in HubSpot / Регистрация в HubSpot
In HubSpot, go to Settings > Integrations > Developer Apps (or MCP Auth Apps).
В HubSpot перейдите в Настройки > Интеграции > Developer Apps (или MCP Auth Apps).
Click Create app (or Create MCP auth app).
Нажмите Создать приложение.
Set the Redirect URL to:
Укажите Redirect URL:
http://localhost:6274/oauth/callback/debug
Copy the Client ID and Client Secret. Give these to your sales reps!
Скопируйте Client ID и Client Secret и передайте их сотрудникам.
2. Compile Server / Сборка сервера
Before packing the folder into a ZIP archive for your team, make sure to compile the TypeScript code:
Перед тем как запаковать папку в ZIP для команды, обязательно скомпилируйте TypeScript код:
npm install
npm run build(You can exclude the node_modules folder from the final ZIP to keep it lightweight (~1MB) — the setup scripts will automatically download dependencies for users).
(Вы можете исключить папку node_modules из итогового ZIP-архива, чтобы сделать его легким (около 1 МБ) — скрипты установки скачают всё сами).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Create contacts, move deals, send proposals and invoices, read your inbox, from Claude or ChatGPT.
Simple sales CRM for small B2B teams that you update by telling Claude or ChatGPT what happened. Paste a lead list or describe a call, and the AI creates the deals, contacts, companies and follow-up reminders, logs notes and activities, and answers questions like who to follow up with today. It can add and update records but never deletes them or sends messages. Every Fluid CRM plan includes the connector, with no AI credits to buy. Sign in with your Fluid CRM account (OAuth).
- Workspace AgentsDeprecatedai.hirefinn
Run your workspace from your AI assistant: agents, calls, CRM, inbox and settings. OAuth sign-in.
Related MCP Servers
- AlicenseAqualityCmaintenanceExposes HubSpot CRM data and actions as tools for AI agents, enabling contact lookup, company search, contact creation, and activity logging via natural language.4MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with a HubSpot CRM account via natural language, starting with read-only lookups and optionally enabling write operations like creating contacts, deals, and notes.11MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to HubSpot CRM, providing tools to manage contacts, companies, deals, and more via natural language.MIT
- AlicenseAqualityCmaintenanceEnables Claude to search, create, and update contacts, deals, and support tickets in HubSpot, and to generate cross-object account summaries.10MIT