SMTP

io.github.ni-c/smtp-mcp

MCP server that sends mail over SMTP, gated behind an allowlist and a human confirmation

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "smtp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/smtp-mcp@0.2.0"
      ],
      "env": {
        "SMTP_HOST": "<your SMTP_HOST>",
        "SMTP_USER": "<your SMTP_USER>",
        "SMTP_PASSWORD": "<your SMTP_PASSWORD>",
        "SMTP_FROM": "<your SMTP_FROM>"
      }
    }
  }
}
Environment variables
  • SMTP_HOSTrequiredHostname of the SMTP server, e.g. smtp.example.net.
  • SMTP_USERrequiredUsername for SMTP authentication.
  • SMTP_PASSWORDrequiredsecretPassword or app-specific password for SMTP authentication.
  • SMTP_FROMrequiredThe only sender this server will use, e.g. "Name <person@example.net>". There is no from parameter.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.2.0
Registry
active
Published
9/7/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that SMTP is listed here — it’s also the link we check for a free listing.

SMTP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-ni-c-smtp-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="SMTP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![SMTP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-ni-c-smtp-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.