Package

SMTP

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

io.github.ni-c/smtp-mcpSource repository
Version0.2.0latest catalog version
ConnectionPackagenpm · oci
PublishedSep 07, 2026catalog
UpdatedSep 07, 2026catalog
Overview

What this server provides

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

Install

Packages

2
Package 1npm
@ni-c/smtp-mcp0.2.0
  • SMTP_HOST

    Hostname of the SMTP server, e.g. smtp.example.net.

    Format: string
    Required
  • SMTP_PORT

    Port. Defaults to 587 for starttls, 465 for implicit, 25 for none.

    Format: number
    Optional
  • SMTP_TLS

    starttls (default), implicit or none. STARTTLS is required, never opportunistic.

    Format: string
    Optional
  • SMTP_USER

    Username for SMTP authentication.

    Format: string
    Required
  • SMTP_PASSWORD

    Password or app-specific password for SMTP authentication.

    Format: string
    Required
  • SMTP_FROM

    The only sender this server will use, e.g. "Name <[email protected]>". There is no from parameter.

    Format: string
    Required
  • SMTP_REPLY_TO

    Reply-To header on every message, e.g. "Team <[email protected]>". Unset means no Reply-To header and replies go to SMTP_FROM. There is no reply_to parameter.

    Format: string
    Optional
  • SMTP_ALLOW_SEND

    Set to "true" to register the sending tools. Defaults to false: the server cannot send until it is set.

    Format: boolean
    Optional
  • SMTP_ALLOWED_RECIPIENTS

    Comma-separated addresses and @domains this server may write to. Required with SMTP_ALLOW_SEND=true; "*" allows any.

    Format: string
    Optional
  • SMTP_MAX_RECIPIENTS

    Maximum distinct recipients across To, Cc and Bcc in one message. Default 10.

    Format: number
    Optional
  • SMTP_MAX_SENDS_PER_HOUR

    Sliding hourly cap on messages sent. Default 20.

    Format: number
    Optional
  • SMTP_MAX_MESSAGE_BYTES

    Maximum size of the composed message. Default 10485760.

    Format: number
    Optional
  • SMTP_MAX_ATTACHMENT_BYTES

    Maximum size of a single attachment. Default 5242880.

    Format: number
    Optional
  • SMTP_ATTACHMENT_DIR

    Directory attachments are read from. Unset means attachments are unavailable.

    Format: string
    Optional
  • SMTP_ATTACHMENT_TYPES

    Comma-separated content types that may be attached. Defaults to a document and image allowlist.

    Format: string
    Optional
  • SMTP_SIGNATURE

    Text appended below the standard signature delimiter of every message.

    Format: string
    Optional
  • SMTP_AUDIT_LOG

    File the audit lines are appended to, in addition to stderr.

    Format: string
    Optional
  • SMTP_ALLOW_TOOLS

    Comma-separated tool names, a prefix with one trailing *, or "essential" for the curated preset.

    Format: string
    Optional
  • SMTP_DENY_TOOLS

    Comma-separated tool names or prefixes to remove, applied after SMTP_ALLOW_TOOLS.

    Format: string
    Optional
  • SMTP_INSECURE_TLS

    Set to "true" to accept self-signed certificates. Prefer a proper internal CA.

    Format: boolean
    Optional
Package 2oci
ghcr.io/ni-c/smtp-mcp:0.2.0Version not declared
  • SMTP_HOST

    Hostname of the SMTP server, e.g. smtp.example.net.

    Format: string
    Required
  • SMTP_PORT

    Port. Defaults to 587 for starttls, 465 for implicit, 25 for none.

    Format: number
    Optional
  • SMTP_TLS

    starttls (default), implicit or none. STARTTLS is required, never opportunistic.

    Format: string
    Optional
  • SMTP_USER

    Username for SMTP authentication.

    Format: string
    Required
  • SMTP_PASSWORD

    Password or app-specific password for SMTP authentication.

    Format: string
    Required
  • SMTP_FROM

    The only sender this server will use, e.g. "Name <[email protected]>". There is no from parameter.

    Format: string
    Required
  • SMTP_REPLY_TO

    Reply-To header on every message, e.g. "Team <[email protected]>". Unset means no Reply-To header and replies go to SMTP_FROM. There is no reply_to parameter.

    Format: string
    Optional
  • SMTP_ALLOW_SEND

    Set to "true" to register the sending tools. Defaults to false: the server cannot send until it is set.

    Format: boolean
    Optional
  • SMTP_ALLOWED_RECIPIENTS

    Comma-separated addresses and @domains this server may write to. Required with SMTP_ALLOW_SEND=true; "*" allows any.

    Format: string
    Optional
  • SMTP_MAX_RECIPIENTS

    Maximum distinct recipients across To, Cc and Bcc in one message. Default 10.

    Format: number
    Optional
  • SMTP_MAX_SENDS_PER_HOUR

    Sliding hourly cap on messages sent. Default 20.

    Format: number
    Optional
  • SMTP_MAX_MESSAGE_BYTES

    Maximum size of the composed message. Default 10485760.

    Format: number
    Optional
  • SMTP_MAX_ATTACHMENT_BYTES

    Maximum size of a single attachment. Default 5242880.

    Format: number
    Optional
  • SMTP_ATTACHMENT_DIR

    Directory attachments are read from. Unset means attachments are unavailable.

    Format: string
    Optional
  • SMTP_ATTACHMENT_TYPES

    Comma-separated content types that may be attached. Defaults to a document and image allowlist.

    Format: string
    Optional
  • SMTP_SIGNATURE

    Text appended below the standard signature delimiter of every message.

    Format: string
    Optional
  • SMTP_AUDIT_LOG

    File the audit lines are appended to, in addition to stderr.

    Format: string
    Optional
  • SMTP_ALLOW_TOOLS

    Comma-separated tool names, a prefix with one trailing *, or "essential" for the curated preset.

    Format: string
    Optional
  • SMTP_DENY_TOOLS

    Comma-separated tool names or prefixes to remove, applied after SMTP_ALLOW_TOOLS.

    Format: string
    Optional
  • SMTP_INSECURE_TLS

    Set to "true" to accept self-signed certificates. Prefer a proper internal CA.

    Format: boolean
    Optional
View server metadata