Back to MCP directory
publicPublicdnsLocal runtime

mcp-email-client

基于Python的邮件客户端,支持配置管理、发送和读取未读邮件

article

README

🚀 邮件客户端 MCP

邮件客户端 MCP 是一款基于 Python 的电子邮件管理工具,它能帮助用户轻松管理邮件配置,实现邮件的发送与接收。同时,该客户端还为 Claude Desktop 提供了 MCP 支持,极大提升了使用的便利性。

🚀 快速开始

邮件客户端 MCP 为用户提供了便捷的邮件管理功能,可轻松实现邮件配置管理、邮件发送与接收。以下将详细介绍其使用步骤。

✨ 主要特性

  • 列出所有电子邮件配置
  • 添加新的电子邮件配置
  • 更新现有的电子邮件配置
  • 删除电子邮件配置
  • 使用指定的配置发送电子邮件
  • 阅读最新的 5 封未读邮件

📦 安装指南

克隆仓库

git clone https://github.com/gamalan/mcp-email-client.git
cd mcp-email-client

安装 uv

Linux/MacOS

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

安装依赖项

uv sync

📚 详细文档

使用 Claude Desktop 的配置示例

{
  "mcpServers": {
    "mcp_email_client": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "D:\\Project\\RepoPath", 
        "mcp-email-client"
      ]
    }
  }
}

在 VsCode 中的配置示例

{
    "servers": {
        "any-name": {
            "type": "stdio",
            "command": "/path/to/uv",
            "args": [
                "run",
                "--directory",
                "/path/to/repo",
                "run_mcp_server.py",
            ]
        }
    }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client