
hubspot download
MCP Server for downloading HubSpot CRM objects
Repository Info
About This Server
MCP Server for downloading HubSpot CRM objects
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
HubSpot Download MCP Server
Overview
A Model Context Protocol (MCP) server implementation that provides download capabilities for HubSpot CRM. CRM Objects are downloaded to a workspace data directory as JSON files.
For more information about the Model Context Protocol and how it works, see Anthropic's MCP documentation.
Features
The server provides two main tools:
1. Download Schema
Downloads the schema for all HubSpot objects (contacts, companies, deals, and tickets) to data/hubspot/schema.json.
2. Download Objects
Downloads objects from HubSpot with their properties:
- Contacts
- Companies
- Deals
- Tickets
Each object type is saved to its own JSON file (e.g., data/hubspot/contacts.json).
Prerequisites
-
HubSpot access token - Create a private app in your HubSpot account:
- Go to Settings > Integrations > Private Apps
- Create a new app with these scopes:
- crm.objects.contacts.read
- crm.objects.companies.read
- crm.objects.deals.read
- crm.objects.tickets.read
- Copy the access token
-
Create a
.envfile in your workspace with:
HUBSPOT_ACCESS_TOKEN=your_token_here
Usage with IDEs
Register the MCP like this:
{
"mcpServers": {
"hubspot-crm-server": {
"command": "npx",
"args": [
"tsx",
"TODO"
]
}
}
}
What properties are downloaded?
The server downloads the following default properties for each object type:
Contacts
- createdate
- hs_lastmodifieddate
- hs_object_id
- lastmodifieddate
- firstname
- lastname
Companies
- createdate
- hs_lastmodifieddate
- hs_object_id
- name
Deals
- createdate
- hs_lastmodifieddate
- hs_object_id
- dealname
- amount
- pipeline
- dealstage
- closedate
Tickets
- createdate
- hs_lastmodifieddate
- hs_object_id
- name
In addition, the server downloads any custom properties you've defined in HubSpot.
License
This project is licensed under the MIT License.
Quick Start
Clone the repository
git clone https://github.com/ajthinking/hubspot-downloadInstall dependencies
cd hubspot-download
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.