MCP.so
Sign In

MCP Email Docker

@fantasy-lotus

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

fantasy-lotus

About MCP Email Docker

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

MCP Email Docker config

Add this server to your MCP-compatible client using the configuration below.

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

MCP Email Docker tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

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.

Frequently asked questions

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.

Comments

More Cloud & Infrastructure MCP servers