MCP Gateway · ChatGPT
Connect HubSpot to ChatGPT
Marketing teams want to know which campaigns are working without exporting dashboards. With HubSpot available in ChatGPT through Speakeasy's plugin marketplace, a marketer can ask for campaign metrics and revenue attribution in a chat. A workspace admin decides which roles get the plugin, and the gateway controls which HubSpot tools each person can call.
- Category
- Sales & CRM
- Tools
- 13
- Authentication
- OAuth
- ChatGPT
- Web, desktop and mobile
Behind the MCP Gateway
Run HubSpot MCP behind the MCP Gateway
One URL for every agent, sign-in through your IdP, RBAC down to the tool, and every HubSpot call inspected and logged.
Before you start
What HubSpot needs first
A HubSpot user with access to the Development workspace; an account admin for the first connection does the HubSpot side of the setup.
- The remote MCP server is available to all HubSpot accounts.
- You need a user who can open the Development workspace.
- The first connection should be made by an account admin.
In HubSpot
- Open Development > MCP Connectors.
- Create an MCP connector with the Speakeasy redirect URL.
- Copy the Client ID and Client secret.
Set up
Add HubSpot to ChatGPT in 4 steps
- 01
Add HubSpot from the catalog
An admin finds HubSpot in the MCP Catalog (MCP Gateway > MCP > Catalog) and clicks Add. Speakeasy registers the vendor's server as a remote MCP server and proxies sessions to it. Nothing is copied or re-hosted.
HubSpot uses OAuth. Servers that support dynamic client registration get their OAuth configuration applied automatically.
Where MCP-scoped policies are enabled, the install offers a recommended risk policy for the new server that detects secrets and PII and inspects tool requests and responses.
- 02
Choose who can use HubSpot
Give teams the
mcp:connectscope on the HubSpot server through team access or a role. ChatGPT connects to the HubSpot server's own URL, and the server's authorization decides who can connect and which tools they can call. - 03
Connect ChatGPT
Import the organization's plugin marketplace into the ChatGPT workspace and set who gets each plugin.
New MCP servers join the project's default plugin automatically. Each server's overview page shows which plugin it is published to, with Publish or Update to change it.
Give the importing workspace admin collaborator access to the marketplace repository, and connect their GitHub account in ChatGPT under Plugins > GitHub > Manage.
In ChatGPT, open Admin > Plugins > Add > Import marketplace.
Set each plugin's installation policy, Installed or Available, per role.
Enable the MCP servers the plugin connects to.
- 04
Sign in and use HubSpot from ChatGPT
The first time ChatGPT connects, it opens a browser so the person can sign in to Speakeasy through your identity provider.
HubSpot needs its own OAuth grant, so each person connects it once. Until they do, HubSpot calls fail while the rest of the gateway keeps working.
From then on, HubSpot's tools appear in ChatGPT, limited to what the person's access allows, and every call lands in the gateway's tool logs.
The marketplace syncs from GitHub once a day. Use Sync now to pick up a change straight away.
Use cases
What ChatGPT users do with HubSpot
Compare campaign results
Ask ChatGPT for metrics or revenue attribution on two or three campaigns and get a side-by-side table you can drop into the monthly marketing review.
Find the best performing email
ChatGPT finds a campaign's marketing emails, then pulls metrics for each one over a date range, so you can see which send drove the most engagement.
get_campaign_asset_typessearch_crm_objectsget_campaign_asset_metrics
Check the options in a field
Before filtering a list by lifecycle stage or lead source, see the exact values HubSpot allows, so the question you ask returns the right records.
Tools
13 tools
Each HubSpot tool can be allowed or denied per team and role at the MCP Gateway before ChatGPT sees it.
search_crm_objects
Searches and retrieves CRM records from HubSpot based on filters and criteria.
submit_feedback
Collects and submits feedback to HubSpot on dissatisfaction or user request.
get_campaign_contacts_by_type
Get paginated contact IDs for a campaign filtered by attribution type.
search_owners
Lists and searches for owners who can be assigned to CRM records.
get_campaign_analytics
Get campaign analytics (METRICS or REVENUE_ATTRIBUTION) for one or more campaigns. Each entry in the request list is a full analytics request. Each response contains the campaignObjectId of the requested campaign.
get_campaign_asset_types
List the asset type names available as campaign assets (e.g. LANDING_PAGE, BLOG_POST). Use the returned names as the assetType parameter in getCampaignAssetMetrics.
Control
What Speakeasy can see and stop in ChatGPT
The gateway covers every client the same way. The rest depends on what ChatGPT exposes to Speakeasy.
Tool logs
Gateway
Every HubSpot call is logged with the person and the client that made it.
Access by role
Gateway
People reach only the HubSpot tools their team or role allows.
Request and response blocking
Gateway
A risk policy scoped to HubSpot can reject a tool request before it reaches the server, or withhold a result from ChatGPT. MCP-scoped policies are enabled per organization.
Conversation import
ChatGPT
ChatGPT activity can be imported through OpenAI's Compliance API for review after the fact. It can't block in real time.
- The workspace import needs a ChatGPT Business, Enterprise or Edu admin.
Questions
Frequently asked questions
How long does it take for HubSpot plugin changes to reach ChatGPT?
Does the HubSpot server cover campaign revenue?
How do ChatGPT users get HubSpot?
Are HubSpot calls from ChatGPT logged?
Connect more