HubSpot Integration
Manage HubSpot contacts, deals, and tickets
The HubSpot integration provides access to manage HubSpot contacts, deals, and tickets through the Integrate MCP server.
Installation
The HubSpot integration is included with the SDK:
import { hubspotIntegration } from "integrate-sdk/server";Setup
1. Create a HubSpot OAuth App
- Go to HubSpot Developer Apps
- Create a new OAuth application
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the HubSpot integration to your server configuration. The integration automatically reads HUBSPOT_CLIENT_ID and HUBSPOT_CLIENT_SECRET from your environment variables:
import { createMCPServer, hubspotIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
hubspotIntegration({
}),
],
});You can override the environment variables by passing explicit values:
hubspotIntegration({
clientId: process.env.CUSTOM_HUBSPOT_ID,
clientSecret: process.env.CUSTOM_HUBSPOT_SECRET,
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("hubspot");
const result = await client.hubspot.listContacts({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, hubspotIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [hubspotIntegration()],
});Configuration Options
Prop
Type
Tools
hubspot_list_contacts
List contacts
Prop
Type
hubspot_get_contact
Get contact
Prop
Type
hubspot_create_contact
Create contact
Prop
Type
hubspot_update_contact
Update contact
Prop
Type
hubspot_delete_contact
Delete contact
Prop
Type
hubspot_list_companies
List companies
Prop
Type
hubspot_get_company
Get company
Prop
Type
hubspot_create_company
Create company
Prop
Type
hubspot_update_company
Update company
Prop
Type
hubspot_delete_company
Delete company
Prop
Type
hubspot_list_deals
List deals
Prop
Type
hubspot_get_deal
Get deal
Prop
Type
hubspot_create_deal
Create deal
Prop
Type
hubspot_update_deal
Update deal
Prop
Type
hubspot_delete_deal
Delete deal
Prop
Type
hubspot_list_tickets
List tickets
Prop
Type
hubspot_get_ticket
Get ticket
Prop
Type
hubspot_create_ticket
Create ticket
Prop
Type
hubspot_update_ticket
Update ticket
Prop
Type
hubspot_delete_ticket
Delete ticket
Prop
Type
hubspot_search_crm
Search crm
Prop
Type
hubspot_create_note
Create note
Prop
Type
hubspot_create_task
Create task
Prop
Type
hubspot_list_owners
List owners
Prop
Type
hubspot_get_owner
Get owner
Prop
Type
hubspot_list_pipelines
List pipelines
Prop
Type
hubspot_list_pipeline_stages
List pipeline stages
Prop
Type
hubspot_create_association
Create association
Prop
Type
Notes
- Category: Business
- Authentication mode: OAuth