HubSpot
MCP server by mindstone Community
Manages HubSpot CRM records, including contacts, companies, deals, tickets and workflows, from an AI assistant. It supports multiple accounts with host-orchestrated OAuth.
Install HubSpot
Built from the published package, never by AI.
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-hubspotRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"hubspot": {
"env": {
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
},
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"hubspot": {
"env": {
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
},
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"hubspot": {
"env": {
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
},
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"command": "npx"
}
}
}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": {
"env": {
"HUBSPOT_CLIENT_ID": "YOUR_HUBSPOT_CLIENT_ID",
"HUBSPOT_CONFIG_DIR": "YOUR_HUBSPOT_CONFIG_DIR",
"HUBSPOT_ACCOUNT_EMAIL": "YOUR_HUBSPOT_ACCOUNT_EMAIL",
"HUBSPOT_CLIENT_SECRET": "YOUR_HUBSPOT_CLIENT_SECRET"
},
"args": [
"-y",
"@mindstone/mcp-server-hubspot"
],
"command": "npx"
}
}
}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.
About
The HubSpot connector is an MCP server from Mindstone for managing HubSpot CRM. According to its catalogue entry, it covers contacts, companies, deals, tickets, leads, tasks, notes, properties, lists, workflows, knowledge base and files. It is one of 35 source-available connectors in the mindstone/mcp-servers repository.
The connector uses multi-account, host-orchestrated OAuth to connect to HubSpot. The repository states that its servers work with any MCP host, including Claude Desktop, Cursor and Rebel. It is aimed at people who want an AI assistant to work with HubSpot CRM data across more than one account.
Written from the project's README and checked against it.
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.
Try asking
- Show me the open deals for a contact in HubSpot
- List the support tickets created this week in HubSpot
- Add a note to a HubSpot company record
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Track deals and contacts in HubSpot
- Manage support tickets in HubSpot
- Work with HubSpot workflows and lists
Alternatives to HubSpot
All alternatives →Connects Claude, ChatGPT or other MCP-capable agents to a self-hosted CRM for companies, people, opportunities, tasks and notes. Built for people who sell to a named list of companies without a sales team.
Gives an AI assistant 21 Mamba Labs account-intelligence tools for go-to-market research, from company identity and buying signals to ICP fit scoring. Each tool runs a Mamba Labs actor on Apify and returns Clay-ready flat JSON. Built for sales and GTM teams.
Connects AI assistants to a Brilliant Directories site through its REST API. Lets an assistant manage members, posts, leads, reviews, pages and more with one API key. Built for Brilliant Directories site owners and admins.
Lets AI agents read and update HubSpot CRM records over MCP, from a local copy of deals, contacts and companies. Built for sales teams that want pipeline answers and recent changes without opening HubSpot. Free and open source under Apache 2.0.
Conduyt CRM is an MCP server that lets Claude, ChatGPT and other MCP-compatible agents work with a Conduyt account. It covers contacts, deals, pipelines, tasks, automations, messaging and reports.
Connects AI assistants to a Linkbreakers workspace through a hosted MCP server. It is for creating QR codes and links and reading who scanned them and what leads they produced.
Compare with Relaticle, mcp-gtm-suite or brilliant-directories-mcp
HubSpot: common questions
Which HubSpot records can this MCP server manage?
The source lists contacts, companies, deals, tickets, leads, tasks, notes, properties, lists, workflows, knowledge base and files. It is described as managing HubSpot CRM across these areas.
How does the HubSpot connector authenticate?
The source describes it as using multi-account, host-orchestrated OAuth. It does not give further setup details in the repository overview.
Which AI hosts can use the HubSpot MCP server?
The repository says its MCP servers work with any MCP host. It names Claude Desktop, Cursor and Rebel as examples.
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. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to HubSpot?
Similar MCP servers: Relaticle, mcp-gtm-suite, brilliant-directories-mcp, WireCat hubspot.
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.
