hubspot-mcp-server
Provides tools for managing HubSpot CRM objects including contacts, companies, deals, and associations, with create, read, update, delete, and search capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hubspot-mcp-serverlist my recent contacts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hubspot-mcp-server
A Model Context Protocol (MCP) server for the HubSpot CRM API — works both locally via Claude Desktop (stdio) and remotely via claude.ai (HTTP + bearer token).
Tools
Domain | Tools |
Contacts |
|
Companies |
|
Deals |
|
Search & Assoc. |
|
Related MCP server: HubSpot MCP Server
Setup
1. Create a HubSpot Private App
Go to HubSpot → Settings → Integrations → Private Apps
Click Create a private app, then under Scopes add:
crm.objects.contacts.read+writecrm.objects.companies.read+writecrm.objects.deals.read+write
Copy the generated Access Token
2. Install & Build
npm install
npm run buildOption A — Claude Desktop (local, stdio)
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hubspot": {
"command": "node",
"args": ["/absolute/path/to/hubspot-mcp-server/dist/index.js"],
"env": {
"HUBSPOT_ACCESS_TOKEN": "pat-your-token-here"
}
}
}
}Restart Claude Desktop — the tools will appear automatically.
Option B — claude.ai browser (remote, HTTP via Render)
Step 1 — Deploy to Render
Push this repo to GitHub
Go to render.com → New → Web Service
Connect your GitHub repo
Render detects
render.yamlautomatically. Set these Environment Variables in the dashboard:Key
Value
HUBSPOT_ACCESS_TOKENYour HubSpot private app token
MCP_API_KEYA strong random secret you generate (e.g.
openssl rand -hex 32)TRANSPORThttpDeploy. Your URL will be:
https://hubspot-mcp-server.onrender.com
Free tier note: Render's free tier spins down after 15 minutes of inactivity. The first request after spin-down takes ~30 seconds. Upgrade to Starter ($7/mo) to keep it always-on.
Step 2 — Connect in claude.ai
Go to claude.ai → Settings → Integrations
Click Add MCP Server
Fill in:
URL:
https://hubspot-mcp-server.onrender.com/mcpHeader name:
AuthorizationHeader value:
Bearer <your MCP_API_KEY>
Click Connect — the 15 HubSpot tools will appear in your next conversation
Environment Variables
Variable | Required | Description |
| ✅ | HubSpot private app token |
| ✅ (HTTP mode) | Bearer token that Claude.ai sends to authenticate |
| No |
|
| No | HTTP port, default |
Generate a secure MCP_API_KEY
openssl rand -hex 32Copy the output into Render's environment variables and into the claude.ai header value field.
Local HTTP testing
HUBSPOT_ACCESS_TOKEN=pat-xxx MCP_API_KEY=mysecret TRANSPORT=http node dist/index.js
# Test auth
curl -X POST http://localhost:3000/mcp \
-H "Authorization: Bearer mysecret" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# Health check (no auth)
curl http://localhost:3000/healthMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mantis-productions/hubspot-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server