Back to MCP directory
publicPublicdnsLocal runtime

send-mcp

Sitecore Send MCP Server是一个非官方工具,提供SMTP邮件发送和API管理邮件列表功能。

article

README

🚀 Sitecore Send MCP Server (非官方版)

本项目是 Sitecore Send MCP 服务器的非官方版本,提供了一系列工具来处理邮件相关操作,如使用 SMTP 发送邮件、管理邮件列表等。

🚀 快速开始

手动安装

将以下配置添加到你的配置文件中:

{
  "mcpServers": {
    "send-mcp": {
      "command": "npx",
      "args": ["send-mcp"],
      "env": {
        "API_KEY": "xxxxx",
        "TRANSACTIONAL_EMAILS_CAMPAIGN_ID": "xxxxx",
        "SMTP_ENABLED": "true",
        "SMTP_FROM": "xxxxx",
        "SMTP_USER": "xxxxx",
        "SMTP_PASSWORD": "xxxxx"
      }
    }
  }
}

通过标准输入输出运行

在终端中执行以下命令:

npx send-mcp

通过 HTTP 运行

在终端中执行以下命令,并指定端口:

npx send-mcp http --port 3000

✨ 主要特性

SMTP 工具

  • :white_check_mark: send_smtp_email - 使用 SMTP 发送邮件

API 工具

  • :white_check_mark: get_lists - 获取邮件列表
  • :white_check_mark: get_list_members - 获取邮件列表成员
  • :white_check_mark: add_list_member - 添加邮件列表成员
  • :white_check_mark: remove_list_member - 移除邮件列表成员
  • :white_check_mark: send_transactional_email - 使用事务性邮件服务发送邮件

📦 安装指南

环境变量配置

你需要配置以下环境变量来使用本服务:

# 使用 API 所需的密钥
API_KEY=[Sitecore Send API Key]
# 启用 send_transactional_email 所需的事务性邮件活动 ID
TRANSACTIONAL_EMAILS_CAMPAIGN_ID=[transactional email campaign id]
# 启用 SMTP 服务
SMTP_ENABLED=true
# SMTP 发件人地址
SMTP_FROM=[SMTP From Address]
# SMTP 用户
SMTP_USER=[SMTP User]
# SMTP 密码
SMTP_PASSWORD=[SMTP Password]

请将 [ ] 内的内容替换为你自己的实际信息。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client