drio
Open app

SMTP Email MCP Server

Source

A Model Context Protocol server for SMTP email services

Catalog onlyCatalog onlySTDIO

Overview

SMTP MCP Server is a Model Context Protocol (MCP) server designed for sending emails via SMTP, featuring template management and bulk email capabilities.

To use the SMTP MCP Server, clone the repository, install dependencies, and run the server. Configure SMTP settings and email templates in the user's home directory.

  • Send emails via SMTP - Send bulk emails with rate limiting - Manage multiple SMTP configurations - Create and manage email templates with variable substitution - Set default SMTP configuration and email template
  1. Sending personalized emails using templates
  2. Managing multiple email accounts for bulk marketing campaigns
  3. Automating email notifications for applications

Add to your AI client

Use these steps to connect SMTP Email MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-smtp-samihalawa": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-smtp-samihalawa"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-smtp-samihalawa": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-smtp-samihalawa"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-smtp-samihalawa": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-smtp-samihalawa"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-smtp-samihalawa": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-smtp-samihalawa"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-smtp-samihalawa": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-smtp-samihalawa"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-smtp-samihalawa": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-smtp-samihalawa"
      ]
    }
  }
}

FAQ

Can I use my own SMTP server?

Yes! You can configure your own SMTP server settings.

Is there a limit on the number of emails I can send?

The server supports bulk sending with rate limiting to prevent abuse.

How do I manage email templates?

You can create, update, and delete email templates through the server's management tools.