Skip to content

rohitdutt-04/email-sender-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP Email Sender

A Model Context Protocol (MCP) compatible email sender tool that allows you to send emails using SMTP (Gmail).

Features

  • Send email notifications with custom content
  • Uses secure SMTP for email delivery
  • Built with TypeScript and MCP SDK

Prerequisites

  • Node.js (v14 or higher)
  • npm
  • Gmail account with app-specific password

Installation

npm install @vision_123/mcp-email-sender

Usage

You can use this tool in your MCP configuration as follows:

{
  "email-sender": {
    "command": "npx",
    "args": [
      "-y",
      "@vision_123/mcp-email-sender"
    ],
    "env": {
      "USER": "[email protected]",
      "PASS": "your-app-specific-password"
    }
  }
}

Environment Variables

  • USER: Your Gmail email address
  • PASS: Your Gmail app-specific password (Generate this from your Google Account settings)

Tool Commands

The tool provides the following command:

  • send-email: Send an email with custom content
    • Parameters:
      • to: Recipient email address
      • subject: Subject of the email
      • body: Body content of the email

Development

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build

Available Tools

send-email

Sends an email with custom content.

Parameters:

  • to: Recipient email address
  • subject: Subject of the email
  • body: Body content of the email

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published