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.

评论

云与基础设施 分类下的更多 MCP 服务器