Skip to main content

Set up the HubSpot MCP server

HubSpot's remote MCP server connects AI agents to your CRM with read and write access. This guide covers creating a HubSpot MCP auth app and installing the recommended HubSpot connector in MintMCP with the OAuth credentials it generates.

Prerequisites

  • A MintMCP admin account
  • A HubSpot account with access to the Development section — see Create an MCP auth app in HubSpot
  • HubSpot's remote MCP server uses OAuth 2.1 with PKCE; MintMCP supports it natively

Create an MCP auth app in HubSpot

The MCP auth app is the HubSpot-side OAuth client that MintMCP uses to broker each user's sign-in. HubSpot issues a Client ID and Client Secret once you create it.

  1. In your HubSpot account, go to MoreDevelopment.

    HubSpot left navigation with the More menu expanded and Development selected
  2. Open MCP Auth Apps, then click Create MCP auth app in the upper right.

    HubSpot MCP Auth Apps page with the Create MCP auth app button in the upper right
  3. Enter an App name (for example, MintMCP). Description and Icon are optional.

  4. Set Redirect URL to:

    https://app.mintmcp.com/oauth/callback

    This must match the Redirect URL in the connector's OAuth settings exactly, or sign-in fails with redirect_uri_mismatch.

    Create MCP Auth App form showing Name, Description, Redirect URL, and Icon fields
  5. Click Create. HubSpot opens the app details page.

  6. Copy the Client ID and Client Secret — you'll need both in the next section. Treat the secret like a password.

    MCP auth app details page showing the App ID, Client ID, and Client secret under Client credentials

Tool capabilities reference

HubSpot determines available scopes automatically from the tools the MCP server exposes and the connected user's HubSpot permissions, so there's no explicit scope configuration on the MintMCP side. The connector surfaces both read and write tools — what each user can actually do is bounded by their HubSpot role.

CapabilityWhat it coversNotes
ReadContacts, companies, deals, tickets, users, line items, products, quotes, invoices, orders, carts, subscriptions, segments, activity history (calls, emails, meetings, notes, tasks), and marketing/content (campaigns, landing pages, blog posts, site pages, marketing events)Available once OAuth is granted
WriteContacts, companies, deals, tickets, line items, products, and the activity types aboveBounded by each user's HubSpot role

Scopes don't grant access on their own — a user with the read or write surface still only sees and acts on records their HubSpot role already permits.

Add HubSpot to MintMCP

  1. In MintMCP, go to MCP storeManage store.

  2. Find the HubSpot connector on the Recommended servers section and click to install it.

  3. Open the connector's OAuth settings and enter:

    SettingValue
    Client IDClient ID from the HubSpot MCP auth app
    Client SecretClient Secret from the HubSpot MCP auth app
  4. Confirm the Redirect URL shown in the connector's OAuth settings matches the one you set on the HubSpot auth app (https://app.mintmcp.com/oauth/callback). They must be identical, or sign-in fails with redirect_uri_mismatch.

  5. Click Save.

The first time a user calls a tool, MintMCP directs them to sign in with HubSpot and consent. MintMCP stores and refreshes their token automatically on every subsequent call.

Security considerations

  • Each user authenticates individually through OAuth, so tool calls run under that user's HubSpot identity and are limited by their existing HubSpot permissions.
  • The Client Secret grants OAuth access to your HubSpot CRM data — keep it out of version control and restrict who can view it in MintMCP.
  • HubSpot accounts with sensitive-data features enabled block activity objects (calls, emails, meetings, notes, tasks) from MCP access.
  • Write tools are governed by each user's HubSpot role — users can't create or modify records they couldn't already touch in HubSpot directly.

Troubleshooting

  • OAuth callback fails with redirect_uri_mismatch — confirm the auth app's Redirect URL is exactly https://app.mintmcp.com/oauth/callback and matches the connector's OAuth settings.
  • Write tools return a permissions error — the connected user's HubSpot role lacks edit access on that object type, or the account has sensitive-data restrictions in place for activity objects.

Next steps