What is the HubSpot MCP server?
HubSpot CRM: contacts, deals, tickets, line items, properties, marketing, files, workflows, threads
How to install HubSpot
Copy-paste configuration for popular MCP clients.
HUBSPOT_CONFIG_DIRrequiredDirectory containing accounts.json and credentials/*.token.json
HUBSPOT_ACCOUNT_EMAILrequiredAccount selector — one MCP process per HubSpot account
MCP_WORKSPACE_PATHWorkspace root for local file tools (required only when invoking upload/attach tools)
HUBSPOT_CLIENT_IDrequiredHubSpot OAuth client ID
HUBSPOT_CLIENT_SECRETrequiredsecretHubSpot OAuth client secret
HUBSPOT_SOURCE_LABELSource attribution label applied to new records
HUBSPOT_DISABLE_REFRESHSet to 1 to disable token refresh on this surface (use on cloud so desktop remains the sole refresh authority)
HUBSPOT_ALLOW_CLOUD_REFRESHSet to 1 to allow refresh on the cloud surface even when HUBSPOT_DISABLE_REFRESH=1 (escape hatch)
HUBSPOT_REQUEST_TIMEOUT_MSOutbound HTTP request timeout in milliseconds (max 300000 = 5 min)
HUBSPOT_SCOPE_TIEROAuth scope tier — 'readonly' or 'full'. Overrides the per-account stored tier
HUBSPOT_REFRESH_LOCK_STALE_MSStale-lock detection threshold for the credential refresh mutex (advanced)
{
"mcpServers": {
"mcp-server-hubspot": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<YOUR_HUBSPOT_CONFIG_DIR>",
"HUBSPOT_ACCOUNT_EMAIL": "<YOUR_HUBSPOT_ACCOUNT_EMAIL>",
"MCP_WORKSPACE_PATH": "<YOUR_MCP_WORKSPACE_PATH>",
"HUBSPOT_CLIENT_ID": "<YOUR_HUBSPOT_CLIENT_ID>",
"HUBSPOT_CLIENT_SECRET": "<YOUR_HUBSPOT_CLIENT_SECRET>",
"HUBSPOT_SOURCE_LABEL": "<YOUR_HUBSPOT_SOURCE_LABEL>",
"HUBSPOT_DISABLE_REFRESH": "<YOUR_HUBSPOT_DISABLE_REFRESH>",
"HUBSPOT_ALLOW_CLOUD_REFRESH": "<YOUR_HUBSPOT_ALLOW_CLOUD_REFRESH>",
"HUBSPOT_REQUEST_TIMEOUT_MS": "<YOUR_HUBSPOT_REQUEST_TIMEOUT_MS>",
"HUBSPOT_SCOPE_TIER": "<YOUR_HUBSPOT_SCOPE_TIER>",
"HUBSPOT_REFRESH_LOCK_STALE_MS": "<YOUR_HUBSPOT_REFRESH_LOCK_STALE_MS>"
}
}
}
}{
"mcpServers": {
"mcp-server-hubspot": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<YOUR_HUBSPOT_CONFIG_DIR>",
"HUBSPOT_ACCOUNT_EMAIL": "<YOUR_HUBSPOT_ACCOUNT_EMAIL>",
"MCP_WORKSPACE_PATH": "<YOUR_MCP_WORKSPACE_PATH>",
"HUBSPOT_CLIENT_ID": "<YOUR_HUBSPOT_CLIENT_ID>",
"HUBSPOT_CLIENT_SECRET": "<YOUR_HUBSPOT_CLIENT_SECRET>",
"HUBSPOT_SOURCE_LABEL": "<YOUR_HUBSPOT_SOURCE_LABEL>",
"HUBSPOT_DISABLE_REFRESH": "<YOUR_HUBSPOT_DISABLE_REFRESH>",
"HUBSPOT_ALLOW_CLOUD_REFRESH": "<YOUR_HUBSPOT_ALLOW_CLOUD_REFRESH>",
"HUBSPOT_REQUEST_TIMEOUT_MS": "<YOUR_HUBSPOT_REQUEST_TIMEOUT_MS>",
"HUBSPOT_SCOPE_TIER": "<YOUR_HUBSPOT_SCOPE_TIER>",
"HUBSPOT_REFRESH_LOCK_STALE_MS": "<YOUR_HUBSPOT_REFRESH_LOCK_STALE_MS>"
}
}
}
}{
"mcpServers": {
"mcp-server-hubspot": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<YOUR_HUBSPOT_CONFIG_DIR>",
"HUBSPOT_ACCOUNT_EMAIL": "<YOUR_HUBSPOT_ACCOUNT_EMAIL>",
"MCP_WORKSPACE_PATH": "<YOUR_MCP_WORKSPACE_PATH>",
"HUBSPOT_CLIENT_ID": "<YOUR_HUBSPOT_CLIENT_ID>",
"HUBSPOT_CLIENT_SECRET": "<YOUR_HUBSPOT_CLIENT_SECRET>",
"HUBSPOT_SOURCE_LABEL": "<YOUR_HUBSPOT_SOURCE_LABEL>",
"HUBSPOT_DISABLE_REFRESH": "<YOUR_HUBSPOT_DISABLE_REFRESH>",
"HUBSPOT_ALLOW_CLOUD_REFRESH": "<YOUR_HUBSPOT_ALLOW_CLOUD_REFRESH>",
"HUBSPOT_REQUEST_TIMEOUT_MS": "<YOUR_HUBSPOT_REQUEST_TIMEOUT_MS>",
"HUBSPOT_SCOPE_TIER": "<YOUR_HUBSPOT_SCOPE_TIER>",
"HUBSPOT_REFRESH_LOCK_STALE_MS": "<YOUR_HUBSPOT_REFRESH_LOCK_STALE_MS>"
}
}
}
}{
"servers": {
"mcp-server-hubspot": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<YOUR_HUBSPOT_CONFIG_DIR>",
"HUBSPOT_ACCOUNT_EMAIL": "<YOUR_HUBSPOT_ACCOUNT_EMAIL>",
"MCP_WORKSPACE_PATH": "<YOUR_MCP_WORKSPACE_PATH>",
"HUBSPOT_CLIENT_ID": "<YOUR_HUBSPOT_CLIENT_ID>",
"HUBSPOT_CLIENT_SECRET": "<YOUR_HUBSPOT_CLIENT_SECRET>",
"HUBSPOT_SOURCE_LABEL": "<YOUR_HUBSPOT_SOURCE_LABEL>",
"HUBSPOT_DISABLE_REFRESH": "<YOUR_HUBSPOT_DISABLE_REFRESH>",
"HUBSPOT_ALLOW_CLOUD_REFRESH": "<YOUR_HUBSPOT_ALLOW_CLOUD_REFRESH>",
"HUBSPOT_REQUEST_TIMEOUT_MS": "<YOUR_HUBSPOT_REQUEST_TIMEOUT_MS>",
"HUBSPOT_SCOPE_TIER": "<YOUR_HUBSPOT_SCOPE_TIER>",
"HUBSPOT_REFRESH_LOCK_STALE_MS": "<YOUR_HUBSPOT_REFRESH_LOCK_STALE_MS>"
}
}
}
}claude mcp add mcp-server-hubspot --env HUBSPOT_CONFIG_DIR=<YOUR_HUBSPOT_CONFIG_DIR> --env HUBSPOT_ACCOUNT_EMAIL=<YOUR_HUBSPOT_ACCOUNT_EMAIL> --env MCP_WORKSPACE_PATH=<YOUR_MCP_WORKSPACE_PATH> --env HUBSPOT_CLIENT_ID=<YOUR_HUBSPOT_CLIENT_ID> --env HUBSPOT_CLIENT_SECRET=<YOUR_HUBSPOT_CLIENT_SECRET> --env HUBSPOT_SOURCE_LABEL=<YOUR_HUBSPOT_SOURCE_LABEL> --env HUBSPOT_DISABLE_REFRESH=<YOUR_HUBSPOT_DISABLE_REFRESH> --env HUBSPOT_ALLOW_CLOUD_REFRESH=<YOUR_HUBSPOT_ALLOW_CLOUD_REFRESH> --env HUBSPOT_REQUEST_TIMEOUT_MS=<YOUR_HUBSPOT_REQUEST_TIMEOUT_MS> --env HUBSPOT_SCOPE_TIER=<YOUR_HUBSPOT_SCOPE_TIER> --env HUBSPOT_REFRESH_LOCK_STALE_MS=<YOUR_HUBSPOT_REFRESH_LOCK_STALE_MS> -- npx -y @mindstone/mcp-server-hubspotRelated MCP servers
Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs
View repository →Mindstone-internal release-pipeline test connector; not for use. Single ping tool; no auth.
View repository →ElevenLabs MCP server: TTS, music, sound effects, voices, and audio transcription
View repository →Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers
View repository →