MCP.so
Sign In

Email Server MCP Server

@yahyamohmuedpro99

Basic information

Category

Communication

License

MIT

Transports

stdio

Author

yahyamohmuedpro99

Submitted by

yahya mohmued

About Email Server MCP Server

No overview available yet

#email-server#smtp#mailer

Email Server MCP Server config

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

{
  "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": "your-email@example.com",
        "SMTP_PASSWORD": "your-password",
        "EMAIL_FROM": "your-email@example.com",
        "SMTP_TIMEOUT": "30000"
      },
      "transportType": "stdio"
    }
  }
}

Email Server MCP Server 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.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Frequently asked questions

1

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`.

2

What transport type does Email Server use?

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

3

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.

4

What tools does Email Server provide?

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

5

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.

Comments

More Communication MCP servers