Skip to main content
Glama
pierre3

MailDevMcp

by pierre3

MailDevMcp

English | 日本語

CI NuGet

mcp 이름: io.github.pierre3/maildev-mcp

MailDevMCP(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_API_PORT

1080

MailDev REST API 포트 번호

일반적인 워크플로우

  1. StartMaildev를 호출하여 로컬 MailDev 컨테이너 시작

  2. 애플리케이션에서 이메일을 보내도록 트리거

  3. 배송이 비동기인 경우 WaitForEmail 호출

  4. ListEmails, SearchEmails 또는 GetEmail을 사용하여 결과 검사

  5. 더 깊은 검증이 필요한 경우 GetEmailHtml, GetAttachmentContent 또는 VerifyAttachment 사용

  6. DeleteEmail, DeleteAllEmails 또는 StopMaildev로 정리

사용 가능한 도구

도구

설명

StartMaildev

SMTP 포트, API 포트, 인증 및 TLS를 구성하여 MailDev Docker 컨테이너 시작

StopMaildev

MailDev Docker 컨테이너 중지 및 제거

MaildevStatus

MailDev의 실행 상태 확인

ListEmails

수신된 이메일 목록 조회

GetEmail

첨부 파일 정보를 포함한 이메일 ID별 상세 정보 조회

GetEmailHtml

이메일 ID별 HTML 본문 조회

SearchEmails

제목, 발신자 또는 수신자로 수신된 이메일 검색

DeleteEmail

ID로 단일 이메일 삭제

DeleteAllEmails

수신된 모든 이메일 삭제

WaitForEmail

지정된 조건과 일치하는 새 이메일이 도착할 때까지 대기(테스트 자동화에 유용)

GetAttachmentContent

이메일 첨부 파일의 원본 Base64 인코딩 콘텐츠 조회

VerifyAttachment

이메일 첨부 파일이 원본 데이터와 바이트 단위로 일치하는지 검증

도구 동작 참고 사항

  • StartMaildev

    • 사용자 지정 SMTP 및 API 포트 지원

    • 선택적 SMTP 인증 지원

    • 비어 있거나 공백만 있는 자격 증명은 인증 비활성화로 처리

    • 생성된 자체 서명 인증서로 TLS 지원

  • GetEmailListEmails

    • 누락되거나 비어 있는 제목을 (no subject)로 렌더링

    • 누락된 주소 목록을 (none)으로 렌더링

  • WaitForEmail

    • 일치하는 이메일이 도착하거나 제한 시간에 도달할 때까지 MailDev를 폴링

    • 폴링 중 발생한 일시적인 MailDev 연결 실패를 반환 메시지에 보고

  • VerifyAttachment

    • Base64로 인코딩된 원본 페이로드 수락

    • 수신된 첨부 파일을 바이트 단위로 비교

    • 정확히 일치, 크기 불일치 또는 콘텐츠 불일치를 보고

요구 사항 및 가정

  • Docker가 설치되어 있고 이 MCP 서버가 실행되는 동일한 머신에서 사용 가능해야 함

  • MailDev는 localhost의 HTTP API를 통해 접근됨

  • MCP 클라이언트에 구성된 API 포트는 Docker가 노출하는 MailDev API 포트와 일치해야 함

사전 요구 사항

소스에서 빌드

git clone https://github.com/pierre3/MailDevMcp.git
cd MailDevMcp
dotnet pack -c Release
dotnet tool install -g --add-source ./bin/Release MailDevMcp

라이선스

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
2Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    Deprecated 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.
    10
    30
    ISC

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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