HubSpot MCP Server
by mindstoneio.github.mindstone/mcp-server-hubspotv0.4.1
HubSpot CRM: contacts, deals, tickets, line items, properties, marketing, files, workflows, threads
context tax
queued
security
queued
cold start
queued
freshness
Active11d ago
Install HubSpot MCP server
Install in Claude Code
claude mcp add hubspot-mindstone -e HUBSPOT_CONFIG_DIR='<hubspot-config-dir>' -e HUBSPOT_ACCOUNT_EMAIL='<hubspot-account-email>' -e HUBSPOT_CLIENT_ID='<hubspot-client-id>' -e HUBSPOT_CLIENT_SECRET='<hubspot-client-secret>' -- npx -y @mindstone/mcp-server-hubspotInstall in Cursor
{
"mcpServers": {
"hubspot-mindstone": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<hubspot-config-dir>",
"HUBSPOT_ACCOUNT_EMAIL": "<hubspot-account-email>",
"HUBSPOT_CLIENT_ID": "<hubspot-client-id>",
"HUBSPOT_CLIENT_SECRET": "<hubspot-client-secret>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"hubspot-mindstone": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<hubspot-config-dir>",
"HUBSPOT_ACCOUNT_EMAIL": "<hubspot-account-email>",
"HUBSPOT_CLIENT_ID": "<hubspot-client-id>",
"HUBSPOT_CLIENT_SECRET": "<hubspot-client-secret>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"hubspot-mindstone": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<hubspot-config-dir>",
"HUBSPOT_ACCOUNT_EMAIL": "<hubspot-account-email>",
"HUBSPOT_CLIENT_ID": "<hubspot-client-id>",
"HUBSPOT_CLIENT_SECRET": "<hubspot-client-secret>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"hubspot-mindstone": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "<hubspot-config-dir>",
"HUBSPOT_ACCOUNT_EMAIL": "<hubspot-account-email>",
"HUBSPOT_CLIENT_ID": "<hubspot-client-id>",
"HUBSPOT_CLIENT_SECRET": "<hubspot-client-secret>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HUBSPOT_CONFIG_DIR | yes | — | Directory containing accounts.json and credentials/*.token.json |
| HUBSPOT_ACCOUNT_EMAIL | yes | — | Account selector — one MCP process per HubSpot account |
| MCP_WORKSPACE_PATH | — | — | Workspace root for local file tools (required only when invoking upload/attach tools) |
| HUBSPOT_CLIENT_ID | yes | — | HubSpot OAuth client ID |
| HUBSPOT_CLIENT_SECRET | yes | yes | HubSpot OAuth client secret |
| HUBSPOT_SOURCE_LABEL | — | — | Source attribution label applied to new records |
| HUBSPOT_DISABLE_REFRESH | — | — | Set to 1 to disable token refresh on this surface (use on cloud so desktop remains the sole refresh authority) |
| HUBSPOT_ALLOW_CLOUD_REFRESH | — | — | Set to 1 to allow refresh on the cloud surface even when HUBSPOT_DISABLE_REFRESH=1 (escape hatch) |
| HUBSPOT_REQUEST_TIMEOUT_MS | — | — | Outbound HTTP request timeout in milliseconds (max 300000 = 5 min) |
| HUBSPOT_REFRESH_LOCK_STALE_MS | — | — | Stale-lock detection threshold for the credential refresh mutex (advanced) |
Freshness
Active — last maintenance signal 11d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-29 · 11d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-08 · 2mo ago · official registry · v0.4.1
FAQ
›How do I install the HubSpot MCP server in Claude Code?
Run: claude mcp add hubspot-mindstone -e HUBSPOT_CONFIG_DIR='<hubspot-config-dir>' -e HUBSPOT_ACCOUNT_EMAIL='<hubspot-account-email>' -e HUBSPOT_CLIENT_ID='<hubspot-client-id>' -e HUBSPOT_CLIENT_SECRET='<hubspot-client-secret>' -- npx -y @mindstone/mcp-server-hubspot. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does HubSpot require an API key?
Yes. It expects HUBSPOT_CONFIG_DIR, HUBSPOT_ACCOUNT_EMAIL, HUBSPOT_CLIENT_ID, HUBSPOT_CLIENT_SECRET, of which 1 is a secret.
›Can I use HubSpot as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is HubSpot in the official MCP registry?
Yes, as io.github.mindstone/mcp-server-hubspot.
Alternatives to HubSpot
Other project management MCP servers.