MCP.so
Sign In

Email Server

@yahyamohmuedpro99

About Email Server

No overview available yet

Basic information

Category

Communication

License

MIT

Runtime

node

Transports

stdio

Publisher

yahyamohmuedpro99

Submitted by

yahya mohmued

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": "[email protected]",
        "SMTP_PASSWORD": "your-password",
        "EMAIL_FROM": "[email protected]",
        "SMTP_TIMEOUT": "30000"
      },
      "transportType": "stdio"
    }
  }
}

Tools

No tools detected

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.

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.

Comments

More Communication MCP servers