Back to Home
wingsky-1 icon

email-mcp-server

Verified Safe

by wingsky-1

Overview

Provides email sending, validation, and configuration checking capabilities to AI assistants via the Model Context Protocol.

Installation

Run Command
uv run python -m email_mcp_server

Environment Variables

  • EMAIL_ADDRESS
  • EMAIL_PASSWORD
  • LOG_LEVEL
  • LOG_FILE
  • MAX_ATTACHMENT_SIZE
  • TEMP_DIR
  • DOWNLOAD_TIMEOUT
  • MAX_RETRIES
  • REQUIRE_CONFIRMATION
  • SMTP_SERVER
  • SMTP_PORT
  • SMTP_USE_TLS
  • SMTP_USE_SSL

Security Notes

Secrets are handled via environment variables, not hardcoded. Extensive input validation using Pydantic models for email formats, paths, and attachment sizes. Includes an interactive email confirmation feature to prevent unintended sends. Handles local file access (requiring absolute paths and validating them) and remote URL downloads (with size limits and retries), which are inherent risks requiring careful server execution environment and input sanitization.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens100
Stars0
Forks0
Last Update2025-11-23

Tags

EmailMCPAI AssistantPythonSMTPAttachments