mcp-hubspot
Allows reading HubSpot pages, searching records, opening records, creating contacts/companies, updating fields, filling forms without saving, and running small approved batches using the browser UI.
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., "@mcp-hubspotSearch for contact John Doe in HubSpot and show details"
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.
mcp-hubspot
Use HubSpot from Codex or Claude Code through your logged-in browser.
This project is a local MCP server plus a Chromium extension. It lets an agent read the current HubSpot page, search records, open records, create and update CRM records, fill forms without saving, extract visible tables/timeline/associations, and run small approved batches.
Why Browser Extension?
Many companies do not allow every user to create HubSpot private apps, OAuth apps, or API tokens. mcp-hubspot avoids that requirement by using the HubSpot UI you already have open in Chrome or Edge.
The extension does not give the agent extra HubSpot permissions. It can only do what your logged-in user can already do in the browser.
Related MCP server: hubspot-mcp
Safety Model
No HubSpot admin access required.
No private app, OAuth app, or API token required.
No cookie reading.
No
Authorizationheader capture.No localStorage, sessionStorage, or IndexedDB token scraping.
The MCP server receives sanitized page snapshots and operation results, not reusable credentials.
Writes require side-panel approval by default.
Optional Autopilot can run writes without per-operation clicks when you intentionally enable it.
Install
git clone https://github.com/kaael1/mcp-hubspot.git
cd mcp-hubspot
npm install
npm run buildRegister the MCP server in Codex:
codex mcp add mcp-hubspot -- node "C:\path\to\mcp-hubspot\dist\server\index.js"Claude Code can use the same stdio command:
{
"mcpServers": {
"mcp-hubspot": {
"command": "node",
"args": ["C:\\path\\to\\mcp-hubspot\\dist\\server\\index.js"]
}
}
}Load The Extension
Print the extension path:
node .\dist\server\index.js extension-pathThen open chrome://extensions, enable Developer Mode, click Load unpacked, and select the printed dist\extension folder.
Pair Once
Start the MCP server from Codex or run:
node .\dist\server\index.js doctorCopy bridge.pairingKey, open the extension popup, paste it, and click Pair. After pairing, the extension remembers the local bridge.
Typical Use
Open HubSpot in Chrome or Edge and sign in normally. Then ask your agent for things like:
"Leia essa empresa aberta e me resuma tudo que importa."
"Procure a empresa ou deal X no HubSpot e abra o registro correto."
"Liste os contatos, deals, tickets e atividades visiveis nessa empresa."
"Pegue essa lista da tela e monte uma tabela limpa."
"Crie uma empresa, contato, deal ou ticket com estes dados."
"Crie uma nota ou tarefa nesse registro."
"Associe esse contato ao deal aberto."
"Preencha estes campos, mas nao salve."
"Atualize este contato/deal/ticket depois que eu aprovar."
Coverage
Supported:
Contacts, Companies, Deals and Tickets.
Custom objects when you provide the HubSpot
objectId.Visible page snapshots: properties, tables/lists, associations and timeline cards.
Create, update, fill-without-saving and small batch update.
Experimental:
Notes, tasks, calls, meetings and logged emails through the visible HubSpot activity composer.
Creating associations through the visible HubSpot association picker.
Advanced fields such as dropdowns, comboboxes, date inputs and multi-select-like controls.
Out of scope by design:
Delete, merge, bulk delete and large exports.
Admin changes, permission changes, users/teams, workflows and integration settings.
Marketing email sending and report/dashboard authoring.
Any private app, OAuth or API-token management.
MCP Tools
doctorget_contextget_coverage_matrixget_page_snapshotget_visible_tablessearch_recordsopen_recordget_taskpreview_record_updaterequest_record_fillrequest_record_updaterequest_record_createrequest_batch_updaterequest_timeline_activity_createrequest_association_createrequest_associated_contacts_createget_operationget_audit_logset_autopilot
Autopilot
Autopilot is off by default. When enabled, pending creates, updates, fills, and small batches run without clicking Approve for each operation.
Use it only when you trust the current agent task. You can turn it off from the side panel or through set_autopilot.
Agent Skill
This repo includes a Codex skill at skills/mcp-hubspot/SKILL.md. Install that folder into your local skills directory when you want agents to know how to install, pair, diagnose, and operate this MCP.
Development
npm run checkRuntime state is written to data/ and build output is written to dist/. Neither should be committed.
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.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- 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
- FlicenseCqualityCmaintenanceAn independent MCP server built from HubSpot's OpenAPI specs, offering 106 tools for CRM automation including contacts, companies, deals, invoices, and line items.1001-
- FlicenseNot gradedqualityDmaintenanceA standalone MCP server that extends HubSpot functionality for post-call processing and pre-call preparation workflows.-