MCP.so
登录

Email Server MCP Server

@yahyamohmuedpro99

基本信息

分类

沟通协作

许可证

MIT

传输方式

stdio

作者

yahyamohmuedpro99

提交者

yahya mohmued

关于 Email Server MCP Server

暂无概览

#email-server#smtp#mailer

Email Server MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "email-server": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 60,
      "command": "node",
      "args": [
        "pathToTheBuild/dist/index.js"
      ],
      "env": {
        "SMTP_HOST": "smtp.smtp2go.com",
        "SMTP_PORT": "2525",
        "SMTP_USER": "your-email@example.com",
        "SMTP_PASSWORD": "your-password",
        "EMAIL_FROM": "your-email@example.com",
        "SMTP_TIMEOUT": "30000"
      },
      "transportType": "stdio"
    }
  }
}

Email Server MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Email Server?

Email Server is a Model Context Protocol (MCP) server for sending emails via SMTP. It is SMTP provider agnostic, allowing use of any SMTP relay service (e.g., Gmail, SendGrid, Mailgun) by configuring environment variables. It is intended for AI assistants or MCP clients that need to send emails programmatically.

How to use Email Server?

Clone the repository, install dependencies with npm install, and build with npm run build. Configure the required environment variables (SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD, EMAIL_FROM) in the MCP client settings. The server exposes two tools: send_email (to send an email to a specified recipient) and test_email (to verify the configuration).

Key features of Email Server

  • Send emails to specified recipients via SMTP.
  • Test email functionality for configuration verification.
  • Environment variable configuration for SMTP credentials.
  • Proper error handling and logging.
  • TypeScript implementation for type safety.

Use cases of Email Server

  • AI assistants sending notifications or alerts via email.
  • Automating email dispatch from MCP-compatible clients.
  • Testing SMTP configuration before production use.

常见问题

1

What environment variables are required?

The required variables are `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASSWORD`, and `EMAIL_FROM`. Optional variables include `SMTP_SECURE`, `SMTP_REJECT_UNAUTHORIZED`, and `SMTP_TIMEOUT`.

2

What transport type does Email Server use?

It uses `stdio` transport, as shown in the MCP configuration example.

3

Is Email Server tied to a specific email provider?

No. It is SMTP provider agnostic and works with any SMTP relay service (e.g., Gmail, SendGrid, Mailgun) by configuring the appropriate environment variables.

4

What tools does Email Server provide?

It provides `send_email` (requires `recipient` and `body` parameters) and `test_email` (no parameters).

5

How do I configure the server for my MCP client?

Add a `"email-server"` entry to your MCP settings JSON, specifying `command: "node"`, `args` pointing to the built `index.js`, and `env` with your SMTP credentials.

评论

沟通协作 分类下的更多 MCP 服务器