io.github.mindstone

mcp-server-hubspot

HubSpot

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

stdiocommunityservice

Package Details

Transportstdio
Runtimenpx

Environment Variables

HUBSPOT_CONFIG_DIR(file)
Required

Directory containing accounts.json and credentials/*.token.json

HUBSPOT_ACCOUNT_EMAIL(str)
Required

Account selector — one MCP process per HubSpot account

MCP_WORKSPACE_PATH(file)

Workspace root for local file tools (required only when invoking upload/attach tools)

HUBSPOT_CLIENT_ID(str)
Required

HubSpot OAuth client ID

HUBSPOT_CLIENT_SECRET(str)
RequiredSecret

HubSpot OAuth client secret

HUBSPOT_SOURCE_LABEL(str)
Default:HubSpot MCP

Source attribution label applied to new records

HUBSPOT_DISABLE_REFRESH(str)

Set to 1 to disable token refresh on this surface (use on cloud so desktop remains the sole refresh authority)

HUBSPOT_ALLOW_CLOUD_REFRESH(str)

Set to 1 to allow refresh on the cloud surface even when HUBSPOT_DISABLE_REFRESH=1 (escape hatch)

HUBSPOT_REQUEST_TIMEOUT_MS(num)
Default:60000

Outbound HTTP request timeout in milliseconds (max 300000 = 5 min)

HUBSPOT_SCOPE_TIER(str)

OAuth scope tier — 'readonly' or 'full'. Overrides the per-account stored tier

HUBSPOT_REFRESH_LOCK_STALE_MS(num)

Stale-lock detection threshold for the credential refresh mutex (advanced)