HubSpot Marketing MCP Server
officialHubSpot Marketing Hub MCP server with 110+ purpose-built tools for campaigns, marketing email, forms, lists, marketing events, workflows and folders, with policy enforcement on every call.
What can you do with HubSpot Marketing MCP?
- Campaign setup — Create campaigns with audience, dates and UTM parameters, then clone them with draft assets and tracking URLs.
- Email variations — Build marketing emails, create A/B test variations, and manage drafts, publications and revision history.
- Forms and lists — Create forms with field groups and consent settings, build audience lists, and search list membership.
- Events and attendance — Register marketing events, record attendance by event ID or email, and log cancellations.
- Workflows and records — Create workflows and folders, add or merge contacts and companies, and search campaigns and CRM records.
- Preflight checks — Trial any tool in the Sandbox with
estimate_onlyset to true to get a credit-cost estimate before publishing or cloning.
Documentation
About
The DataGrout HubSpot Marketing MCP Server is a native Model Context Protocol server that exposes the HubSpot Marketing Hub as callable tools for AI agents. Agents can create and clone campaigns with their budgets, spend items and asset associations, build marketing emails with A/B variations, drafts, publications and revision history, create forms and audience lists, register marketing events and attendance, create workflows and folders, and search the contacts and companies those campaigns work from. Everything runs through one governed endpoint that enforces side-effect policy and can run Warden preflight before a call executes. No code. One Hub endpoint for every agent.
Provider: DataGrout
Type: Remote MCP server
Server URL: https://gateway.datagrout.ai/connect
Pricing
Free to start, with monthly credits included. Paid plans available for more usage. See the pricing page for current details.
Features
- 110+ purpose-built HubSpot Marketing tools
- Tools across campaigns, email and audience data
- Bearer access token, with optional mutual TLS
- Sandbox to trial calls before they touch live marketing assets
- Read and write allowed, scoped by your policy
- Optional Warden preflight can flag or block risky actions before they run
Prerequisites
- A DataGrout account: https://app.datagrout.ai/
- A HubSpot access token for your Marketing Hub
Authentication
- Access Token (Bearer): the integration authenticates with a HubSpot access token sent as a Bearer header, entered in the Credentials section of the integration.
- mTLS (mutual TLS): enable mTLS in combination with the access token, or on its own when no authentication method is selected, for clients that require certificate-based transport.
- Sandbox: a Sandbox section sits beside Credentials. It runs any marketing tool by name with its query variables and custom parameters, and returns a credit-cost estimate instead of executing the call when
estimate_onlyis true. This is useful before an agent publishes or clones anything.
Featured tools
- Campaigns: create a campaign with audience, status, dates and UTM parameters; clone a campaign, including its draft assets and tracking URLs; create a budget item or spend item against a campaign GUID; associate a campaign with an asset by asset type and asset ID.
- Marketing email: create a marketing email with content, sender and recipient settings; create an A/B test variation from an existing content ID; create a draft from a revision, or reset the current draft; create a publication, restore a revision or clone the email.
- Forms and audience lists: create a form with field groups, display options and legal consent; create a list with processing type and configuration; run a search request over lists and their membership; search contacts and companies by criteria.
- Marketing events: create a marketing event with dates, organizer and external event ID; create attendance by external event ID and subscriber state; create attendance by email address for a known event; record a cancellation for an existing marketing event.
- Workflows and automation: create a workflow with name, type, object type and enrollment settings; reference action details and other workflow properties in one call; return the workflow identifiers the next step needs.
- Content organisation and CRM records: create a folder by name for asset organisation; create contacts and companies singly or in batches; merge duplicate contacts or companies; create search requests over campaigns, contacts and companies.
What agents get back
- Campaign GUIDs, asset types and asset IDs
- Email IDs, content IDs and revision IDs
- Form, list, folder and workflow identifiers
- Event IDs, attendance records and receipts per call
Governance
- Side-effects controls: read and write are available. Side effects are governed by your policy, set per integration and inherited from the Hub Server above it.
- PII and destructive access: PII redaction and destructive operations are separate policy switches.
- Policy and interaction controls: Policy Controls carry a Warden mode dropdown (Off, Log only, Advisory, Enforce) and a minimum verdict dropdown. The integration also has its own Interaction section, and overriding the parent policy or parent interaction settings is disabled by default.
- Warden preflight: campaign and form content is written by the whole marketing team. Warden can screen calls before they execute, in Off, Log only, Advisory or Enforce mode.
- Policy inheritance: integration policy inherits from the Hub Server and can only get stricter, including Warden posture. A child integration never weakens the server it sits under.
- Observability: every execution produces a receipt and a credit estimate, with an execution summary in the response metadata. Verified multi-step workflows also carry a Cognitive Trust Certificate.
Example workflows
- Campaign launch prep: create the campaign with its dates, audience and UTM parameters, attach the assets it will use, and record the budget so spend has somewhere to land.
- Email experimentation: clone the control email, create an A/B variation, and keep every draft and publication on record so the revision history stays readable.
- Event follow-up: register the marketing event, reconcile attendance against the subscriber state that came in, and note the cancellations that need a human.
- Audience reviews: search the lists and the contacts inside them, compare that with the campaigns targeting them, and report where the segmentation has drifted.
Setup
- In DataGrout, open the Hub Server that will host your integrations and click Add Integration.
- Search for HubSpot Marketing and select the native MCP Server integration.
- Paste the HubSpot access token in Credentials and optionally enable mTLS. Use the Sandbox section to trial calls before they touch live marketing assets.
- Select the campaign, email and list tools your agent needs, then set side-effects and Warden policies.
- Find your server's MCP endpoint URL under Settings > Server Info, then add the server to your MCP client:
- Apps with a settings screen for connectors or MCP servers: enter the endpoint URL there.
- Developer tools configured with a JSON file: add this, using an access token from Settings > Authentication > Create Access Token. Copy it when it is created, because it is shown only once.
{
"mcpServers": {
"DataGrout": {
"url": "https://gateway.datagrout.ai/servers/YOUR_UUID/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}