SMTP Email MCP Server

SSE

by samihalawa

17 432 downloads Not rated yet

About

A Model Context Protocol server for SMTP email services

Details

Transport
SSE

Explore

- Multiple SMTP Configurations: Configure and manage multiple SMTP servers
- Email Templates: Create, update, and use reusable email templates
- Bulk Email Sending: Send emails to multiple recipients with batching and rate limiting
- HTML Support: Full HTML support for rich email content
- Logging: Comprehensive logging of all email activities
- Template Variables: Dynamic content using template variables

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name SMTP Email MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Add the server to your MCP configuration:

{
  "servers": {
    "smtp-email-server": {
      "command": "/path/to/node",
      "args": ["/path/to/mcp-server-smtp/build/index.js"],
      "enabled": true,
      "port": 3007,
      "environment": {
        "NODE_PATH": "/path/to/node_modules",
        "PATH": "/usr/local/bin:/usr/bin:/bin"
      }
    }
  }
}

To install SMTP Email Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @samihalawa/mcp-server-smtp --client claude

npm install

Get all configured SMTP servers.

Parameters: None

Add a new SMTP server configuration.

Parameters:
- name: Name for the configuration
- host: SMTP server hostname
- port: SMTP server port
- secure: Whether to use SSL/TLS
- auth: Authentication credentials (user and pass)
- isDefault: (Optional) Whether this is the default configuration

Update an existing SMTP server configuration.

Parameters:
- id: ID of the configuration to update
- name: Name for the configuration
- host: SMTP server hostname
- port: SMTP server port
- secure: Whether to use SSL/TLS
- auth: Authentication credentials (user and pass)
- isDefault: (Optional) Whether this is the default configuration

Delete an SMTP server configuration.

Parameters:
- id: ID of the configuration to delete

1. Configure an SMTP server:


add-smtp-config(
name: "Gmail",
host: "smtp.gmail.com",
port: 587,
secure: false,
auth: {
user: "[email protected]",
pass: "your-app-password"
},
isDefault: true
)

2. Create an email template:

add-email-template(
name: "Welcome Email",
subject: "Welcome to {{company}}!",
body: "<h1>Hello {{name}},</h1><p>Welcome to {{company}}!</p>",
isDefault: false
)

3. Send an email using a template:

send-email(
to: [{ email: "[email protected]", name: "John Doe" }],
templateId: "welcome-email",
templateData: {
name: "John",
company: "ACME Corp"
}
)

4. Send bulk emails:

send-bulk-emails(
recipients: [
{ email: "[email protected]", name: "User 1" },
{ email: "[email protected]", name: "User 2" }
],
subject: "Important Announcement",
body: "<p>This is an important announcement.</p>",
batchSize: 10,
delayBetweenBatches: 1000
)
```

send-email

Send an email to one or more recipients

send-bulk-emails

Send emails in bulk to multiple recipients with rate limiting

get-smtp-configs

Get all SMTP configurations

add-smtp-config

Add a new SMTP configuration

update-smtp-config

Update an existing SMTP configuration

delete-smtp-config

Delete an SMTP configuration

get-email-templates

Get all email templates

add-email-template

Add a new email template

update-email-template

Update an existing email template

delete-email-template

Delete an email template

get-email-logs

Get logs of all email sending activity

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "smtp email mcp server": {
            "mcp-server-smtp": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "@samihalawa/mcp-server-smtp",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-smtp": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "@samihalawa/mcp-server-smtp",
            "--client",
            "claude"
        ]
    }
}

smithery badge

A Model Context Protocol (MCP) server that provides email sending capabilities for Claude and other MCP-compatible AI assistants.

Features

- Multiple SMTP Configurations: Configure and manage multiple SMTP servers
- Email Templates: Create, update, and use reusable email templates
- Bulk Email Sending: Send emails to multiple recipients with batching and rate limiting
- HTML Support: Full HTML support for rich email content
- Logging: Comprehensive logging of all email activities
- Template Variables: Dynamic content using template variables

Installation

Installing via Smithery

To install SMTP Email Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @samihalawa/mcp-server-smtp --client claude

Manual Installation

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.