Guide
HubSpot MCP server: a setup guide for marketing teams
HubSpot runs two MCP servers and a set of ready-made AI connectors. Here is which one a marketing team needs, how to connect it, and what it can and can't touch in your account.
By The Marketing Prompts Editors · Checked against HubSpot's documentation on
HubSpot's MCP servers at a glance
Searching for “the HubSpot MCP server” turns up two different things. HubSpot documents them separately, and they do different jobs:
| HubSpot MCP server (remote) | Developer MCP server (local) | |
|---|---|---|
| What it's for | Letting an AI tool read and write the data in your HubSpot account: CRM records, content, campaigns, emails, social | Building HubSpot apps and CMS assets from an AI coding tool |
| Where it runs | Hosted by HubSpot at https://mcp.hubspot.com | On your machine, installed through the HubSpot CLI |
| How it connects | OAuth 2.1 with PKCE, through an MCP connector you create in HubSpot | hs mcp setup (HubSpot CLI 8.2.0 or later) |
| Who it's for | Marketing, sales and RevOps teams, and anyone building an agent on HubSpot data | Developers working on HubSpot apps and CMS themes |
For most marketers the answer is the remote server, and often not even that directly: HubSpot's own AI connectors for Claude, ChatGPT, Microsoft Copilot and Gemini are powered by the remote server, so in those tools you can connect HubSpot without creating anything yourself. The rest of this guide is about the remote server.
Which way in fits your team
- You use Claude, ChatGPT, Copilot or Gemini. Start with HubSpot's built-in connector for that tool (listed on hubspot.com/ai-tools). It is the same server underneath, with the sign-in handled for you.
- You use another MCP client, or you're building your own agent. Create an MCP connector in HubSpot and point the client at
https://mcp.hubspot.com. The client must support OAuth with PKCE. - You're building on HubSpot itself (a custom app, a CMS theme or module). Install the Developer MCP server with the HubSpot CLI. It works in Claude Code, Codex CLI, Cursor, Gemini CLI, VS Code and Windsurf.
What the remote server can do for marketing
HubSpot's documentation lists what the server can read and write. The parts a marketing team will use most:
| Area | Read | Create or change |
|---|---|---|
| Website content | Blog posts, landing pages and site pages, with views, submissions and conversion rates | Create, edit and publish landing pages, website pages and blog posts |
| Campaigns | Campaign analytics, assets and attribution to closed-won deals | Create and update campaigns and their asset associations |
| Marketing email | Drafts, previews, send statistics (sends, opens, clicks, bounces, unsubscribes) and email health | Create, update and clone drafts; manage A/B variants |
| Social | Connected accounts, scheduled and published posts, post performance | Create drafts, schedule, update or cancel posts (needs the social.publish scope) |
| Contacts and segments | Contacts, companies, deals and other CRM records, segments (lists), intent signals | Create and update records; create segments and add or remove records |
| AEO | Share of voice, tracked prompt performance and AI engine answers | Create tracked prompts and act on recommendations (Marketing Hub Professional or Enterprise only) |
In practice that means questions such as “which landing pages converted best last month”, “summarise opens and clicks for last week's sends”, or “build a static segment of contacts who attended this event” can be asked in plain language, and drafts of pages, emails and social posts can be started from the conversation.
How to connect the remote server
If your AI tool has a built-in HubSpot connector, add it from the tool's connector settings and sign in to HubSpot. For any other MCP client, HubSpot's setup has three parts:
- Create an MCP connector. In HubSpot, go to Development, then MCP Connectors, and click Create MCP connector. Give it a name and a redirect URL (the one your MCP client uses for OAuth). HubSpot generates a client ID and client secret on the connector's details page.
- Point your client at the server. Add a new MCP server in your client with the URL
https://mcp.hubspot.com, the transport set to Streamable HTTP where the client asks, and the connector's client ID and secret. - Authorise it. The client opens HubSpot's sign-in. Pick the HubSpot account, review the permissions and approve. The client handles the tokens from there.
To check the connection before handing it to the team, run the get_user_details tool. It returns your user, your account, and which objects and tools you can read and write. To test outside your main client, HubSpot suggests the open-source MCP Inspector, which handles PKCE for you; add http://localhost:6274/oauth/callback/debug as a redirect URL on the connector first.
For the client side of the setup, see our guides to connecting servers in Claude Desktop and MCP in Cursor, and debugging MCP connections if the sign-in fails.
Permissions and limits to know before you roll it out
- It acts as the person who connected it. Every action respects that user's HubSpot permissions, so connect from an account whose access matches what the agent should be able to do.
- Writes ask first. Record changes, segment changes, campaign changes and publishing all show a summary and wait for confirmation before they run.
- Scopes follow the tools. You don't pick scopes when creating the connector; they come from the server's tools and what the user grants. When HubSpot adds tools, existing installs may need to be reconnected to get the new scopes.
- Sensitive Data blocks conversations. If your account has Sensitive Data turned on, conversation data is not available through the MCP server, though the standard CRM APIs are unaffected.
- Search is not semantic. The server is built on HubSpot's CRM search API, which has no vector search. The SQL-style
query_crm_datatool doesn't support joins, subqueries or association traversal. - Some tools are client-specific. Managing website pages and blog posts, and the preview card for content, are only available in Claude, ChatGPT and Gemini.
- What you see depends on your plan. HubSpot says tool availability varies by subscription, user permissions and account set-up; the AEO tools need Marketing Hub Professional or Enterprise.
What it costs
HubSpot announced in April 2026 that the remote server is generally available to all HubSpot accounts, and it publishes no separate price for it. Which tools you get depends on your HubSpot subscription, so check your plan on HubSpot's pricing page and run get_user_details after connecting to see exactly what your account exposes. Your AI tool's own plan may also limit custom connectors; check that tool's pricing too.
Keeping what it writes on brand
Once an agent can draft landing pages, emails and social posts in HubSpot, the question becomes what it drafts them from. The HubSpot server gives the agent your data and your content tools, not your voice, terminology or visual rules. Teams that want those applied every time tend to serve them as their own MCP resource alongside HubSpot; we cover how in making brand guidelines a first-class MCP tool and brand voice as a persistent MCP resource.
Frequently asked questions
Does HubSpot have an official MCP server?
Yes, two. The remote HubSpot MCP server at https://mcp.hubspot.com connects AI tools to your account's data, and the local Developer MCP server, installed with the HubSpot CLI, helps build HubSpot apps and CMS assets.
Can I use the HubSpot MCP server in Claude or ChatGPT?
Yes. HubSpot offers built-in connectors for Claude, ChatGPT, Microsoft Copilot and Gemini, powered by the remote server. Other MCP clients can connect through an MCP connector you create in HubSpot, as long as they support OAuth with PKCE.
Can the HubSpot MCP server delete records?
HubSpot's documented tools create and update records, segments, campaigns and content; none is documented as deleting CRM records. Check the current tool list in HubSpot's docs, as it changes.
Is the HubSpot MCP server free?
HubSpot says it is available to all HubSpot accounts and lists no separate price, but which tools you can use depends on your subscription. Check HubSpot's pricing page for plan costs.


