A Model Context Protocol (MCP) compatible email sender tool that allows you to send emails using SMTP (Gmail).
- Send email notifications with custom content
- Uses secure SMTP for email delivery
- Built with TypeScript and MCP SDK
- Node.js (v14 or higher)
- npm
- Gmail account with app-specific password
npm install @vision_123/mcp-email-sender
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"
}
}
}
USER
: Your Gmail email addressPASS
: Your Gmail app-specific password (Generate this from your Google Account settings)
The tool provides the following command:
send-email
: Send an email with custom content- Parameters:
to
: Recipient email addresssubject
: Subject of the emailbody
: Body content of the email
- Parameters:
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
Sends an email with custom content.
Parameters:
to
: Recipient email addresssubject
: Subject of the emailbody
: Body content of the email
ISC