MCP.so
登录

Email Server

@yahyamohmuedpro99

关于 Email Server

暂无概览

基本信息

分类

沟通协作

许可证

MIT

运行时

node

传输方式

stdio

发布者

yahyamohmuedpro99

提交者

yahya mohmued

配置

使用下面的配置,将此服务器添加到你的 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": "[email protected]",
        "SMTP_PASSWORD": "your-password",
        "EMAIL_FROM": "[email protected]",
        "SMTP_TIMEOUT": "30000"
      },
      "transportType": "stdio"
    }
  }
}

工具

未检测到工具

工具是从 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.

FAQ from Email Server

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.

What transport type does Email Server use?

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

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.

What tools does Email Server provide?

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

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 服务器