About Mail MCP Server
Mail MCP Server is an MCP server published by RjRaju143 in the Developer Tools category: 一个基于Spring AI的MCP Server,实现了调用邮箱服务发送邮件的MCP Tool.
The repository has 1 stars and 0 forks, with the last commit 4 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/RjRaju143/mail_mcp_serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Mail MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Mail MCP Server
A Model Context Protocol (MCP) server for email functionality built with TypeScript and Express.
Features
- Send emails via SMTP
- Retrieve email history
- Delete emails
- Get latest email
- MCP protocol integration
Dependencies
- nodemailer - Email sending
- @modelcontextprotocol/sdk - MCP protocol support
- express - Web framework
- typescript - Type safety
- vitest - Testing framework
Setup
npm install
Configuration
Create a .env file with your email settings:
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-app-password
EMAIL_FROM=your-email@gmail.com
Usage
Development
npm run dev
Build
npm run build
Start
npm start
Test
npm test
How to Use
Add this server to your MCP client configuration. The server provides the following tools:
send_email- Send an email to a recipientget_emails- Retrieve email history with optional limitdelete_email- Delete an email by IDget_latest_email- Get the most recent email
MCP Configuration
Add this to your MCP client configuration file:
{
"mcpServers": {
"mail-server": {
"command": "npx",
"args": ["tsx", "/path/to/mail-mcp-server/dist/index.js"],
"env": {
"EMAIL_HOST": "smtp.gmail.com",
"EMAIL_PORT": "587",
"EMAIL_USER": "your-email@gmail.com",
"EMAIL_PASS": "your-app-password",
"EMAIL_FROM": "your-email@gmail.com"
}
}
}
}
README fetched from the repository 7 days ago. The original is authoritative.