Skip to main content
Glama

MCP Email Server

一个简单的Model Context Protocol (MCP) 服务器,允许 Cursor 等 AI 客户端使用 Resend 邮件服务发送电子邮件。

功能特性

  • 向一个或多个收件人发送电子邮件

  • 支持主题和 HTML 正文

  • 使用环境变量实现安全配置

  • 适用于 Cursor 及其他兼容 MCP 的客户端

Related MCP server: Resend MCP

环境要求

  • Node.js 20+

  • Resend 账户

  • Resend API 密钥

  • Resend 中已验证的发件人/域名

  • Cursor 或其他兼容 MCP 的 MCP 客户端

安装设置

  1. 安装项目依赖。

  2. 在项目根目录创建 .env 文件。

  3. 添加你的 Resend API 密钥和已验证的发件人邮箱。

  4. 启动 MCP 服务器。

  5. 将服务器添加到你的 MCP 客户端配置中。

环境变量

RESEND_API_KEY=your_resend_api_key
RESEND_FROM_EMAIL=your_verified_sender

切勿将 .env 提交到 Git。

Cursor MCP 配置

请同时使用 .env 文件和 MCP 入口文件的绝对路径。

{
  "mcpServers": {
    "email-server": {
      "command": "node",
      "args": [
        "--env-file=/ABSOLUTE/PATH/TO/.env",
        "/ABSOLUTE/PATH/TO/app.js"
      ]
    }
  }
}

请将路径替换为你自己机器上的位置。

可用工具

send-mail

向一个或多个收件人发送电子邮件。

参数:

  • to — 收件人邮箱地址

  • subject — 邮件主题

  • body — 邮件正文

安全性

  • 将 API 密钥保存在 .env 中。

  • 切勿将 .env 提交到 Git。

  • 使用 Resend 中已验证的发件人/域名。

  • 不要在 MCP 配置中暴露 API 密钥。

技术栈

  • Node.js

  • MCP

  • Resend

  • Zod

  • Cursor

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    A simple MCP server that enables users to send emails using Resend's API, integrating with tools like Cursor and Claude Desktop for seamless email composition and delivery.
    91
    10,907
    559
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables sending emails (including mass emailing), querying, updating, and canceling delayed emails via the Resend API.

View all related MCP servers

Related MCP Connectors

  • Email for AI agents — send, receive as a webhook, manage domains, templates, routing.

  • Email for AI agents: send mail, manage contacts, automations & webhooks. Zero-DNS first send.

  • Give an AI agent its own inbox — receive email as a webhook, send over a verified domain.

View all MCP Connectors

Latest Blog Posts

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/Code2Hack18/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server