HubSpot
CommunityMCP server by mindstone · updated · ★ 13 · 106 downloads a week
HubSpot CRM: contacts, deals, tickets, line items, properties, marketing, files, workflows, threads HubSpot is a community project by mindstone, not verified by a company domain.
Last commit 7 days ago
No licence found, so reuse rights are unclear
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
HUBSPOT_Environment variable | Required | Directory containing accounts.json and credentials/*.token.json |
HUBSPOT_Environment variable | Required | Account selector — one MCP process per HubSpot account |
HUBSPOT_Environment variable | Required | HubSpot OAuth client ID |
HUBSPOT_Environment variable, secret | Required | HubSpot OAuth client secret |
MCP_Environment variable | Optional | Workspace root for local file tools (required only when invoking upload/attach tools) |
HUBSPOT_Environment variable | Optional | Source attribution label applied to new records Default: HubSpot MCP |
HUBSPOT_Environment variable | Optional | Set to 1 to disable token refresh on this surface (use on cloud so desktop remains the sole refresh authority) |
HUBSPOT_Environment variable | Optional | Set to 1 to allow refresh on the cloud surface even when HUBSPOT_DISABLE_REFRESH=1 (escape hatch) |
HUBSPOT_Environment variable | Optional | Outbound HTTP request timeout in milliseconds (max 300000 = 5 min) Default: 60000 |
HUBSPOT_Environment variable | Optional | Stale-lock detection threshold for the credential refresh mutex (advanced) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install HubSpot
Built from the published package, never by AIclaude mcp add 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 -- npx -y @mindstone/mcp-server-hubspotRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"hubspot": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add hubspot --env HUBSPOT_CONFIG_DIR=YOUR_HUBSPOT_CONFIG_DIR --env HUBSPOT_ACCOUNT_EMAIL=YOUR_HUBSPOT_ACCOUNT_EMAIL --env HUBSPOT_CLIENT_ID=YOUR_HUBSPOT_CLIENT_ID --env HUBSPOT_CLIENT_SECRET=YOUR_HUBSPOT_CLIENT_SECRET -- npx -y @mindstone/mcp-server-hubspot{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"env": {
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add hubspot npx -y @mindstone/mcp-server-hubspotGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the hubspot block.
Weekly newsletter
Like HubSpot? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Alternatives to HubSpot
All alternatives →Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
Open-source Obsidian for MDX - edit local docs with agent assistance
A private persistent computer: files and a bash shell that survive between runs.
MCP server for terminal commands, file operations, and process management
Filesystem-first framework for durable backend AI agents that run anywhere.
W3C Web Model Context Protocol (WebMCP) API polyfill. Let AI agents like Claude, ChatGPT, and Gemini interact with your website via document.modelContext.
HubSpot: common questions
How do I install HubSpot?
In Claude Code run claude mcp add 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 -- npx -y @mindstone/mcp-server-hubspot. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is HubSpot the official server?
HubSpot is a community project by mindstone, not verified by a company domain.
Is HubSpot free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is HubSpot safe to use?
It scores 68 of 100. Grades: maintenance A, licence F, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to HubSpot?
Similar MCP servers: mcp-server, Agent-Native Content, Computer, Desktop Commander.
Does HubSpot work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
