guMCP server implementation for interacting with HubSpot CRM.
- Python 3.11+
- A HubSpot Developer Account (HubSpot Developer Portal)
- A HubSpot App with OAuth 2.0 configured
The following OAuth scopes are required for the server to function:
crm.objects.contacts.read- Read access to contactscrm.objects.contacts.write- Write access to contactscrm.objects.companies.read- Read access to companiescrm.objects.companies.write- Write access to companiescrm.objects.deals.read- Read access to dealscrm.objects.deals.write- Write access to deals
Local authentication uses a OAuth Configuration JSON file:
local_auth/oauth_configs/hubspot/oauth.jsonCreate the following file with the relevant attributes for your app:
{
"client_id": "xxxxxxxxxxxxxxxxxxxxx",
"client_secret": "xxxxxxxxxxxxxxxxxxxxx",
"redirect_uri": "xxxxxxxxxxxxxxxxxxxxx"
}To authenticate and save credentials:
python src/servers/hubspot/main.py auth