If you're searching for "HubSpot MCP", you're asking one of two things: does HubSpot have an MCP server? or how do I connect HubSpot to an AI assistant via the Model Context Protocol?
✅ HubSpot has an official MCP server. Details in the setup section below.
What Is MCP?
Model Context Protocol (MCP) is an open standard developed by Anthropic that lets AI assistants — like Claude — connect to external tools, APIs, and data sources in a standardised way.
Before MCP, every AI integration required bespoke tooling: custom prompts, custom API wrappers, and custom glue code to pass context back and forth. MCP replaces that with a common interface: the AI asks the MCP server for data or actions, the server returns structured results, and the AI uses them to answer your question or complete a task.
In plain terms: MCP is how you give an AI assistant live access to HubSpot — not just knowledge about it, but real, up-to-date data from your account.
What a HubSpot MCP Integration Does
Once HubSpot is connected via MCP, your AI assistant can:
- Read live data — pull records, metrics, activity, and status directly from HubSpot
- Take actions — create, update, or log records based on your instructions
- Cross-reference context — combine HubSpot data with other connected tools mid-conversation
The key difference from a standard chatbot: the assistant is not working from training data or memory. It is reading your actual HubSpot instance, in real time.
Practical HubSpot MCP Use Cases
Live deal context in every conversation
Ask your AI assistant to pull up a deal's current stage, last activity, and open tasks — then draft a follow-up or coaching note — without switching out of your chat interface.
Contact and account enrichment
Have the assistant look up a contact in HubSpot mid-conversation and return structured fields: company, role, pipeline stage, and recent notes — to inform the current task.
Pipeline summaries on demand
"What deals are stalled in proposal stage?" The assistant queries HubSpot directly via MCP and returns a readable summary with suggested next actions.
CRM record creation from conversation
During a call debrief, the assistant captures structured output (contact, company, notes, next steps) and writes it back to HubSpot — one less thing to copy-paste.
HubSpot MCP: OAuth, PKCE, and the Two Servers Everyone Confuses
HubSpot ships an official, hosted remote MCP server at https://mcp.hubspot.com. There is nothing to install, nothing to run locally, and no community wrapper in the path. Every guide that tells you to clone a repo is describing a different (and older) approach.
The single most common mistake is not setup, it is picking the wrong server. HubSpot runs two:
| Server | Endpoint | What it does | Who it is for |
|---|---|---|---|
| HubSpot MCP server (remote) | https://mcp.hubspot.com |
Reads and writes your CRM data — contacts, companies, deals, tickets, activities, campaigns, content | Anyone connecting an agent to a live HubSpot account |
| Developer MCP server (local) | run locally via the HubSpot CLI | Answers questions about HubSpot's developer docs, scaffolds app projects, deploys changes | People building on HubSpot's platform |
If your goal is "ask my assistant about my pipeline" or "have the agent update the deal", you want the remote server. The developer server will happily tell you how to build a UI extension and will never touch a CRM record. HubSpot's own docs draw this line explicitly, and it is worth pinning because half the tutorials in the SERP blur it.

The two-server split, stated by HubSpot itself. Pick the remote server for CRM work.
Connection: one URL, Streamable HTTP, OAuth with PKCE
{
"mcpServers": {
"hubspot": {
"url": "https://mcp.hubspot.com"
}
}
}
| Property | Value |
|---|---|
| Server URL | https://mcp.hubspot.com |
| Transport | Streamable HTTP |
| Auth | OAuth 2.0, PKCE required |
| Local install | None |
| Tools exposed | 25+ (see below), filtered per account |
OAuth is not optional and there is no bearer-token shortcut. The only static credential you control is the connector's client ID and secret, and those still go through the browser authorization flow.

