Skip to main content

HubSpot

io.github.mindstone/mcp-server-hubspot

v0.5.0Updated Nov 16, 2026stdio · npm

HubSpot CRM: contacts, deals, tickets, line items, properties, marketing, files, workflows, threads

Install

Needs 1 secret. Replace 4 placeholders with your own values.

Run in your terminal. Replace 4 placeholders.

claude mcp add mcp-server-hubspot -e 'HUBSPOT_CONFIG_DIR=<your-hubspot-config-dir>' -e 'HUBSPOT_ACCOUNT_EMAIL=<your-hubspot-account-email>' -e 'HUBSPOT_CLIENT_ID=<your-hubspot-client-id>' -e 'HUBSPOT_CLIENT_SECRET=<your-hubspot-client-secret>' -e 'HUBSPOT_SOURCE_LABEL=HubSpot MCP' -e HUBSPOT_REQUEST_TIMEOUT_MS=60000 -- npx -y @mindstone/[email protected]

Configuration

10 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • HUBSPOT_CLIENT_SECRET
    Env var· required· secret
    HubSpot OAuth client secret
  • HUBSPOT_CONFIG_DIR
    Env var· required
    Directory containing accounts.json and credentials/*.token.json
  • HUBSPOT_ACCOUNT_EMAIL
    Env var· required
    Account selector — one MCP process per HubSpot account
  • HUBSPOT_CLIENT_ID
    Env var· required
    HubSpot OAuth client ID
  • MCP_WORKSPACE_PATH
    Env var· optional
    Workspace root for local file tools (required only when invoking upload/attach tools)
  • HUBSPOT_SOURCE_LABEL
    Env var· optional
    Source attribution label applied to new recordsDefault: HubSpot MCP
Show 4 more
  • HUBSPOT_DISABLE_REFRESH
    Env var· optional
    Set to 1 to disable token refresh on this surface (use on cloud so desktop remains the sole refresh authority)
  • HUBSPOT_ALLOW_CLOUD_REFRESH
    Env var· optional
    Set to 1 to allow refresh on the cloud surface even when HUBSPOT_DISABLE_REFRESH=1 (escape hatch)
  • HUBSPOT_REQUEST_TIMEOUT_MS
    Env var· optional
    Outbound HTTP request timeout in milliseconds (max 300000 = 5 min)Default: 60000
  • HUBSPOT_REFRESH_LOCK_STALE_MS
    Env var· optional
    Stale-lock detection threshold for the credential refresh mutex (advanced)

Listed in the official MCP Registry since Nov 16, 2026. Mirrored daily; last checked Nov 26, 2026.