MailDevMcp
MailDevMcp
English | 日本語
mcp-name: io.github.pierre3/maildev-mcp
MailDev 用の MCP (Model Context Protocol) サーバーです。
AI 搭載エディターや MCP クライアントから直接、MailDev Docker コンテナを管理し、受信メールを検査できます。
このサーバーは、MCP クライアントが以下を必要とするローカル開発およびテスト自動化のシナリオを想定しています:
MailDev コンテナの起動または停止
受信トレイの内容の検査
アプリケーションの動作をトリガーした後のメールの待機
HTML 本文と添付ファイルの検査
添付ファイルの整合性をバイト単位で検証
インストール
グローバル .NET ツールとしてインストールします:
dotnet tool install -g MailDevMcpインストール後、maildev-mcp コマンドが使用可能になります。
Related MCP server: @injaan.dev/ms365-email-cli-mcp
MCP クライアント設定
以下を MCP クライアント設定 (例: Claude Desktop、VS Code など) に追加します:
{
"mcpServers": {
"maildev-mcp": {
"command": "maildev-mcp",
"env": {
"MAILDEV_API_PORT": "1080"
}
}
}
}環境変数
変数 | デフォルト | 説明 |
|
| MailDev REST API のポート番号 |
一般的なワークフロー
StartMaildevを呼び出してローカルの MailDev コンテナを起動しますアプリケーションにメール送信をトリガーさせます
配信が非同期の場合は
WaitForEmailを呼び出しますListEmails、SearchEmails、またはGetEmailを使用して結果を検査しますより詳細な検証が必要な場合は、
GetEmailHtml、GetAttachmentContent、またはVerifyAttachmentを使用しますDeleteEmail、DeleteAllEmails、またはStopMaildevでクリーンアップします
利用可能なツール
ツール | 説明 |
| SMTP ポート、API ポート、認証、TLS を設定可能な MailDev Docker コンテナを起動します |
| MailDev Docker コンテナを停止して削除します |
| MailDev の実行状態を確認します |
| 受信メールの一覧を取得します |
| 添付ファイル情報を含む、ID によるメールの詳細を取得します |
| ID によるメールの HTML 本文を取得します |
| 件名、送信者、または受信者で受信メールを検索します |
| ID による単一メールを削除します |
| 受信したすべてのメールを削除します |
| 指定した条件に一致する新しいメールが届くまで待機します (テスト自動化に便利です) |
| メール添付ファイルの Base64 エンコードされた生のコンテンツを取得します |
| メール添付ファイルが元のデータとバイト単位で一致することを検証します |
ツールの動作に関する注意事項
StartMaildevカスタム SMTP ポートと API ポートをサポートします
オプションの SMTP 認証をサポートします
空または空白のみの資格情報は認証無効として扱います
生成された自己署名証明書による TLS をサポートします
GetEmailおよびListEmails欠落または空の件名を
(no subject)として表示します欠落したアドレスリストを
(none)として表示します
WaitForEmail一致するメールが届くかタイムアウトに達するまで MailDev をポーリングします
ポーリング中に一時的な MailDev 接続障害が発生した場合、返されるメッセージで報告します
VerifyAttachmentBase64 エンコードされた元のペイロードを受け入れます
受信した添付ファイルをバイト単位で比較します
完全一致、サイズ不一致、またはコンテンツ不一致のいずれかを報告します
要件と前提条件
この MCP サーバーが実行されるマシンに Docker がインストールされ、利用可能である必要があります
MailDev は
localhost上の HTTP API を介してアクセスされますMCP クライアントで設定された API ポートは、Docker によって公開される MailDev API ポートと一致している必要があります
前提条件
.NET 10 SDK 以降
Docker (MailDev コンテナの実行用)
ソースからのビルド
git clone https://github.com/pierre3/MailDevMcp.git
cd MailDevMcp
dotnet pack -c Release
dotnet tool install -g --add-source ./bin/Release MailDevMcpライセンス
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides MCP tools for setting up and managing Hephaestus development environment with Docker containers, including starting/stopping services, initializing databases, and troubleshooting.7MIT
- AlicenseAqualityDmaintenanceDeprecated MCP server wrapper for ms365-email-cli that exposes Microsoft 365 email operations (list, read, send, reply, search, etc.) as MCP tools. Use the main ms365-email-cli package instead, which now includes built-in MCP server support.1030ISC
- FlicenseNot gradedqualityCmaintenanceCentralizes Thunderbird email operations as MCP tools: read, send, draft, search, attachments.
- FlicenseAqualityBmaintenanceProvides a dummy SMTP server for catching emails during development, with MCP tools to list, retrieve, and manage received messages.4
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
MCP tools for TON Sites, TON DNS and TON Storage.
Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pierre3/MailDevMcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server