Ask a normal AI chatbot “which deals are stuck in my pipeline?” and it won’t be able to answer. It doesn’t have access to your CRM; it only knows general information from its training, which was frozen months ago. It simply has no way to look at what’s happening in your account right now.
HubSpot’s Model Context Protocol (MCP) fixes that. It gives AI tools a secure, direct line into your live HubSpot data, so you can just ask a question in plain language and get a real, current answer back no custom code required.
In this article, we’ll explain HubSpot MCP integration, how it works, how it compares to a regular API, and how HubSpot’s MCP server actually works.
What Is the HubSpot Model Context Protocol (MCP)?
MCP is an open standard that lets AI assistants and agents connect to outside systems HubSpot among them securely and in a structured way. Rather than guessing, an AI model on MCP can just ask:
“What deals does this contact have open right now?” And get a real answer back.
Anthropic built the protocol to fix something slowing everyone down. Any company that wanted to connect an AI model to its own data had to build a custom integration from scratch, repeated once per model, once per data source. MCP turns that into a single protocol any AI client can speak, against any system that supports it.
HubSpot ships two separate MCP servers, and they’re not interchangeable:
“HubSpot MCP Server: "HubSpot MCP" and "HubSpot MCP server" are used interchangeably in practice, and there's no meaningful distinction; the second is just the more precise, technical name for the same thing.”
| MCP Server | Purpose |
|---|---|
| HubSpot MCP Server (Remote) | Lets AI tools read and write live CRM data, including contacts, companies, deals, tickets, and other HubSpot objects. |
| Developer MCP Server (Local) | Helps developers build, test, and manage HubSpot apps, UI extensions, and CMS assets locally from their IDE using AI-assisted workflows. |
MCP works differently than an API. It understands your request, picks the right action, and pulls live data all while keeping track of the conversation. Just ask in plain language to pull up CRM records, update a contact, or create a deal.
The Architecture Behind HubSpot MCP
HubSpot’s MCP architecture is set up into three simple parts, with parts that play their own role, and they tell us how the user request moves to the CRM server and the system give the response to the user.
- AI client: Whatever the person is using, like Claude, ChatGPT, or a custom-built tool.
- MCP server: Sits in between, exposing tools like “get contact” or “create deal.”
- HubSpot: Where the CRM data actually lives.
The AI client never talks to HubSpot directly the MCP server handles that connection, calling HubSpot’s APIs on its behalf.
When a client connects to an MCP server, it first checks which tools are available. It then sends the user’s request along with relevant context. The server picks the right tool, calls the matching HubSpot API, pulls live data, and sends back a clean, formatted response
Why HubSpot MCP Matters
Traditional API integrations have worked well for years, but they weren’t built with AI in mind. Once you connect with an assistant then the system starts to crack and show:
- No memory: Every API call stands alone, with no sense of what just happened.
- Inconsistent access: Different endpoints come with their own tokens and rules.
- Raw data: Responses come back without any context or explanation of what they mean.
- Manual logic: Someone still has to code and apply an algorithm for which API to call, and when.
MCP gives the AI model direct, structured access to a set of “tools” it can use on its own with permission checks already built in.
This approach makes HubSpot AI integration much more practical, allowing AI assistants to retrieve CRM data, understand context, and perform actions without relying on complex API workflows.
HubSpot MCP Setup: How to Configure the Remote MCP Server
This HubSpot MCP setup guide covers HubSpot’s official remote MCP server, the one that connects AI tools to live CRM data.
Step 1: Prerequisites: The Necessary Requirements.
Ensure that you possess a HubSpot account that enables you to create developer applications and an AI client that is compatible with MCP while being supporting OAuth 2.1 with PKCE.
Step 2: Create MCP Auth Application
- Access your HubSpot account.
- On the left sidebar, click on Development.
- Choose the option of MCP Auth Apps.
- Hit Create MCP Auth App.
- Provide the name of your application along with its description.
- Fill in the redirect URL.
- Press Save.
Step 3: Configure the Authentication.
There is no requirement of manual work in this section. The security of the connection is provided by HubSpot through OAuth 2.1 along with PKCE. The needed rights are determined automatically when you get access to your MCP tools or allow specified permissions.
Step 4: Connect your HubSpot Account.
- Launch your compatible AI client.
- In the connection settings, enter the endpoint of HubSpot MCP:
- Fill in your Client ID.
- Fill in your Client Secret.
- Press Connect or some other button to start the OAuth process.
- Choose the HubSpot account that you want to allow.
- Press Authorize in order to finish the process of connection.
Step 5: Verify the Connection
Post-authentication, your application should show a connection success message and discover all the HubSpot MCP tools that your account owns.
Step 6: Test the Available Tools
Make a simple request like getting user details so that you can check if your MCP account is getting relevant data.
Step 7: Start Using HubSpot MCP
You can use your AI assistant to get open deals or examine the customer information since the MCP will process your requests securely.
The Remote MCP Server is ideal for AI-powered CRM interactions. If your focus is HubSpot app or CMS development, the Local Developer MCP Server offers a different setup designed specifically for developers.
Setting Up the Local HubSpot Developer MCP Server
The Local Developer MCP Server brings AI-powered development directly into your coding environment. Follow the steps below to install, configure, and start using it with your preferred IDE.
Step 1: Verify the System Requirements
It is necessary to confirm that you have the HubSpot CLI version 8.2.0 and above ahead of
setting up the local MCP server.
- Verify your HubSpot CLI version: hs –version
- Upgrade / Install the latest version: npm install -g @hubspot/cli
It is also important to have at least one of the clients that support the MCP:
- Claude Code
- Codex CLI
- Cursor
- Gemini CLI
- VS Code
- Windsurf
Note: In case you are using VS Code, make sure to install the `code` command in your system PATH before proceeding:
- Start the Command Palette (`Ctrl + Shift + P` on Windows/Linux or `Cmd + Shift + P` on macOS).
- Type Shell Command: Install ‘code’ command in PATH.
- Execute the command.
Step 2: Execute the MCP Setup Command
Launch your terminal and initiate the setup process with the command:
- hs mcp setup
This command opens the HubSpot Developer MCP Server setup wizard.
Step 3: Choose Your AI Client
When asked, select the IDE or AI client to install the HubSpot Developer MCP Server. You can use the arrow keys for navigating the menu, press Space to add more clients, and press Enter to proceed.
Step 4: Choose the Mode of Operation
Now make a choice as to how you want to operate the server:
- Standalone Mode (npx) – it is recommended for devices managed and under corporate restrictions that limit the global installation of npm.
- Global HubSpot CLI – it is a globally installed hs command.
If you choose Standalone Mode, you have an option to pin a particular version of the CLI, or keep using the latest version.
Step 5: Complete the Setup
Once you have made your selections, the setup process is automatic and completes by showing a notification stating that the installation of HubSpot Developer MCP Server is completed.
Step 6: Restart Your AI Client
If your AI client or IDE is open, restart it to make sure that the new MCP configuration is loaded properly.
Step 7: Verify Installation
Check your MCP settings and make sure that HubSpotDev appears there.
For instance:
- Claude Code: run /mcp command and select HubSpotDev.
- Cursor: Settings → Cursor Settings → Tools & MCP, and check that HubSpotDev is present in Installed MCP Servers.
Once the server is shown up, you can start using it in your local HubSpot Developer MCP Server.
HubSpot MCP vs Traditional APIs
A traditional API hands you raw data; you still need to know the endpoint, the auth method, and how to structure the call. HubSpot’s MCP server removes that layer entirely, letting AI agents access application functionality without needing to understand specific API protocols.
| Traditional HubSpot API | HubSpot MCP Server |
|---|---|
| Developers have to write a separate API call for every task. | Ask for what you need in plain English, and the assistant handles it. |
| You need to know which endpoint to hit and wire up the request yourself. | It figures out the right tool to use based on what you're asking. |
| Returns raw JSON that your application must parse and process. | Returns structured, human-readable responses that are ready to use. |
| Every new AI integration requires additional custom development and maintenance. | Uses a standard protocol, making AI integrations much faster to build. |
| Best suited for web apps, backend systems, and automated workflows. | Designed specifically for AI assistants and intelligent agents. |
| Developers handle authentication, request formatting, and response parsing. | The MCP server manages discovery, context, tool selection, and execution. |
| Works best for predictable, rule-based automation. | Maintains conversational context and supports multi-step interactions. |
“Now that you understand how HubSpot MCP works, let's walk through the setup process that steps will help you configure the official Remote MCP Server so your AI client can securely access live HubSpot CRM data. ”
How HubSpot MCP Verifies, Protects, and Authorizes Every Request
When an AI client connects through MCP, requests pass through multiple checks before reaching your CRM.
1. OAuth 2.1 + PKCE verifies identity.
Every connection requires OAuth 2.1 authentication with PKCE (Proof Key for Code Exchange); this is mandatory for all connections that are set up to HubSpot’s MCP server, and these are not optional.
Scopes aren’t set manually. They’re determined automatically based on the tools available in the MCP server and the permissions the user grants during installation.
2. The AI agent inherits the user’s existing permissions.
All actions respect existing HubSpot user permissions users can only view and modify records they already have access to in HubSpot.
The AI doesn’t get separate or elevated access; it operates within the same boundaries as the authenticated user.
3. Data in transit is encrypted.
HubSpot encrypts all sensitive interactions with its products including API calls using TLS 1.2 or 1.3 with 2,048-bit keys or better. Since MCP requests run through HubSpot’s API, this same encryption standard applies.
4. Sensitive Data is excluded automatically.
If Sensitive Data is turned on in a HubSpot account, activity objects calls, emails, meetings, notes, and tasks are blocked from access through the MCP server specifically. This restriction doesn’t apply to the standard CRM APIs.
The MCP server also doesn’t allow access to custom Sensitive Data properties, including Personal Health Information and other Highly Sensitive Data.
Every MCP request is authenticated and permission-checked before reaching your CRM, and sensitive data has an extra layer of exclusion built in.
Key Use Cases of HubSpot MCP
HubSpot MCP can help organisations improve their productivity. HubSpot has a wide range of workflows. Some of the common ways in which organization lies for retrieving data and speed up app development are:
1. Sales Operations and CRM Management
Now AI assistants can connect to and use real CRM data via natural language, empowering sales and support to do what they do every day more efficiently with the Remote HubSpot MCP Server.
Retrieval of CRM Data: Find contacts, organizations, opportunities, tickets, and other CRM documents without the need to go through HubSpot manually.
Management of Records: Manage your CRM records directly using AI-enhanced communications.
Sales Insights: Obtain information on pipelines, deals, and customers to enable more efficient decision-making.
2. HubSpot Application Development and CMS
Our Local Developer MCP Server interacts seamlessly with your Integrated Development Environment to provide modern tools for HubSpot programming.
Code Development: Create HubSpot apps, CMS modules, and other development files with the help of AI tools.
Help with development: Inspect code for errors, find coding issues, or get help with implementation directly in your IDE.
Project Management: Manage project files and inspect settings all from one workspace space.
3. Process Automation
HubSpot MCP makes automating processes possible by having AI complete various common business procedures using your available HubSpot permissions.
Automated Activities: Automate updates, creating records, and getting information through conversational query inputs.
Connected Processes: Reduce the amount of manual effort required due to AI completing multi-step HubSpot activities effectively.
Enhanced Productivity: Spend less time on administrative activities so that you can dedicate more time to engaging with clients and strategic activities.
Businesses are increasingly adopting HubSpot AI integration to automate CRM workflows, improve productivity, and build AI-powered experiences across sales, support, and development.
Conclusion
APIs let software talk to software. MCP lets AI actually understand HubSpot and that difference is only going to matter more.
No more custom middleware. No more stitched-together auth. Just a live connection between your AI tool and your CRM.
So try it. Connect an AI tool to HubSpot through MCP in a test account, ask it one real question, and watch it answer instantly from your actual data. After that, going back to manual lookups and custom API code is going to feel like a step backward.
Frequently Asked Questions
No. HubSpot’s API still exists and works the same way it always has. MCP sits on top of it. The MCP server is what an AI client talks to, and it’s the MCP server that calls HubSpot’s APIs behind the scenes.
You need permission to create developer apps in your HubSpot account, but the setup itself is mostly clicking through a UI: creating an MCP auth app, then authorizing the connection in your AI client. No custom code is required.
Claude, ChatGPT, and other MCP-compatible clients can connect to the remote HubSpot MCP server for CRM data. AI coding assistants like Cursor connect to a separate developer MCP server for building HubSpot apps.
Every connection uses OAuth 2.1 with PKCE, a security standard required on every authorization flow. Access respects whatever permissions the connecting user already has in HubSpot; an AI tool can never see more than the person who authorized it can see.
It removes the need for custom middleware to connect AI tools to HubSpot, which cuts down a lot of integration work. Developers are still useful for building custom agents, internal tools, or HubSpot apps, particularly through the developer MCP server.


2 Comments
Pingback: HubSpot Salesforce Integration 2026: What Works, What Doesn’t
Pingback: n8n vs Zapier for HubSpot | Which Automation Best for You?