HubSpot Email MCP Server
Provides tools for managing HubSpot marketing emails, including listing emails, getting email details, creating email drafts, and updating emails through the HubSpot Marketing Email API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HubSpot Email MCP Serverlist my recent marketing emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HubSpot Email MCP Server
A Model Context Protocol (MCP) server for the HubSpot Marketing Email API. Manage HubSpot marketing emails from Claude Desktop.
Features
List marketing emails
Get email details
Create email drafts
Update emails
Note: This server does not include email sending functionality to prevent accidental sends.
Related MCP server: HubSpot MCP Server
Setup
1. Install Dependencies
npm install2. Get HubSpot Access Token
Log in to your HubSpot account
Go to Development > Legacy Apps (開発 > 旧アプリ)
Create a new app
Set the required scopes:
content(for Marketing Emails)Copy the Access Token (
pat-na1-...format)
3. Build
npm run build4. Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hubspot-email": {
"command": "npx",
"args": ["-y", "/path/to/hubspot-email-mcp"],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token"
}
}
}
}5. Restart Claude Desktop
Restart Claude Desktop completely to apply the settings.
Usage
You can use it in Claude Desktop like this:
"Create a newsletter draft in HubSpot.
Subject: New Product Announcement
Body: We have released a new version of Product A"
"Show me the list of emails created last week"
"Check the content of email ID 12345"Development
Testing with MCP Inspector
You can test the MCP server using the official inspector tool:
npx @modelcontextprotocol/inspector npx -y /path/to/hubspot-email-mcpSet the HUBSPOT_ACCESS_TOKEN environment variable in the inspector UI to test with your HubSpot account.
Local Testing
npm run devBuild
npm run buildLicense
MIT
Available Tools
4 toolscreate_draft_emailB
メールの下書きを作成。既存メールを複製する場合はget_emailで取得したcontent等を渡す
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | キャンペーン名 | |
| subject | Yes | メール件名 | |
| htmlBody | No | HTML本文(シンプルなメール用) | |
| content | No | メールコンテンツ構造(flexAreas, widgets等を含む詳細設定) | |
| from | No | 送信者情報 { fromName, replyTo } | |
| subscriptionDetails | No | 配信設定 { officeLocationId } | |
| to | No | 送信先設定 { contactIlsLists, suppressGraymail } |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It states the tool creates a draft email, implying a write operation, but doesn't disclose behavioral traits such as permissions required, whether drafts are saved automatically, error handling, or rate limits. The mention of content reuse from 'get_email' adds some context, but critical mutation behaviors are undocumented.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded: the first sentence states the core purpose, and the second provides a usage tip. Both sentences earn their place by adding value. However, it could be slightly more structured by explicitly separating purpose from guidelines.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (7 parameters with nested objects, no output schema, and no annotations), the description is incomplete. It doesn't explain what happens after creation (e.g., draft ID returned, storage location), error conditions, or how parameters like 'content' and 'htmlBody' interact. For a mutation tool with rich inputs, more behavioral context is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all 7 parameters thoroughly. The description adds minimal value beyond the schema: it hints that 'content' can be obtained from 'get_email' for cloning, but doesn't explain parameter interactions or usage semantics. With high schema coverage, the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'メールの下書きを作成' (create a draft email). It specifies the verb (create) and resource (draft email), but doesn't explicitly differentiate from sibling tools like 'update_email' beyond mentioning 'get_email' for content reuse. The purpose is clear but sibling differentiation is limited to content sourcing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides implied usage guidance: it suggests using 'get_email' to obtain content when cloning existing emails. However, it doesn't specify when to use this tool versus alternatives like 'update_email' or 'list_emails', nor does it mention prerequisites or exclusions. The guidance is helpful but incomplete.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_emailC
特定のメールの詳細情報を取得
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | メールID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a retrieval operation ('取得'), which implies read-only behavior, but doesn't specify authentication requirements, rate limits, error conditions, or what happens if the email ID is invalid. For a tool with zero annotation coverage, this leaves significant behavioral gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient Japanese sentence that directly states the tool's purpose with zero wasted words. It's appropriately sized for a simple retrieval tool and front-loads the essential information. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a retrieval tool with no annotations and no output schema, the description is insufficient. It doesn't explain what '詳細情報' (detailed information) includes, the response format, error handling, or authentication needs. Given the lack of structured fields to compensate, the description should provide more complete context about the tool's behavior and outputs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the single parameter 'emailId' clearly documented in the schema as 'メールID'. The description doesn't add any parameter information beyond what the schema provides - it doesn't explain where to find email IDs, their format, or validation rules. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('取得' - get/retrieve) and the resource ('特定のメールの詳細情報' - specific email's detailed information). It distinguishes from sibling tools like 'list_emails' (which lists multiple emails) and 'create_draft_email' (which creates new emails). However, it doesn't explicitly mention what constitutes 'detailed information' beyond the basic email content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'list_emails' or 'update_email'. There's no mention of prerequisites (e.g., needing an email ID), use cases (e.g., viewing full email content after listing), or exclusions (e.g., not for modifying emails). The agent must infer usage from the tool name and sibling context alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_emailsC
HubSpotのマーケティングメール一覧を取得
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 取得件数(デフォルト: 20) | |
| offset | No | オフセット(デフォルト: 0) | |
| sort | No | ソート項目 (name, createdAt, updatedAt, createdBy, updatedBy)。降順は -createdAt のように - を付ける |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure but offers minimal information. It states it 'gets' marketing emails but doesn't clarify whether this is a read-only operation, whether it requires specific permissions, what format the returned data takes, or if there are rate limits. For a list operation with zero annotation coverage, this represents a significant transparency gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise - a single Japanese sentence that directly states the tool's purpose without any fluff or unnecessary elaboration. Every word serves a functional purpose, making it efficient and front-loaded with the essential information about what the tool does.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a list operation with no annotations and no output schema, the description is insufficiently complete. While the purpose is clear, there's no information about what the tool returns (email objects, IDs only, metadata), how results are structured, or any behavioral constraints. The agent lacks crucial context needed to properly invoke and interpret results from this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds no parameter information beyond what's already documented in the schema (which has 100% coverage). All three parameters (limit, offset, sort) are fully described in the input schema with their types, defaults, and format details. The description doesn't provide additional context about how these parameters affect the listing behavior, so it meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('取得' - get/fetch) and resource ('HubSpotのマーケティングメール一覧' - HubSpot marketing email list), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'get_email' (which likely fetches a single email) or 'create_draft_email', leaving room for potential confusion about when to use this list operation versus individual email retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. There's no mention of when to choose list_emails over get_email (for bulk vs single email retrieval) or create_draft_email. The agent must infer usage context solely from tool names, which is insufficient for optimal tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_emailC
メールを更新
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | メールID | |
| name | No | キャンペーン名 | |
| subject | No | メール件名 | |
| htmlBody | No | HTML本文(シンプルなメール用) | |
| content | No | メールコンテンツ構造(flexAreas, widgets等を含む詳細設定) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure but offers nothing beyond the basic action. It doesn't indicate whether this is a destructive operation, what permissions might be required, whether changes are reversible, or what happens to unspecified fields. For a mutation tool with zero annotation coverage, this represents a critical gap in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at just two words ('メールを更新'), with zero wasted language. It's front-loaded with the core action and resource. While this conciseness comes at the expense of completeness, the description itself doesn't contain unnecessary verbiage or poor structure.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given this is a mutation tool with 5 parameters (including nested objects), no annotations, and no output schema, the description is completely inadequate. It provides no context about what 'updating' entails, what fields can be modified, what the response looks like, or how this differs from creation operations. The agent would struggle to use this tool correctly without significant trial and error.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with all 5 parameters documented in the input schema. The description adds no additional parameter information beyond what's already in the structured schema. According to scoring rules, when schema coverage is high (>80%), the baseline score is 3 even with no parameter information in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'メールを更新' (Update email) is a tautology that restates the tool name without providing specific details about what aspects of an email are updated. It doesn't distinguish this tool from sibling tools like create_draft_email or get_email beyond the basic verb. While it identifies the resource (email), it lacks specificity about scope or functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like create_draft_email or get_email. There's no mention of prerequisites, appropriate contexts, or exclusions. The agent receives no help in distinguishing between update operations and creation/retrieval operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v1.0.0- First observed
create_draft_email - First observed
get_email - First observed
list_emails - First observed
update_email
TDQS
Each tool has a clearly distinct purpose with no overlap: create_draft_email for creation, get_email for retrieval, list_emails for listing, and update_email for updating. The descriptions reinforce these distinct roles, making tool selection straightforward for an agent.
All tool names follow a consistent verb_noun pattern (create_draft_email, get_email, list_emails, update_email), using snake_case uniformly. This predictability aids in understanding and usage without confusion.
With 4 tools, the server is well-scoped for basic email management, covering creation, retrieval, listing, and updating. It's slightly lean but reasonable, as it handles core CRUD operations without unnecessary bloat.
The tool set covers essential CRUD operations for emails (create, get, list, update), with no dead ends. A minor gap exists in lacking a delete_email tool, but agents can work around this, and the surface supports core workflows effectively.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Connect any mailbox to Claude, ChatGPT & AI: read, send, reply, schedule & search emails.
Agent-native marketing email: draft, edit, screenshot, and send from your verified domain.
Send email and read templates, marketing contacts, lists, stats, bounces and unsubscribes.
Marketo MCP server for AI. 130 tools to operate Marketo from Claude, Cursor, or ChatGPT.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables Claude to interact with HubSpot CRM for sales analysis and insights, providing tools for managing contacts, deals, companies, and retrieving sales analytics data.172510MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with HubSpot CRM for managing contacts, companies, deals, and sending emails through natural language commands.527MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables management of HubSpot CRM entities including contacts, companies, deals, and pipelines through natural language. It provides comprehensive tools for listing, searching, creating, and updating records with support for OAuth 2.0 authentication.-
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to interact with the BusinessFlowPro marketing automation platform via natural language, supporting campaign, contact, template, landing page, form, analytics, and AI content operations.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hdmt/hubspot-email-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server