Bring Email Campaigns
to Mastra AI
Create your Vinkius account to connect HubSpot Marketing Hub to Mastra AI and start using all 6 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the HubSpot Marketing Hub MCP Server?
Connect HubSpot CRM to any AI agent — instant access to your full CRM data without switching tabs.
What you can do
- Contacts — Search, create, and manage contacts
- Companies — Find companies by name or domain
- Deals — Search and create deals with pipeline tracking
- Tickets — Create and search support tickets
- Notes — Create notes attached to any CRM record
- Owners — View all owners and team assignments
- Pipelines — List deal and ticket pipeline stages
Who is this for?
- Sales Reps — Manage your CRM without leaving your AI assistant
- Support Teams — Create tickets and notes on-the-go
- RevOps — Pipeline snapshots and owner assignments
- Managers — Full CRM visibility through conversation
Built-in capabilities (6)
Returns each submission with the field values the visitor entered, submission date, and page URL. Use when the user wants to review lead capture data, check who submitted a form, or analyze form conversion data. You need the form ID — use hs_list_forms to find it. Get individual form submissions for a specific HubSpot form, showing submitted field values and dates
Returns campaign name, type, current state, and associated dates. Campaigns group related marketing assets (emails, landing pages, ads) under a single initiative for unified tracking. Use when the user asks about marketing initiatives, campaign performance, or wants to review active campaigns. List marketing campaigns in HubSpot with name, type, status, and campaign dates
Returns list name, type (STATIC for manual lists, DYNAMIC for smart lists with auto-updating criteria), and count of contacts in each list. Use when the user asks about audience segments, marketing lists, wants to know list sizes, or needs to understand audience targeting. List HubSpot contact lists (static and smart/dynamic) with name, type, and contact count
Returns form name, form type (regular/popup/embedded), number of fields, and submission count. Forms are the primary lead capture mechanism in HubSpot. Use when the user asks about lead generation forms, wants to audit form performance, or needs a form ID to check submissions. List HubSpot forms used for lead capture with name, type, field count, and submission volume
Returns page title, publish status (draft/published), URL slug, and full public URL. Landing pages are standalone pages designed for conversion (form fills, downloads). Use when the user asks about landing pages, lead capture pages, or wants to review publishing status. List HubSpot landing pages with title, publish status, URL slug, and full page URL
Returns email name, subject line, type (regular/automated/blog), current state (draft/published/sent), and publish/send date. Use when the user asks about email campaigns, wants to see recent sends, or needs to check which emails are active. List marketing emails in HubSpot with name, subject line, send status, type, and publish date
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and HubSpot Marketing Hub tool infrastructure. Connect 6 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add HubSpot Marketing Hub without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every HubSpot Marketing Hub tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
HubSpot Marketing Hub in Mastra AI
Why run HubSpot Marketing Hub with Vinkius?
The HubSpot Marketing Hub connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 6 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect HubSpot Marketing Hub using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
HubSpot Marketing Hub and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect HubSpot Marketing Hub to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
HubSpot Marketing Hub for Mastra AI
Every request between Mastra AI and HubSpot Marketing Hub is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
What HubSpot data can I access?
Contacts, Companies, Deals, Tickets, Notes, Owners, and Pipelines. All data respects your HubSpot permissions.
Can I create and update records?
Yes! Create contacts, deals, tickets, and notes. All through natural conversation.
How does authentication work?
Uses a HubSpot Private App token (Bearer). Create a Private App in Settings > Integrations > Private Apps, copy the token, and paste it.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Anyscale
7 toolsOrchestrate your Anyscale infrastructure — manage LLM queries, vectors, services, and cluster batch jobs directly from your AI agent.

N-Gram Frequency Engine
1 toolsExact deterministic unigram, bigram, and trigram counting over huge texts. Save tokens and guarantee 100% accurate phrase counts.

Peerbie
16 toolsOrchestrate your entire team's workspace, from Kanban boards to calendar events, completely driven by AI.

Credly
10 toolsEquip your AI agent to manage digital badges, monitor issuance, and track recipient skills via the Credly API.