HubSpot's three-step implementation overview. Note the PKCE requirement in the first paragraph — it is the most common failure point.
The connector is the app, and you create it in HubSpot
You do not register an OAuth app in a developer portal the way you would for the REST APIs. You create an MCP connector inside the HubSpot account itself:
- In HubSpot, go to Development in the main navigation.
- In the left sidebar, open MCP Connectors.
- Click Create MCP connector.
- Fill in the name, an optional description, a Redirect URL, and an optional icon.
- HubSpot generates the connector with OAuth + PKCE already configured and shows you its client ID and client secret.
The redirect URL has to match what your MCP client sends exactly. For the MCP Inspector the documented test value is http://localhost:6274/oauth/callback/debug. If you list more than one redirect URL, the first one becomes the default, which is a quiet source of mismatch when you later test from a different client.
The permission model is inverted from what you expect
This is the part that breaks mental models built on other APIs. HubSpot's docs are explicit: you do not define the connector's scopes. Available scopes are derived from two things:
- The tools that exist on the MCP server at the moment of installation.
- The permissions the user grants on the consent screen during installation.
Two consequences follow, and both bite:
- Scopes drift with the server. When HubSpot adds or changes tools, the scope set changes too, and existing installs do not pick up the new scopes automatically. Users have to re-install the connector to grant them. If a tool suddenly returns permission errors a month after a working setup, this is the first thing to check.
- Permissions are yours, not the app's. Every action respects the connecting user's existing HubSpot permissions. An agent connected by a sales rep sees that rep's records — not the whole portal.
What the agent can actually do
Tool availability varies by subscription, user permissions, and account configuration, so HubSpot tells you to run get_user_details immediately after connecting. It returns the authenticated user, account details, and per-object read/write access. That call is your permission check before you trust any workflow.
The publicly documented surface, grouped by what it is for:
| Group | Tools |
|---|---|
| Discovery | get_user_details, get_organization_details, discover_hubspot_schema, tool_guidance |
| CRM read | search_crm_objects, get_crm_objects, query_crm_data (SQL) |
| CRM write | manage_crm_objects, manage_segment, manage_custom_properties, manage_custom_pipelines |
| Properties | search_properties, get_properties |
| Marketing | read_campaign_data, get_campaign_attribution_reports, manage_campaign_objects, get_marketing_email_analytics, manage_marketing_email |
| Content | manage_landing_page, manage_website_page, manage_blog_post, get_content_analytics_report, render_asset |
| Conversations | search_conversations, get_conversation_channel_metadata |
| AEO | get_aeo_metrics, manage_aeo_prompts, manage_aeo_recommendations |
| Other | search_owners, search_intent_signals, manage_onboarding, submit_feedback |
A few honest limits from the docs, because they decide whether a workflow is feasible:
query_crm_datais not real SQL. It supports filtering, aggregation and sorting, but no joins, no column aliases, no subqueries, no association traversal, and no currency conversion. If your reporting question needs a join, you are back to the REST API.search_crm_objectscaps at 200 results per page, with up to five filter groups of six filters each — AND within a group, OR across groups.get_crm_objectstakes at most 100 IDs per request.- Revenue objects — carts, invoices, orders, line items, products, quotes, subscriptions — are in BETA. Quotes additionally need the manage revenue objects scope and a Revenue Hub Professional or Enterprise plan.
- AEO tools require Marketing Hub Professional or Enterprise.
- Some content tools only work in select clients.
manage_website_page,manage_blog_post, andrender_assetare documented as available only for Claude, ChatGPT, and Gemini. - Conversations access is inbox-scoped. Help desk conversations are visible to all users; conversations inbox threads restricted to users or teams are only visible to those users through MCP too.
The Sensitive Data trap
If your portal has Sensitive Data turned on, HubSpot blocks activity and conversation data (calls, emails, meetings, notes, tasks, conversations) from the MCP server — and only from the MCP server. The standard CRM APIs still return it fine.
This is a genuinely surprising asymmetry: a REST integration that works perfectly will, through MCP, look like it is missing half its data. The workaround is not in the MCP server. Decide deliberately whether Sensitive Data should be on for the portal, rather than debugging the agent.
Write safety is built in, and it is a feature
manage_crm_objects presents a proposed-changes summary and requires explicit user confirmation before executing any create or update. manage_segment, manage_campaign_objects, manage_landing_page, and manage_blog_post follow the same pattern — campaign creation, page creation from a template, publishing, and revision restores all require confirmation.
Writes also respect conditional field logic: pipeline stage validation, required-property rules, and custom field dependencies apply exactly as they do in the UI. An agent that "ignores the required field" gets a real error, not a silently broken record.
Landing page and website page writes are sequential — HubSpot does not accept parallel edits to the same asset. Batch your edits into one flow rather than firing several tool calls at once.
Set up a first workflow properly
You are connected to HubSpot via the remote MCP server.
1. Run get_user_details and tell me which objects I can write to.
2. Run discover_hubspot_schema for "deals" and list the pipeline stages.
3. Using search_crm_objects, find all deals in the "Decision maker bought in"
stage with amount > 5000, sorted by last activity date ascending.
4. Summarise: how many are in that stage, which five have gone longest
without an update, and who owns each of them.
Do not modify anything yet.
Read-only, one page of results, and it produces something a sales manager actually wants on a Monday: the deals that have gone quiet.

