MCP.so
ログイン

MCP Email Docker

@fantasy-lotus

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

fantasy-lotus

MCP Email Docker について

基于Typescript实现的Notify MCP Server,支持Docker一键部署到remote|local

MCP Email Docker の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp_email_docker": {
      "command": "npx",
      "args": [
        "ts-node",
        "src/index.ts"
      ]
    }
  }
}

MCP Email Docker のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is mCP-email-docker?

It is an MCP server that provides email notification functionality. It communicates with MCP clients via Streamable HTTP or SSE and sends notification emails through SMTP. The server is designed for Docker deployment and also serves as a learning project for MCP server development.

How to use mCP-email-docker?

Install dependencies with npm install, configure environment variables (SMTP_USER, SMTP_PASS, SMTP_SERVICE, SMTP_HOST, PORT) in a .env file, then build and start with npm run build && npm start. For Docker, build the image with docker build -t yourname/mcp-email-docker . and run with docker run -p 8080:8080 --env-file .env yourname/mcp-email-docker.

Key features of mCP-email-docker

  • MCP client integration for email notifications.
  • Supports both SSE and Streamable HTTP transports.
  • One‑click Docker deployment to remote or local.
  • Docker image uses multi‑stage build for smaller size.
  • Environment variable configuration via .env file.
  • Email sending via SMTP using nodemailer.

Use cases of mCP-email-docker

  • Send email notifications from MCP‑powered applications.
  • Use as a learning project for MCP server implementation.
  • Deploy a notification service via Docker for quick setup.
  • Integrate with existing MCP clients for automated alerts.

よくある質問

1

What dependencies does mCP-email-docker use?

It uses @modelcontextprotocol/sdk, nodemailer, zod, dotenv, and express.

2

How do I start the server locally?

Build with `npm run build` then start with `npm start`, or run directly with `npx ts-node src/index.ts`.

3

How do I deploy with Docker?

Build the image with `docker build -t yourname/mcp-email-docker .` and run with environment variables or a `.env` file, e.g., `docker run -p 8080:8080 --env-file .env yourname/mcp-email-docker`.

4

What environment variables are required?

SMTP_USER, SMTP_PASS, SMTP_SERVICE, SMTP_HOST, and PORT (default 8080).

5

What API endpoints does the server expose?

GET `/sse` for SSE connection, POST `/messages?sessionId=xxx` for sending messages, and POST `/mcp` for Streamable HTTP connection.

コメント

「クラウドとインフラ」の他のコンテンツ