SMTP MCP
v0.2.0io.github.ni-c/smtp-mcp
MCP server that sends mail over SMTP, gated behind an allowlist and a human confirmation
transport:stdio
runtime:npm
Target client
run in your project directory
claude mcp add smtp-mcp -e SMTP_HOST=<SMTP_HOST> -e SMTP_PORT=<SMTP_PORT> -e SMTP_TLS=<SMTP_TLS> -e SMTP_USER=<SMTP_USER> -e SMTP_PASSWORD=<SMTP_PASSWORD> -e SMTP_FROM=<SMTP_FROM> -e SMTP_REPLY_TO=<SMTP_REPLY_TO> -e SMTP_ALLOW_SEND=<SMTP_ALLOW_SEND> -e SMTP_ALLOWED_RECIPIENTS=<SMTP_ALLOWED_RECIPIENTS> -e SMTP_MAX_RECIPIENTS=<SMTP_MAX_RECIPIENTS> -e SMTP_MAX_SENDS_PER_HOUR=<SMTP_MAX_SENDS_PER_HOUR> -e SMTP_MAX_MESSAGE_BYTES=<SMTP_MAX_MESSAGE_BYTES> -e SMTP_MAX_ATTACHMENT_BYTES=<SMTP_MAX_ATTACHMENT_BYTES> -e SMTP_ATTACHMENT_DIR=<SMTP_ATTACHMENT_DIR> -e SMTP_ATTACHMENT_TYPES=<SMTP_ATTACHMENT_TYPES> -e SMTP_SIGNATURE=<SMTP_SIGNATURE> -e SMTP_AUDIT_LOG=<SMTP_AUDIT_LOG> -e SMTP_ALLOW_TOOLS=<SMTP_ALLOW_TOOLS> -e SMTP_DENY_TOOLS=<SMTP_DENY_TOOLS> -e SMTP_INSECURE_TLS=<SMTP_INSECURE_TLS> -- npx -y @ni-c/smtp-mcp
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs
This listing does not declare its tools. Connect the server and your client will discover them on the handshake.