HubSpot's own framing of what the remote server is good at: contact lists, pipeline questions, meeting notes into record updates, and closed-lost analysis.
Four more that map cleanly onto documented tools:
- Meeting notes to records. Paste the notes and ask the agent to create or update the contact, company and deal, then have it show the proposed changes before confirming.
manage_crm_objectswill hold the write until you approve. - Closed-lost pattern analysis.
search_crm_objectsover closed-lost deals plustool_guidance, then ask for common properties among the losses. This is one of HubSpot's own listed use cases. - Content audit.
get_content_analytics_reportacross landing pages, website pages and blog posts, sorted by conversion rate, to find pages with traffic and no conversions. - Campaign attribution rollup.
get_campaign_attribution_reportsfor closed-won attribution. It supports long-running queries with polling — expect the tool to need more than one call and do not treat the first response as final.
HubSpot-specific pitfalls
- The developer MCP server is not the HubSpot MCP server. Same brand, completely different job, and the developer one cannot touch CRM data. Most of the confusion in this space comes from this one fact.
- PKCE is mandatory and not optional. Clients that do not implement it will fail at the token exchange with an opaque auth error. The MCP Inspector handles it; a hand-rolled client usually does not, and the fix is generating a
code_verifier, deriving an S256code_challenge, and sending both. - Scopes are not declared by you. They come from server tools plus consent-screen grants, and new scopes require a re-install. A connector that worked in August and 403s in October is usually this.
- The connector lives in the HubSpot account, not a developer app. Looking for it under private apps or an OAuth app listing wastes time. It is under Development → MCP Connectors.
- First redirect URL wins. Multiple redirect URLs are allowed, but the first is the default. A client testing against the second entry will fail.
- Sensitive Data silently strips activities and conversations from MCP only, while REST keeps working. Nothing in the MCP response says "blocked by a portal setting".
query_crm_datahas no joins. Aggregations over a single object work; anything cross-object has to be split into multiple calls or done against the REST APIs.- 200 results per page, 100 IDs per fetch. Agents that skip pagination report a fraction of the pipeline and it reads as real data.
- Some tools are client-gated. Website page, blog post, and
render_assetare documented for Claude, ChatGPT, and Gemini only. Building a Cursor workflow around blog publishing will not work. - Write confirmation is real. If you automate writes, the agent has to wait for human approval on each proposed change. Design workflows around that, do not try to route around it.
- Template changes are not free. Beyond the per-page consent screens, content tools render sequentially and a template restore is itself a confirmation-gated operation.
How to Connect HubSpot via MCP
There are two main paths:
Option A: Use HubSpot's official MCP server
HubSpot maintains an official HubSpot MCP server. This is the recommended starting point — it's built and maintained by the HubSpot team, so it stays up to date with API changes.
Note: Official hosted remote MCP server at https://mcp.hubspot.com (Streamable HTTP, OAuth with PKCE required). Separate from the local Developer MCP server, which only answers developer-docs questions and cannot touch CRM data. You create an MCP connector under Development > MCP Connectors, not an OAuth app. Scopes are not declared by you: they derive from server tools plus consent-screen grants, so new tools require a re-install. Sensitive Data enabled blocks activities and conversations from MCP only.
What the server exposes:
- contacts
- companies
- deals
- tickets
- leads
- activities
- campaigns
- marketing emails
- content assets
- conversations
What you'll need:
- An MCP-compatible client (Claude Desktop, OpenClaw, or another host)
- HubSpot credentials configured per the server's setup guide
This path gives you the most control but requires you to handle client configuration and credential management yourself.
Option B: Use Cody (OpenClaw-based, managed)
Cody is built on OpenClaw and supports MCP-compatible integrations out of the box. You connect HubSpot once from the Cody dashboard — no server to run, no code to write — and Cody handles authentication, context passing, and write-back actions with appropriate guardrails.
Cody works where your team already operates: Slack, Telegram, or the web chat. The HubSpot connection is available to your entire team without each person setting up their own MCP client.
Want HubSpot Connected to AI Without Running Your Own MCP Server?
Cody gives your team a HubSpot AI assistant in Slack, so reps and leaders can review deals, companies, contacts, emails, and pipeline risk, then draft follow-ups and updates without digging through records or building the integration themselves.
MCP vs Other AI Integration Patterns
| Approach | What it is | Tradeoff |
|---|---|---|
| MCP | Standardised protocol for live tool access | Requires an MCP server; most powerful when set up correctly |
| RAG (retrieval) | Pre-index HubSpot content and retrieve it | Good for static docs; not suitable for live/transactional data |
| Manual copy-paste | Paste HubSpot output into ChatGPT/Claude | Fast to start; breaks for anything recurring or at scale |
| Custom API wrappers | Bespoke integration code per tool | Full control; high maintenance overhead |
MCP wins when you need live data from HubSpot and want to avoid rebuilding integrations as APIs change.
Common Mistakes
- Using training data when live data is needed — if the AI doesn't have an MCP connection, it will answer from memory, which is often outdated or wrong for account-specific questions
- No write-back guardrails — MCP can write to HubSpot, so it's worth adding an approval step for any action that modifies records
- Too many tools exposed at once — give the AI access to the HubSpot actions it actually needs; a scoped connection is easier to reason about and audit
- Skipping structured outputs — ask the AI to return structured JSON or clear fields when writing back to HubSpot; free-form output is harder to validate
The HubSpot MCP workflow worth scheduling first
The best read-only automation on a HubSpot CRM is stalled-deal detection, and it maps exactly onto documented tools: search_crm_objects for deals in your active stages, sort by last activity, and have the agent report anything that has not moved in 14 days with its owner and amount. No writes, no confirmation prompts, no scope drift — and it finds real revenue risk instead of producing another dashboard nobody opens.
Run it weekly, post the output where the team already talks, and only then consider adding manage_crm_objects for follow-up tasks.
If you would rather not manage connectors, OAuth flows and PKCE at all, connect HubSpot to OpenClaw once and ask from Slack. The same hosted server is what powers Cody's HubSpot assistant, and the pattern carries over cleanly to Salesforce if you run both CRMs.
Related MCP Guides
Want the full workflow picture? See: HubSpot AI Automation and How to Connect HubSpot to OpenClaw.