Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-blastengine-mailer

基于TypeScript的邮件发送MCP服务器

article

README

🚀 Blastengine邮件服务器 MCP 服务端

这是一个基于 TypeScript 的 MCP 服务器,实现了一个发送电子邮件的系统,为邮件发送提供了高效且可靠的解决方案。

🚀 快速开始

此 MCP 服务器能轻松实现电子邮件的发送功能,以下为你介绍开发与安装的相关步骤。

✨ 主要特性

工具

  • send_email - 发送一封电子邮件

📦 安装指南

开发环境准备

  • 安装依赖
npm install
  • 构建服务器
npm run build
  • 带有自动重建功能的开发
npm run watch

与 Claude Desktop 集成使用

要与 Claude Desktop 一起使用,请添加服务器配置:

  • 在 MacOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
  • 在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json%
{
  "mcpServers": {
    "blastengine-mailer": {
      "command": "node",
      "env": {
        "BLASTENGINE_USER_ID": "userid-of-blastengine",
        "BLASTENGINE_API_KEY": "apikey-of-blastengine"
      },
      "args": [
        "/path/to/blastengine-mailer/server.js"
      ]
    }
  }
}

调试说明

由于 MCP 服务器通过 stdio 进行通信,调试可能会很困难。我们推荐使用 MCP Inspector,它作为包脚本可用:

npm run inspector

Inspector 将提供一个可以在浏览器中访问的 URL,以获取调试工具。

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