Skip to main content

The #1 agentic semantic tool search: 91.6% first-try accuracy on S1 Search Bench Explore Tool Discovery

Live 106 Actions

HubSpot MCP Server
for AI Agents

Connect your AI agent to StackOne's HubSpot MCP server and give it 106 MCP tools out of the box. Auth, tool execution, and security all managed.

HubSpot logo
HubSpot MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

106 Agent Actions

Create, read, update, and delete across HubSpot — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your HubSpot MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every HubSpot tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every HubSpot call.

Tools Discovery →

What is the HubSpot MCP Server?

A HubSpot MCP server lets AI agents read and write HubSpot data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's HubSpot MCP server ships with 106 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All HubSpot MCP Tools

Every action from HubSpot's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Associations

  • Create Association

    Create a default unlabeled association between two CRM records

  • List Associations

    Retrieve all associations for a specific CRM record with pagination

  • Batch Create Associations

    Create multiple labeled associations in a single request

  • Delete Association

    Remove all associations between two CRM records

Contacts

  • Create Contact

    Create a new contact in HubSpot CRM with specified properties

  • List Contacts

    Retrieve a paginated list of contacts from HubSpot CRM with filtering and property selection

  • Get Contact

    Retrieve a single contact by ID with optional property and association filtering

  • Search Contacts

    Search for contacts using filters, sorts, and queries in HubSpot CRM

  • Update Contact

    Update an existing contact's properties in HubSpot CRM

  • Batch Create Contacts

    Create multiple contacts in a single request (max 100)

  • Batch Update Contacts

    Update multiple contacts in a single request (max 100)

  • Delete Contact

    Delete a contact from HubSpot CRM by ID

Companies

  • List Companies

    Retrieve a paginated list of companies from HubSpot CRM with filtering and property selection

  • Search Companies

    Search for companies using filters, sorts, and queries in HubSpot CRM

  • Batch Create Companies

    Create multiple companies in a single request (max 100)

  • Batch Update Companies

    Update multiple companies in a single request (max 100)

Companys

  • Create Company

    Create a new company in HubSpot CRM with specified properties

  • Get Company

    Retrieve a single company by ID with optional property and association filtering

  • Update Company

    Update an existing company's properties in HubSpot CRM

  • Delete Company

    Delete a company from HubSpot CRM by ID

Deals

  • Create Deal

    Create a new deal in HubSpot CRM with specified properties

  • List Deals

    Retrieve a paginated list of deals from HubSpot CRM with filtering and property selection

  • Get Deal

    Retrieve a single deal by ID with optional property and association filtering

  • Search Deals

    Search for deals using filters, sorts, and queries in HubSpot CRM

  • Update Deal

    Update an existing deal's properties in HubSpot CRM

  • Batch Create Deals

    Create multiple deals in a single request (max 100)

  • Batch Update Deals

    Update multiple deals in a single request (max 100)

  • Delete Deal

    Delete a deal from HubSpot CRM by ID

Deal Pipelines

  • Create Deal Pipeline

    Create a new deal pipeline in HubSpot with its stages

  • List Deal Pipelines

    Retrieve all deal pipelines from HubSpot

  • Get Deal Pipeline

    Retrieve a specific deal pipeline by ID from HubSpot

  • Update Deal Pipeline

    Partially update a deal pipeline's top-level properties (label, displayOrder). Does not modify stages.

Deal Pipeline Stages

  • Create Deal Pipeline Stage

    Add a new stage to an existing deal pipeline

  • List Deal Pipeline Stages

    Retrieve all stages for a specific deal pipeline from HubSpot

  • Get Deal Pipeline Stage

    Retrieve a specific stage from a deal pipeline by ID

  • Update Deal Pipeline Stage

    Partially update a stage within a deal pipeline

Owners

  • List Owners

    Retrieve all current owners in the HubSpot account

  • Get Owner

    Retrieve detailed information about a specific owner by ID

CRM Objects

  • Create CRM Object

    Create a new CRM object of any type in HubSpot with optional associations

  • List CRM Objects

    Retrieve a paginated list of CRM objects of any type from HubSpot

  • Get CRM Object

    Retrieve a single CRM object of any type by ID from HubSpot

  • Update CRM Object

    Update properties of an existing CRM object in HubSpot

  • Delete CRM Object

    Delete a CRM object of any type from HubSpot by ID

Custom Object Schemas

  • Create Custom Object Schema

    Create a new custom object schema in HubSpot

  • List Custom Object Schemas

    Retrieve all custom object schemas defined in your HubSpot account

  • Get Custom Object Schema

    Retrieve a specific custom object schema by its object type or ID

  • Update Custom Object Schema

    Update an existing custom object schema

  • Delete Custom Object Schema

    Delete a custom object schema from HubSpot

