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.

コメント

「コミュニケーション」の他のコンテンツ