LocalFree server, account needed

SMTP MCP server

ni-c/smtp-mcp

Send, reply to and forward mail over SMTP, restricted to a recipient allowlist, with each message approved by a person before sending.

0 GitHub stars

Install SMTP in Claude Code

npm

Claude Code
claude mcp add smtp -e SMTP_HOST=... -e SMTP_USER=... -e SMTP_PASSWORD=... -e SMTP_FROM=... -- npx -y @ni-c/smtp-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "smtp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/smtp-mcp"
      ],
      "env": {
        "SMTP_HOST": "...",
        "SMTP_USER": "...",
        "SMTP_PASSWORD": "...",
        "SMTP_FROM": "..."
      }
    }
  }
}

Docker

Claude Code
claude mcp add smtp -e SMTP_HOST=... -e SMTP_USER=... -e SMTP_PASSWORD=... -e SMTP_FROM=... -- docker run -i --rm -e SMTP_HOST -e SMTP_USER -e SMTP_PASSWORD -e SMTP_FROM ghcr.io/ni-c/smtp-mcp:0.2.0
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "smtp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SMTP_HOST",
        "-e",
        "SMTP_USER",
        "-e",
        "SMTP_PASSWORD",
        "-e",
        "SMTP_FROM",
        "ghcr.io/ni-c/smtp-mcp:0.2.0"
      ],
      "env": {
        "SMTP_HOST": "...",
        "SMTP_USER": "...",
        "SMTP_PASSWORD": "...",
        "SMTP_FROM": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the SMTP MCP server do?

Send, reply to and forward mail over SMTP, restricted to a recipient allowlist, with each message approved by a person before sending.

Is the SMTP MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does SMTP run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add SMTP to Claude Code?

Run: claude mcp add smtp -e SMTP_HOST=... -e SMTP_USER=... -e SMTP_PASSWORD=... -e SMTP_FROM=... -- npx -y @ni-c/smtp-mcp

More communication MCP servers

View all