The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Maildev MCP listing page.
English | 日本語
mcp-name: io.github.pierre3/maildev-mcp
An MCP (Model Context Protocol) server for MailDev.
Manage MailDev Docker containers and inspect received emails directly from your AI-powered editor or MCP client.
This server is intended for local development and test automation scenarios where an MCP client needs to:
Install as a global .NET tool:
After installation, the maildev-mcp command becomes available.
Add the following to your MCP client settings (e.g. Claude Desktop, VS Code, etc.):
| Variable | Default | Description |
|---|---|---|
MAILDEV_API_PORT | 1080 | Port number for the MailDev REST API |
StartMaildev to launch a local MailDev containerWaitForEmail if delivery is asynchronousListEmails, SearchEmails, or GetEmail to inspect the resultGetEmailHtml, GetAttachmentContent, or VerifyAttachment when deeper validation is neededDeleteEmail, DeleteAllEmails, or StopMaildev| Tool | Description |
|---|---|
StartMaildev | Start the MailDev Docker container with configurable SMTP port, API port, authentication, and TLS |
StopMaildev | Stop and remove the MailDev Docker container |
MaildevStatus | Check the running status of MailDev |
ListEmails | Retrieve the list of received emails |
GetEmail | Get the details of an email by ID, including attachment information |
GetEmailHtml | Get the HTML body of an email by ID |
SearchEmails | Search received emails by subject, sender, or recipient |
DeleteEmail | Delete a single email by ID |
DeleteAllEmails | Delete all received emails |
WaitForEmail | Wait until a new email matching given criteria arrives (useful for test automation) |
GetAttachmentContent | Get the raw Base64-encoded content of an email attachment |
VerifyAttachment | Verify that an email attachment matches the original data by byte-by-byte comparison |
StartMaildev
GetEmail and ListEmails
(no subject)(none)WaitForEmail
VerifyAttachment
localhost