Custom Object Associations

  • Create Custom Object Association

    Create a new association between a custom object and another object type

  • Delete Custom Object Association

    Remove an association definition from a custom object schema

Campaigns

  • Create Campaign

    Create a new marketing campaign in HubSpot with custom properties

  • List Campaigns

    Search and retrieve marketing campaigns with filtering, sorting, and pagination

  • Get Campaign

    Retrieve a specific marketing campaign by ID with optional metrics

  • Update Campaign

    Perform a partial update of a marketing campaign in HubSpot

  • Delete Campaign

    Delete a marketing campaign from HubSpot by campaign ID

Marketing Emails

  • Create Marketing Email

    Create a new marketing email in HubSpot with comprehensive configuration

  • Clone Marketing Email

    Create a copy of an existing marketing email

  • Publish Marketing Email

    Publish a marketing email to make it available for sending

  • List Marketing Emails

    Retrieve a paginated list of marketing emails from HubSpot with filtering options

  • Get Marketing Email

    Retrieve a single marketing email by ID with optional property filtering

  • Update Marketing Email

    Update an existing marketing email in HubSpot with comprehensive configuration

  • Delete Marketing Email

    Delete a marketing email from HubSpot by ID

Forms

  • List Forms

    Retrieve all forms from HubSpot account with pagination

  • Get Form

    Retrieve a specific form by ID from HubSpot

Tickets

  • Create Ticket

    Create a new ticket in HubSpot

  • List Tickets

    Retrieve a paginated list of all tickets from HubSpot

  • Get Ticket

    Retrieve a specific ticket by ID from HubSpot

  • Search Tickets

    Search for tickets using filters, sorts, and queries in HubSpot CRM

  • Update Ticket

    Update an existing ticket in HubSpot

  • Delete Ticket

    Move a ticket to the recycling bin

Ticket Pipelines

  • List Ticket Pipelines

    Retrieve all ticket pipelines from HubSpot

  • Get Ticket Pipeline

    Retrieve a specific ticket pipeline by ID from HubSpot

Ticket Pipeline Stages

  • List Ticket Pipeline Stages

    Retrieve all stages for a specific ticket pipeline from HubSpot

  • Get Ticket Pipeline Stage

    Retrieve a specific stage from a ticket pipeline by ID

Other (32)

  • Add Asset To Campaign

    Associate an asset with a marketing campaign

  • Get Account Details

    Retrieve account configuration details for the authenticated HubSpot account

  • Get Object Properties

    Retrieve all properties for a specific CRM object type to discover available fields

  • List Campaign Assets

    Retrieve assets associated with a marketing campaign by type with optional metrics

  • List Form Submissions

    Retrieve submissions for a specific form to track marketing funnel conversions

  • Batch Read Associations

    Retrieve associations for multiple CRM records in a single request with pagination

  • Remove Asset From Campaign

    Remove an asset's association with a marketing campaign

  • Contact Created

    Processes HubSpot contact.creation webhook events fired when a new contact is created in the CRM.

  • Contact Deleted

    Processes HubSpot contact.deletion webhook events fired when a contact is deleted from the CRM.

  • Contact Property Changed

    Processes HubSpot contact.propertyChange webhook events fired when a property on a contact is updated. Payload includes the propertyName and the new propertyValue.

  • Contact Association Changed

    Processes HubSpot contact.associationChange webhook events fired when an association between a contact and another CRM object is added or removed.

  • Contact Merged

    Processes HubSpot contact.merge webhook events fired when two contacts are merged. Payload includes the resulting `newObjectId`, the `primaryObjectId`, and the `mergedObjectIds` array.

  • Contact Restored

    Processes HubSpot contact.restore webhook events fired when a previously deleted contact is restored.

  • Contact Privacy Deleted

    Processes HubSpot contact.privacyDeletion webhook events fired when a contact is permanently deleted under GDPR or other privacy requests.

  • Company Created

    Processes HubSpot company.creation webhook events fired when a new company is created in the CRM.

  • Company Deleted

    Processes HubSpot company.deletion webhook events fired when a company is deleted from the CRM.

  • Company Property Changed

    Processes HubSpot company.propertyChange webhook events fired when a property on a company is updated. Payload includes the propertyName and the new propertyValue.

  • Company Association Changed

    Processes HubSpot company.associationChange webhook events fired when an association between a company and another CRM object is added or removed.

  • Company Merged

    Processes HubSpot company.merge webhook events fired when two companies are merged. Payload includes the resulting `newObjectId`, the `primaryObjectId`, and the `mergedObjectIds` array.

  • Company Restored

    Processes HubSpot company.restore webhook events fired when a previously deleted company is restored.

  • Deal Created

    Processes HubSpot deal.creation webhook events fired when a new deal is created in the CRM.

  • Deal Deleted

    Processes HubSpot deal.deletion webhook events fired when a deal is deleted from the CRM.

  • Deal Property Changed

    Processes HubSpot deal.propertyChange webhook events fired when a property on a deal is updated. Payload includes the propertyName and the new propertyValue.

  • Deal Association Changed

    Processes HubSpot deal.associationChange webhook events fired when an association between a deal and another CRM object is added or removed.

  • Deal Merged

    Processes HubSpot deal.merge webhook events fired when two deals are merged. Payload includes the resulting `newObjectId`, the `primaryObjectId`, and the `mergedObjectIds` array.

  • Deal Restored

    Processes HubSpot deal.restore webhook events fired when a previously deleted deal is restored.

  • Ticket Created

    Processes HubSpot ticket.creation webhook events fired when a new support ticket is created.

  • Ticket Deleted

    Processes HubSpot ticket.deletion webhook events fired when a support ticket is deleted.

  • Ticket Property Changed

    Processes HubSpot ticket.propertyChange webhook events fired when a property on a ticket is updated. Payload includes the propertyName and the new propertyValue.

  • Ticket Association Changed

    Processes HubSpot ticket.associationChange webhook events fired when an association between a ticket and another CRM object is added or removed.

  • Ticket Merged

    Processes HubSpot ticket.merge webhook events fired when two tickets are merged. Payload includes the resulting `newObjectId`, the `primaryObjectId`, and the `mergedObjectIds` array.

  • Ticket Restored

    Processes HubSpot ticket.restore webhook events fired when a previously deleted ticket is restored.

