HubSpot logo

HubSpot

Connects AI clients to HubSpot’s public API through safety-aware tools over stdio or Streamable HTTP.

Install HubSpot

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hubspot-2": {
      "command": "npx",
      "args": [
        "-y",
        "hubspot-mcp"
      ],
      "env": {
        "HUBSPOT_READ_ONLY": "YOUR_VALUE_HERE",
        "HUBSPOT_INCLUDE_GROUPS": "YOUR_VALUE_HERE",
        "HUBSPOT_TOOL_MODE": "YOUR_VALUE_HERE",
        "HUBSPOT_MAX_RESPONSE_CHARS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y hubspot-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The HubSpot MCP server exposes HubSpot’s public API as safety-categorized, hub- and plan-aware MCP tools. It covers CRM, CMS, Marketing, Automation, Conversations, Commerce, Files, Settings, Webhooks, GraphQL, and raw API requests, with 1,076 endpoints represented by 687 tools. Run it locally over stdio or host it with Streamable HTTP, using read-only mode or group filtering when you need tighter access. Reach for it when an agent needs broad HubSpot coverage, capability checks, file uploads, or controlled writes rather than a small CRM-only interface.

Use cases

  • Query HubSpot CRM records across standard and custom objects
  • Check portal capabilities before calling gated HubSpot APIs
  • Create or update HubSpot records through controlled write tools
  • Upload files and run CRM imports from an MCP client
  • Restrict an agent to read-only tools or selected API groups

Key features

  • 1,076 HubSpot API endpoints represented by 687 tools
  • Safety, scope, hub, and plan metadata
  • Stdio and Streamable HTTP transports
  • Read-only mode and group filtering
  • Retries, rate limiting, and response-size controls
  • GraphQL, raw requests, and multipart uploads

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 55d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · hubspot-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads86Package downloads in the last 30 days.
Last commit16d agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How HubSpot works

What HubSpot MCP server does

The HubSpot MCP server connects MCP clients to HubSpot’s public API, covering CRM, CMS, Marketing, Automation, Conversations, Commerce, Files, Settings, Webhooks, and related API areas. Its generated tool set represents 1,076 endpoints across 102 APIs, while consolidating repeated endpoint patterns into selector-based tools. For example, one CRM search tool can work with contacts, deals, tickets, or custom objects through an object-type argument.

Tool metadata identifies whether an operation is read-only, modifies data, or is destructive. It also records the HubSpot hub and subscription tier associated with an API, along with relevant scopes. The server checks token access at startup and provides a capability report for the connected portal.

How it works

The HubSpot MCP server can run as a local stdio process or as a Streamable HTTP service. In its default discovery mode, the client sees a small set of discovery and invocation tools instead of the complete endpoint catalog. These tools can search, inspect, and call the generated API operations. An all-tools mode exposes endpoint tools directly.

Requests use a token held by the server environment rather than passing that token to the model. Retries handle transient rate-limit and server errors with backoff, while client-side limiters account for HubSpot’s general burst limit and the lower search rate. Responses can optionally be capped to reduce oversized model context.

A GraphQL passthrough supports query-only CRM requests, and a raw request tool provides access to newly released or beta endpoints. Multipart operations support inline or base64 file content for supported upload APIs.

Setup and configuration

The HubSpot MCP server supports local MCP launchers through stdio and hosted deployments through Streamable HTTP. Docker and Docker Compose files are included, along with a health check and automatic restart behavior. HTTP deployments can optionally require a bearer token.

Configuration can restrict the exposed surface. Set HUBSPOT_READ_ONLY=true to publish only read-only operations, use HUBSPOT_INCLUDE_GROUPS to limit groups such as contacts, deals, or CMS areas, and set HUBSPOT_TOOL_MODE=all to expose generated endpoint tools directly instead of relying on discovery. HUBSPOT_MAX_RESPONSE_CHARS can limit large responses. The HubSpot access token remains in the server environment.

Tools and capabilities

The HubSpot MCP server includes tools for:

  • CRM objects, properties, associations, pipelines, lists, imports, and exports
  • CMS pages, blog resources, HubDB, source code, and files
  • Marketing emails, events, campaigns, forms, and transactional email
  • Workflows, actions, conversations, custom channels, commerce, settings, and webhooks
  • Capability reporting, GraphQL queries, discovery, inspection, and raw API requests
  • Read-only, write, destructive, reversible-link, bulk-import, and message-sending operations with corresponding MCP annotations

Generated descriptions explain a tool’s purpose, related alternatives, required scopes, plan requirements, and the endpoint it calls. Error responses can include missing-scope, subscription-tier, authentication, or rate-limit guidance.

Limitations and notes

Availability still depends on the connected HubSpot portal’s token scopes, enabled hubs, subscription tier, and any beta or gated API requirements. The startup capability check reports access, but it does not grant permissions or unlock features. Write and destructive operations should be restricted or confirmed when the client supports MCP safety annotations.

The HubSpot MCP server generates its endpoint catalog from HubSpot’s public OpenAPI definitions. Updating those specifications and rebuilding is the documented path for incorporating later API changes. HTTP deployments should use bearer-token protection when exposed beyond localhost.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about HubSpot

HubSpot is an MCP server that connects AI clients to the public HubSpot API through tools for CRM, CMS, Marketing, Automation, Commerce, Files, Settings, Webhooks, GraphQL, and raw requests. It provides read, write, and destructive operations with safety labels, scope hints, plan metadata, and stdio or Streamable HTTP transport.

Run it as a stdio process for a local MCP client or deploy it with Docker and Docker Compose for Streamable HTTP. The repository includes container configuration, a health check, and automatic restart behavior. Store the HubSpot access token in the server environment rather than exposing it to the model.

Yes, HubSpot works with Cursor through its MCP support. The server also supports Claude and other MCP clients, using stdio for local launchers or Streamable HTTP for a hosted deployment.

Yes, set HUBSPOT_READ_ONLY=true to expose only the server’s read-only tools. You can also narrow the available groups with HUBSPOT_INCLUDE_GROUPS, while safety annotations identify read-only, write, and destructive operations.

It reports token scopes and portal capabilities at startup, and its error hints can identify missing scopes, required plan tiers, authentication problems, or rate limits. The capability tool explains statuses and the scopes needed for unavailable operations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHubSpot AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hubspot-2?style=directory)](https://allmcps.com/mcp/hubspot-2)
HTML Embed
<a href="https://allmcps.com/mcp/hubspot-2"><img src="https://allmcps.com/api/badge/hubspot-2?style=directory" alt="HubSpot on AllMCPs" /></a>