MCP Email Server

Integrations

  • Allows sending emails through Gmail's SMTP server with support for multiple recipients and file attachments.

  • Supports sending emails with XML files as attachments.

MCP 이메일 서버

이메일 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 LLM은 이메일을 작성하고 발송할 수 있으며, 지정된 디렉터리 내에서 첨부 파일을 검색할 수도 있습니다.

특징

  • 여러 수신자에게 이메일 보내기
  • 이메일 첨부 파일 지원
  • 패턴 매칭을 기반으로 디렉토리에서 파일 검색
  • SMTP를 이용한 안전한 이메일 전송

사용 가능한 도구

  • send_email - 제공된 제목, 본문, 수신자에 따라 이메일을 보냅니다.
    • receiver (문자열 배열, 필수): 수신자 이메일 주소 목록
    • body (문자열, 필수): 이메일의 주요 내용
    • subject (문자열, 필수): 이메일의 제목줄
    • attachments (문자열 배열 또는 문자열, 선택 사항): 이메일 첨부 파일(파일 이름)
  • search_attachments - 주어진 패턴과 일치하는 지정된 디렉토리의 파일을 검색합니다.
    • pattern (문자열, 필수): 파일 이름에서 검색할 텍스트 패턴

프롬프트

  • 이메일 보내기
    • 선택적인 첨부파일이 포함된 이메일 보내기
    • 인수:
      • receiver (필수): 수신자 이메일 주소 목록
      • body (필수): 이메일의 주요 내용
      • subject (필수): 이메일의 제목줄
      • attachments (선택 사항): 이메일 첨부 파일
  • 첨부파일 검색
    • 패턴과 일치하는 파일 검색
    • 인수:
      • pattern (필수): 파일 이름에서 검색할 텍스트 패턴

설치

pip 사용하기

필요한 종속성을 설치하세요:

지엑스피1

이메일 구성

SMTP 서버 구성이 포함된 email.json 파일:

[ { "domain": "@gmail.com", "server": "smtp.gmail.com", "port": 587 }, { "domain": "@outlook.com", "server": "smtp.office365.com", "port": 587 }, { "domain": "@yahoo.com", "server": "smtp.mail.yahoo.com", "port": 587 } ]

용법

서버 실행

다음을 사용하여 MCP 이메일 서버를 시작합니다.

python -m mcp_email_server (--dir /path/to/attachment/directory)

Claude.app에 대한 구성

Claude 설정에 추가:

콘다
{ "mcpServers": { "email": { "command": "D:\\conda\\envs\\mcp\\python.exe", "args": [ "C:\\Users\\YourUserName\\Desktop\\servers\\src\\email\\src\\mcp_server_email", "--dir", "C:\\Users\\YourUserName\\Desktop" ], "env": { "SENDER": "2593666979q@gmail.com", "PASSWORD": "tuogk......." } } } }
자외선
{ "mcpServers": { "email": { "command": "uv", "args": [ "~\\servers\\src\\email\\src\\mcp_server_email", "--dir", "C:\\Users\\YourUserName\\Desktop" ], "env": { "SENDER": "2593666979q@gmail.com", "PASSWORD": "tuogk......." } } } }

보안 참고 사항

  • Gmail 및 기타 서비스의 경우 앱별 비밀번호를 사용해야 할 수 있습니다.
  • 보안상의 이유로 서버는 제한된 첨부 파일 유형만 지원합니다.

지원되는 파일 유형

서버는 다음과 같은 첨부 파일 유형을 지원합니다.

  • 문서: doc, docx, xls, xlsx, ppt, pptx, pdf
  • 아카이브: zip, rar, 7z, tar, gz
  • 텍스트 파일: txt, log, csv, json, xml
  • 이미지: jpg, jpeg, png, gif, bmp
  • 기타: md

사용 예

이메일 보내기

{ "receiver": ["recipient@example.com"], "subject": "Test Email from MCP Server", "body": "This is a test email sent via the MCP Email Server.", "attachments": ["document.pdf", "image.jpg"] }

첨부 파일 검색

{ "pattern": "report" }

기여하다

MCP 이메일 서버 확장 및 개선을 위한 여러분의 참여를 기다립니다. 새로운 도구 추가, 기존 기능 개선, 문서 개선 등 어떤 목적이든 여러분의 의견은 소중합니다.

다른 MCP 서버 및 구현 패턴의 예는 https://github.com/modelcontextprotocol/servers를 참조하세요.

풀 리퀘스트를 환영합니다! MCP 이메일 서버를 더욱 강력하고 유용하게 만들어 줄 새로운 아이디어, 버그 수정, 개선 사항을 자유롭게 공유해 주세요.

특허

MCP 이메일 서버는 MIT 라이선스에 따라 라이선스가 부여됩니다. 즉, MIT 라이선스의 약관에 따라 소프트웨어를 자유롭게 사용, 수정 및 배포할 수 있습니다.

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

LLM이 첨부 파일이 있는 이메일을 작성하고 보내고, 주어진 패턴과 일치하는 지정된 디렉토리에서 파일을 검색할 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다.

  1. Features
    1. Available Tools
    2. Prompts
  2. Installation
    1. Using pip
    2. Email Configuration
  3. Usage
    1. Running the Server
    2. Configure for Claude.app
  4. Security Notes
    1. Supported File Types
      1. Example Usage
        1. Sending an Email
        2. Searching for Attachments
      2. Contributing
        1. License

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
            Last updated -
            10
            53
            Python
            MIT License
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.
            Last updated -
            31
            323
            2
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.
            Last updated -
            2
            Python
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.
            Last updated -
            TypeScript
            • Apple

          View all related MCP servers

          ID: 6q0abxepu2