HubSpot AI Agent Use Cases

Connect your AI agent to HubSpot and help your team scale the sales operations they run by hand today.

Post-Demo Follow-Up

Use StackOne to connect your AI agent to your CRM, email, and calendar tools to automate post-demo follow-up.

View
SalesforceHubSpotPipedriveGongFirefliesGmailMicrosoft OutlookGoogle Calendar
Deal Risk Scoring

Use StackOne to connect your AI agent to your CRM, email, and calendar tools to automate deal risk scoring and pipeline alerts.

View
SalesforceHubSpotPipedriveZoho CRMCloseFreshsalesGmailOutlook
Lead Nurture Sequences

Use StackOne to connect your AI agent to your marketing automation, CRM, and email tools to automate lead nurture email sequences.

View
HubSpotSalesforceActiveCampaignKlaviyoSendGridMailchimpLemlistGmail

Set Up Your HubSpot MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to HubSpot in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

Check More CRM MCP Servers

Salesforce

380+ actions

Zoho CRM

127+ actions

Pipedrive

121+ actions

Freshsales

120+ actions

Pardot

88+ actions

Close

81+ actions

JustCall

76+ actions

HubSpot MCP Server FAQ

Does StackOne have a HubSpot MCP server?
Yes. StackOne offers a hosted HubSpot MCP server with 106 pre-built actions, and every action is tested and QA'd by StackOne. Connect it to Claude, Cursor, and any other MCP client, or to any agent framework through the AI Action SDK. It ships with managed agent authentication, prompt injection defense, and tool discovery with server-side execution that preserve your agent's context window and keep reasoning performance.
HubSpot MCP server vs direct API integration — what's the difference?
A HubSpot MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling HubSpot. A HubSpot MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling HubSpot at runtime. StackOne provides both.
How does HubSpot authentication work for AI agents?
HubSpot authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own HubSpot account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are HubSpot MCP tools vulnerable to prompt injection?
Yes — HubSpot MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a HubSpot agent and how do I avoid it?
Context bloat happens when HubSpot tool schemas and API responses eat your HubSpot agent's memory, preventing it from reasoning effectively. A single HubSpot query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my HubSpot agent can access?
Yes — you can limit which actions your HubSpot agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my HubSpot MCP server?
Yes — you can create custom agent actions for your HubSpot MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research HubSpot's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a HubSpot MCP server?
Skip a HubSpot MCP server if your integration is purely software-to-software — direct HubSpot API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call HubSpot actions at runtime.
What AI frameworks and AI clients does the StackOne HubSpot MCP server support?
The StackOne HubSpot MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.