1. send_email
Sends emails based on the provided subject, body, and receiver.
2. search_attachments
Searches for files in a specified directory that match a given pattern.
MCP Email Server is a Model Context Protocol server that enables LLMs to compose and send emails with attachments, and search for files in directories using pattern matching for secure email transmission.
{
"mcpServers": {
"email": {
"command": "python",
"args": [
"-m",
"mcp_email_server",
"--dir",
"/path/to/attachment/directory"
],
"env": {
"SENDER": "your-email@example.com",
"PASSWORD": "your-app-password"
}
}
}
}