MisarMail MCP Server

io.github.Misar-AI由 GitHub 帳號 Misar-AI 發布v5.1.2更新於 Oct 24, 2026

Send transactional email, run campaigns, manage contacts and automations, audit deliverability.

已驗證Streamable HTTP可網頁執行溝通與協作資料與分析商業與電商

概覽

AI 產生的概覽

MisarMail MCP 讓助理透過 MisarMail 帳號寄送郵件、執行行銷活動、管理聯絡人與自動化流程,並稽核送達率。

可以做什麼
  • 寄送與回覆郵件,讀取、搜尋與封存收件匣郵件,並驗證電子郵件地址
  • 建立、檢視並立即寄送或排程行銷活動,管理 A/B 測試變體與勝出選擇
  • 管理聯絡人、批次匯入、互動分數、範本及範本渲染預覽
  • 建立、檢視並啟用或暫停自動化流程
  • 取得投遞與互動分析、報告、營收歸因與訂閱變現數據
  • 查看送達率分數、執行稽核,新增並驗證寄件網域與收件路由
適用情境
適合希望助理在同一個對話中起草並寄送交易性或大量郵件、經營電子報與滴灌序列、清理聯絡人名單,或排查進垃圾郵件匣與送達率問題的情境。
執行需求
需要 MisarMail 帳號與 API 金鑰(MISARMAIL_API_KEY,遠端端點則用 Authorization bearer 標頭),也可不填金鑰改用 login 工具以瀏覽器登入。可作為遠端 Streamable HTTP 端點使用,或透過 npx 在本機執行(需 Node.js);MISARMAIL_BASE_URL 僅自架執行個體需要。
安裝前請注意
寄送活動、選擇 A/B 勝出變體與啟用自動化會向真實收件人寄出真實郵件且無法復原;get_email 會將郵件標為已讀,封存則會移動郵件。新增聯絡人即記錄訂閱同意,只應匯入已明確同意的地址。API 金鑰屬機密資訊,會存入設定檔或作為標頭傳遞。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MisarMail MCP Server,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Misar-AI%2Fmisarmail-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "misarmail": {
      "type": "http",
      "url": "https://api.misar.io/mail/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

MisarMail MCP Server

Send email, run campaigns, manage contacts and automations, A/B test, and audit deliverability — from any AI assistant.

[npm] [smithery] [license]

55 tools · 8 prompts · 4 resources · 8 agent skills

Works with Claude (Desktop, Code, and web), Cursor, VS Code, Windsurf, Cline, Zed, Gemini CLI, ChatGPT, and any other MCP-compatible client — over stdio or Streamable HTTP.


Install

Smithery (recommended)

bash
npx -y @smithery/cli install misar/misarmail-mcp --client claude

Claude Code

bash
claude mcp add misarmail -- npx -y @misarmail/mcp@latest

Manual (any client)

json
{  "mcpServers": {    "misarmail": {      "command": "npx",      "args": ["-y", "@misarmail/mcp@latest"],      "env": { "MISARMAIL_API_KEY": "msk_your_key_here" }    }  }}

Ready-made configs for every client live in connectors/.

Remote (no install)

json
{  "mcpServers": {    "misarmail": {      "type": "streamable-http",      "url": "https://api.misar.io/mail/mcp",      "headers": { "Authorization": "Bearer msk_your_key_here" }    }  }}

Authentication

Two options — no copy-paste needed for the first:

  1. Browser login. Start the server with no key and run the login tool. It opens the MisarMail consent screen, you review the requested permissions, and the key is delivered straight back and saved to ~/.misarmail/config.json.
  2. API key. Create one at https://mail.misar.io/developers and set MISARMAIL_API_KEY.

Self-hosted instances: set MISARMAIL_BASE_URL.


Tools

ToolDescription
send_emailSend a transactional email from a verified MisarMail account.
list_emailsList emails from a mailbox folder with optional full-text search across subject and body.
get_emailRead the full content of a single email by ID, including headers, body, and attachments metadata.
reply_to_emailReply to an existing email thread.
archive_emailMove an email to the archive folder.
validate_emailValidate an email address before sending: syntax, MX records, disposable-domain and role-account detection.
list_campaignsList email marketing campaigns with their status, audience size, and headline metrics.
get_campaignGet full details for one campaign: content, audience segment, schedule, and delivery statistics (sent, opened, clicked, bounced, complained)..
create_campaignCreate a new email marketing campaign as a draft.
send_campaignSend a campaign now, or schedule it for a future time by passing scheduled_at.
list_contactsList contacts with their subscription status and engagement metrics.
create_contactAdd a single contact.
update_contactUpdate an existing contact by email address, including changing subscription status.
import_contactsBulk-import up to 5,000 contacts in one call.
get_contact_scoreGet engagement score, engagement tier, and churn risk for one contact — or the lowest-engagement contacts across the list when contact_id is omitted.
list_templatesList saved email templates with their variable placeholders, so you can pick one for a campaign or transactional send..
create_templateCreate a reusable email template.
render_templateRender a template with sample variables and return the resulting HTML and subject.
list_automationsList automation workflows (welcome series, re-engagement, drip sequences) with their trigger type and active state..
get_automationGet one automation workflow in full: trigger, every step with its delay, and per-step completion stats..
create_automationCreate an automation workflow from a trigger, saved as a paused draft.
toggle_automationActivate or pause an automation.
list_ab_testsList A/B tests with per-variant results and whether a winner has been selected yet..
create_ab_testCreate one A/B test variant on a campaign.
select_ab_test_winnerSelect the winning variant and send it to the remaining audience.
get_analyticsGet delivery and engagement analytics — sent, delivered, opened, clicked, bounced, and complained — for the account or one campaign, grouped by day/week/month..
get_analytics_timelineGet a day/week/month breakdown of sent, delivered, opened, clicked, bounced, complained, replied, and unsubscribed — across every send medium (campaigns, inbox compose, API, MCP, SDKs, GraphQL, automations).
generate_reportGenerate a structured analytics report over a date range.
get_revenue_attributionAttribute ecommerce revenue to email — revenue per campaign, per contact, and average order value from tracked conversions..
get_monetization_statsGet newsletter monetization stats: paid subscribers, MRR, churn, and sponsorship revenue for the period..
get_deliverability_scoreGet the account deliverability score (0–100) and letter grade (A–F) with the factors dragging it down.
run_deliverability_auditRun a full deliverability audit across authentication (SPF/DKIM/DMARC), domain reputation, list hygiene, content signals, and blocklist status.
get_warmup_statusGet IP/domain warm-up progress and today's remaining send capacity.
check_dmarcCheck live SPF, DKIM, and DMARC DNS records for a domain and report alignment problems with the exact record to publish.
list_domainsList sending domains with verification status and their DKIM/SPF/DMARC records.
add_domainAdd a sending domain and return the DNS records to publish.
verify_domainRe-check a domain's DNS records and mark it verified if they resolve.
configure_inbound_domainConfigure inbound email routing for a subdomain so replies land in the MisarMail unified inbox.
list_formsList signup forms with their embed status and conversion counts..
get_formGet one signup form including its fields, embed code, and redirect behaviour..
get_form_submissionsList submissions for a signup form, including the submitted field values and timestamps..
create_landing_pageCreate a hosted landing page with a single hero block (headline, subheadline, CTA).
list_marketplace_itemsBrowse the MisarMail template marketplace for ready-made email and automation templates..
get_marketplace_itemGet one marketplace listing with its full preview, author, and install count..
list_inbox_conversationsList unified-inbox conversations (threads) with their status and detected intent.
get_inbox_conversation_messagesGet every message in one inbox conversation, oldest first, with sender and timestamps..
categorize_inbox_emailsRun AI categorisation over a batch of inbox emails to label intent and priority.
list_api_keysList API keys on the account with their scopes and last-used time.
generate_subject_linesGenerate AI subject-line variants for a campaign topic, optionally tuned to a tone and audience.
list_integrationsList connected third-party integrations and their sync status..
get_integrationGet one integration's configuration, scopes, and last sync result..
toggle_integrationEnable or disable an integration.
list_sandbox_sendsList emails captured by sandbox mode.
clear_sandboxDelete every captured sandbox email.
upgradeShow the current MisarMail plan, how much of each quota is left, and what upgrading unlocks, with the link to upgrade.

Prompts

Reusable workflows your client exposes as slash-commands.

PromptDescription
compose_emailDraft a professional email and send it via MisarMail after confirmation.
campaign_performance_reportAnalyse campaign performance and produce prioritized improvements.
contact_import_guideImport and organise contacts safely, with consent and hygiene checks.
automation_builder_guideDesign and build an email automation workflow step by step.
deliverability_improvement_planDiagnose deliverability and produce a prioritized weekly action plan.
ab_test_planDesign a statistically meaningful A/B test for a campaign.
list_hygiene_auditFind and clean the contacts that are hurting sender reputation.
weekly_email_reportProduce a stakeholder-ready weekly email performance summary.

Resources

Read-only context an agent can attach without spending a tool call.

URIDescription
misarmail://account/domainsYour sending domains with verification state and DNS records.
misarmail://account/deliverabilityCurrent account deliverability score (0–100), grade, and contributing factors..
misarmail://account/warmupIP/domain warm-up stage and remaining send capacity for today — the ceiling a bulk send must stay under..
misarmail://templatesSaved templates with their declared variables, for reuse in campaigns and sends..

Agent skills

Bundled in skills/ — guidance an agent loads when a task matches.

SkillUse when
ab-test-campaignDesign and run an A/B test on a MisarMail campaign — subject line, content, sender name, or send time. Use for "A/B test", "split test", "which subject works better", or testing email variants.
audit-deliverabilityDiagnose why MisarMail emails land in spam or bounce, and produce a prioritized fix list. Use for "emails going to spam", "not being delivered", "low open rate", "domain reputation", DMARC/SPF/DKIM, or blocklist questions.
build-email-automationDesign and build a MisarMail automation workflow — welcome series, drip sequence, re-engagement, or onboarding. Use for "automate", "drip", "welcome series", "sequence", or trigger-based email.
clean-contact-listAudit and clean a MisarMail contact list — bounced, complained, and unengaged contacts. Use for list hygiene, re-engagement, suppression, or "why is my open rate falling".
email-performance-reportProduce a MisarMail performance report — opens, clicks, deliverability, revenue attribution. Use for "how are my emails doing", weekly/monthly reports, or campaign performance analysis.
run-email-campaignCreate, review, and send a bulk email campaign in MisarMail. Use when the user wants to email a list, newsletter, segment, or announcement to many recipients.
send-transactional-emailSend a one-off or transactional email through MisarMail. Use when the user asks to send, draft-and-send, or reply to an email — including receipts, notifications, welcome messages, and personal outreach.
setup-sending-domainAdd and verify a custom sending domain in MisarMail, including SPF, DKIM, DMARC, and inbound routing. Use for "send from my own domain", DNS setup, domain verification, or inbound email.

Safety

Destructive and irreversible actions are annotated (destructiveHint) so clients can prompt before running them. The skills instruct agents to confirm before anything that sends mail, publishes content, or is otherwise visible to other people.

Discovery (initialize, tools/list, prompts/list, resources/list) never requires credentials, so registries can index the server without one. Every action does.


Links

MIT © Misar.AI

來源:README.md,提交 f31d9f9

工具

55

send_email

Send email

Send a transactional email from a verified MisarMail account. `from.email` must match an email account you have already verified — use list_domains to check which sender domains are available. Returns the message ID and queue status.

輸入參數ccto必填bccfrom必填htmltagstextsubject必填alias_idmetadatareply_toidempotency_key

list_emails

List emails

List emails from a mailbox folder with optional full-text search across subject and body. Use this for reading the unified inbox; use list_campaigns for marketing sends.

輸入參數limitfoldersearch

get_email

Read email

Read the full content of a single email by ID, including headers, body, and attachments metadata. Side effect: marks the email as read.

輸入參數id必填

reply_to_email

Reply to email

Reply to an existing email thread. The sender address and threading headers are derived from the original message, so only the body is required.

輸入參數htmltextemail_id必填

archive_email

Archive email

Move an email to the archive folder. Reversible — the message is not deleted.

輸入參數id必填

validate_email

Validate address

Validate an email address before sending: syntax, MX records, disposable-domain and role-account detection. Use this to protect sender reputation on imported lists.

輸入參數email必填

list_campaigns

List campaigns

List email marketing campaigns with their status, audience size, and headline metrics. Filter by status to find drafts ready to send or campaigns still sending.

輸入參數pagelimitstatus

get_campaign

Get campaign

Get full details for one campaign: content, audience segment, schedule, and delivery statistics (sent, opened, clicked, bounced, complained).

輸入參數campaign_id必填

create_campaign

Create campaign

Create a new email marketing campaign as a draft. Creating never sends or schedules anything — once the content and audience are confirmed, call send_campaign to send it now or schedule it for later.

輸入參數htmlname必填textsubject必填reply_tofrom_name必填from_email必填segment_idtemplate_id

send_campaign

Send campaign

Send a campaign now, or schedule it for a future time by passing scheduled_at. This delivers real email to real recipients and cannot be undone once sending starts — confirm the audience with get_campaign first.

輸入參數campaign_id必填scheduled_at

list_contacts

List contacts

List contacts with their subscription status and engagement metrics. Filter by status to find unsubscribed or bounced addresses that should be excluded from sends.

輸入參數pagelimitsearchstatus

create_contact

Create contact

Add a single contact. Adding a contact records consent to email them — only add addresses that opted in, or the send will damage sender reputation and may breach CAN-SPAM/GDPR.

輸入參數tagsemail必填sourcelast_namefirst_namecustom_fields

update_contact

Update contact

Update an existing contact by email address, including changing subscription status. Setting status to unsubscribed immediately excludes them from every future campaign. Does not support tags, phone, company, or job title — the API has no fields for them.

輸入參數email必填statuslast_namefirst_namecustom_fields

import_contacts

Import contacts

Bulk-import up to 5,000 contacts in one call. By default, addresses that already exist are skipped rather than duplicated — pass update_existing: true to update them instead. Returns per-row results so you can see which rows were rejected and why.

輸入參數contacts必填update_existing

get_contact_score

Contact engagement score

Get engagement score, engagement tier, and churn risk for one contact — or the lowest-engagement contacts across the list when contact_id is omitted. Use before a re-engagement campaign.

輸入參數contact_id

list_templates

List templates

List saved email templates with their variable placeholders, so you can pick one for a campaign or transactional send.

輸入參數pagetypelimit

create_template

Create template

Create a reusable email template. Use {{variable}} placeholders for personalisation — they are substituted at send time and previewable via render_template.

輸入參數html必填name必填texttypesubject必填variables

render_template

Render template

Render a template with sample variables and return the resulting HTML and subject. Use this to preview personalisation before sending anything.

輸入參數variablestemplate_id必填

list_automations

List automations

List automation workflows (welcome series, re-engagement, drip sequences) with their trigger type and active state.

輸入參數pagelimitstatus

get_automation

Get automation

Get one automation workflow in full: trigger, every step with its delay, and per-step completion stats.

輸入參數automation_id必填

create_automation

Create automation

Create an automation workflow from a trigger, saved as a paused draft. The API's create endpoint only accepts a name and trigger — it has no fields for workflow steps or starting active; configure the step sequence in the MisarMail dashboard's visual builder, and use toggle_automation to activate once reviewed.

輸入參數name必填trigger必填trigger_config

toggle_automation

Toggle automation

Activate or pause an automation. Activating starts enrolling contacts and sending on the configured schedule.

輸入參數active必填automation_id必填

list_ab_tests

List A/B tests

List A/B tests with per-variant results and whether a winner has been selected yet.

輸入參數pagetypelimit

create_ab_test

Create A/B test

Create one A/B test variant on a campaign. The real API stores a single variant per call, so build a test by calling this once per variant (e.g. twice for a plain A/B split) using the same campaign_id and distinct `variant` labels. Each variant gets send_percent of the audience; auto_select_winner (with winner_wait_hours) can pick and send the winner automatically, or use select_ab_test_winner to do it manually.

輸入參數subjectvariant必填body_htmlfrom_namepreheadertest_typecampaign_id必填send_time_asend_time_bsend_percentwinner_wait_hoursauto_select_winner

select_ab_test_winner

Select A/B winner

Select the winning variant and send it to the remaining audience. This triggers a real send to everyone who was held back — it cannot be undone.

輸入參數metrictest_id必填winner_variant必填

get_analytics

Get analytics

Get delivery and engagement analytics — sent, delivered, opened, clicked, bounced, and complained — for the account or one campaign, grouped by day/week/month.

輸入參數periodend_dategroup_bystart_datecampaign_id

get_analytics_timeline

Get analytics timeline

Get a day/week/month breakdown of sent, delivered, opened, clicked, bounced, complained, replied, and unsubscribed — across every send medium (campaigns, inbox compose, API, MCP, SDKs, GraphQL, automations). The timeline counterpart to get_analytics's period totals.

輸入參數periodend_dategroup_bystart_date

generate_report

Generate report

Generate a structured analytics report over a date range. Report types: campaign_performance, engagement_funnel, cohort_analysis, and send_time_heatmap (best hour/day to send).

輸入參數date_todate_fromreport_type必填

get_revenue_attribution

Revenue attribution

Attribute ecommerce revenue to email — revenue per campaign, per contact, and average order value from tracked conversions.

輸入參數periodcampaign_id

get_monetization_stats

Monetization stats

Get newsletter monetization stats: paid subscribers, MRR, churn, and sponsorship revenue for the period.

輸入參數period

get_deliverability_score

Deliverability score

Get the account deliverability score (0–100) and letter grade (A–F) with the factors dragging it down. Start here when asked why emails are landing in spam.

無需輸入參數。

run_deliverability_audit

Deliverability audit

Run a full deliverability audit across authentication (SPF/DKIM/DMARC), domain reputation, list hygiene, content signals, and blocklist status. Returns prioritized findings.

無需輸入參數。

get_warmup_status

Warm-up status

Get IP/domain warm-up progress and today's remaining send capacity. Exceeding warm-up capacity on a new domain is the fastest way to get throttled or blocklisted.

無需輸入參數。

check_dmarc

Check DMARC/SPF/DKIM

Check live SPF, DKIM, and DMARC DNS records for a domain and report alignment problems with the exact record to publish. Works for any domain, not only your own.

輸入參數domain必填

list_domains

List domains

List sending domains with verification status and their DKIM/SPF/DMARC records. Check here first when a send fails with an unverified-sender error.

輸入參數pagelimit

add_domain

Add domain

Add a sending domain and return the DNS records to publish. The domain cannot send until those records are live and verify_domain succeeds.

輸入參數domain必填

verify_domain

Verify domain

Re-check a domain's DNS records and mark it verified if they resolve. Safe to retry — DNS propagation can take up to 48 hours.

輸入參數domain_id必填

configure_inbound_domain

Configure inbound

Configure inbound email routing for a subdomain so replies land in the MisarMail unified inbox. Returns the MX record to publish.

輸入參數domain必填subdomain必填webhook_url必填

list_forms

List forms

List signup forms with their embed status and conversion counts.

輸入參數pagelimitstatus

get_form

Get form

Get one signup form including its fields, embed code, and redirect behaviour.

輸入參數form_id必填

get_form_submissions

Form submissions

List submissions for a signup form, including the submitted field values and timestamps.

輸入參數pagelimitform_id必填

create_landing_page

Create landing page

Create a hosted landing page with a single hero block (headline, subheadline, CTA). Returns the public URL. The real API stores pages as a page-builder block array with no dedicated headline/CTA fields, so this tool translates your inputs into one 'hero' block — for multi-block pages or a real CTA link, use the landing page editor in the MisarMail dashboard.

輸入參數name必填slugcta_textheadline必填subheadline

list_marketplace_items

Browse marketplace

Browse the MisarMail template marketplace for ready-made email and automation templates.

輸入參數pagelimitsearchcategory

get_marketplace_item

Get marketplace item

Get one marketplace listing with its full preview, author, and install count.

輸入參數item_id必填

list_inbox_conversations

List conversations

List unified-inbox conversations (threads) with their status and detected intent. Use this for triage; use list_emails for individual messages in a folder.

輸入參數qlimitintentoffsetstatuschannel

get_inbox_conversation_messages

Conversation messages

Get every message in one inbox conversation, oldest first, with sender and timestamps.

輸入參數conversation_id必填

categorize_inbox_emails

Categorize inbox

Run AI categorisation over a batch of inbox emails to label intent and priority. Consumes AI credits — pass only the emails you actually need triaged.

輸入參數email_ids必填

list_api_keys

List API keys

List API keys on the account with their scopes and last-used time. Key secrets are never returned — only metadata.

無需輸入參數。

generate_subject_lines

Generate subject lines

Generate AI subject-line variants for a campaign topic, optionally tuned to a tone and audience. Good input for create_ab_test.

輸入參數tonecounttopic必填audience

list_integrations

List integrations

List connected third-party integrations and their sync status.

輸入參數pagelimit

get_integration

Get integration

Get one integration's configuration, scopes, and last sync result.

輸入參數integration_id必填

toggle_integration

Toggle integration

Enable or disable an integration. Disabling stops all syncing but preserves the stored credentials.

輸入參數enabled必填integration_id必填

list_sandbox_sends

List sandbox sends

List emails captured by sandbox mode. Sandbox intercepts sends instead of delivering them — use it to verify templates and automations without emailing anyone.

無需輸入參數。

clear_sandbox

Clear sandbox

Delete every captured sandbox email. Affects only intercepted test messages, never real sent mail.

無需輸入參數。

upgrade

Plan usage and upgrade

Show the current MisarMail plan, how much of each quota is left, and what upgrading unlocks, with the link to upgrade. Call it any time — not only after hitting a limit. Reads only: it never changes the plan or takes payment; the user upgrades by following the link. On a local install, open=true also opens that link in the user's browser.

輸入參數openplan

版本歷史

1
  1. v5.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分