This server wraps the MailDev email testing tool with MCP, giving you programmatic control over a Docker container running a local SMTP sink. You get tools to start and stop the container with configurable ports and auth, then inspect received emails through MailDev's REST API. The workflow is built for test automation: trigger your app to send mail, call WaitForEmail to poll until it arrives, then use GetEmail, SearchEmails, or GetEmailHtml to validate the result. You can also pull attachment content as base64 or run byte-by-byte verification against expected payloads. Useful when you're testing email flows locally and want your AI assistant to orchestrate the SMTP environment and assertion logic without manual Docker or API wrangling.
claude mcp add --transport stdio pierre3-maildevmcp uvx maildev-mcp