AP

activecampaign/postmark-mcp

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

64 stars 19 forks 质量 86 趋势 14MIT

activecampaign/Postmark-MCP 是从 https://github.com/activecampaign/postmark-mcp. 导入的一个 MCP 服务器候选服务器

概览

activecampaign/Postmark-MCP 是从 https://github.com/activecampaign/postmark-mcp. 导入的一个 MCP 服务器候选服务器

概述(AI 翻译)

使用Claude及其他兼容MCP的AI助手发送带有Postmark的邮件。

特色

  • 暴露由您的邮戳账户支持的模型上下文协议(MCP)服务器
  • 24 个工具,涵盖电子邮件发送(单件 + 批次)、模板(CRUD + 验证)、消息搜索、投递诊断、退信、抑制、统计、服务器信息和 webhook
  • MCP工具注释(readOnlyHint、destructiveHint)支持客户端自动批准安全读取,并在变异或破坏操作前要求确认
  • 通过环境变量实现简单配置
  • 全面的错误处理和优雅的关机
  • 结构化JSON日志记录至stderr,并可选支持日志文件持久化;电子邮件地址默认部分隐藏
  • HTTPS 强制执行及可选的域名允许列表用于 webhook 注册
  • 每次发送自动开启/点击追踪

有用的文档

  • 📒 API 文档
  • 🔎 API 浏览器
  • 📖 工程相关文章
  • 📝 更新日志——每个版本的新内容

反馈

我们非常期待您的反馈!请通过我们的反馈表单分享您的反馈和建议。

关注我们的X账号 - @postmarkapp


布置

要求

  • Node.js v20 或更高

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Official Postmark MCP Server     

Send emails with Postmark using Claude and other MCP-compatible AI assistants.

Features

  • Exposes a Model Context Protocol (MCP) server backed by your Postmark account
  • 24 tools spanning email sending (single + batch), templates (CRUD + validation), message search, delivery diagnostics, bounces, suppressions, stats, server info, and webhooks
  • MCP tool annotations (readOnlyHint, destructiveHint) let supporting clients auto-approve safe reads and require confirmation before mutating or destructive operations
  • Simple configuration via environment variables
  • Comprehensive error handling and graceful shutdown
  • Structured JSON logging to stderr with optional log-file persistence; email addresses are partially masked by default
  • HTTPS enforcement and optional domain allowlist for webhook registration
  • Automatic open/click tracking on every send

Useful Docs

Feedback

We’d love to hear from you! Please share your feedback and suggestions using our feedback form.

Follow us on X - @postmarkapp


Setup

Requirements

  • Node.js v22 or higher, on the latest patch of your release line. For the Brotli decoder RCE (CVE-2026-111497), official nodejs.org builds are fixed in 22.23.4+, 24.22.1+ and 26.12.1+; Node 20, 23 and 25 never got the fix. See the October 2026 Node.js security releases. Builds linked against the system Brotli library (node_shared_brotli, for example Homebrew’s) also need that library updated, whatever the Node version.
  • Your MCP client may launch a different node from the one in your shell. If that node is unpatched, or uses the system Brotli library, the server logs a [WARN] naming its path.
  • A Postmark account and server token

Installation (Local Development)

Clone the repository:

git clone https://github.com/ActiveCampaign/postmark-mcp
cd postmark-mcp

Install dependencies:

npm install
# or
yarn
# or
bun install

Configuration (Local Development)

在 GitHub 查看完整 README

安装

npx -y @activecampaign/postmark-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "postmark": { "command": "npx", "args": ["-y", "@activecampaign/postmark-mcp"], "env": { "POSTMARK_SERVER_TOKEN": "your-postmark-server-token", "DEFAULT_SENDER_EMAIL": "[email protected]", "DEFAULT_MESSAGE_STREAM": "outbound" } } } }