Back to MCP directory
publicPublicdnsLocal runtime

ai-zerolab_mcp-email-server

一个通过MCP服务器提供IMAP和SMTP邮件服务的工具

article

README

🚀 邮件服务器(基于MCP协议)

本项目通过MCP服务器实现IMAP和SMTP功能,为邮件服务提供了一种新的实现方案,可与多种客户端集成,方便用户使用。

最新版本 构建状态 codecov 提交活动 许可证 smithery徽章

🚀 快速开始

本项目通过MCP服务器实现了IMAP和SMTP功能,可用于邮件服务。下面将介绍安装和使用的相关内容。

📦 安装指南

手动安装

我们推荐使用 uv 来管理您的环境。 尝试 uvx mcp-email-server@latest ui 来配置,并使用以下配置为mcp客户端:

{
  "mcpServers": {
    "zerolib-email": {
      "command": "uvx",
      "args": ["mcp-email-server@latest", "stdio"]
    }
  }
}

此包在PyPI上可用,因此您可以使用 pip install mcp-email-server 进行安装。 之后,通过UI配置您的邮件服务器:mcp-email-server ui 然后您可以在 Claude Desktop 中尝试它。如果要与其他mcp客户端集成,请运行 $which mcp-email-server 获取路径并在客户端中进行如下配置:

{
  "mcpServers": {
    "zerolib-email": {
      "command": "{{ ENTRYPOINT }}",
      "args": ["stdio"]
    }
  }
}

如果您有可用的 docker,可以尝试使用 docker 镜像,但可能需要通过 MCPtools 进行配置。默认配置路径为 ~/.config/zerolib/mcp_email_server/config.toml

{
  "mcpServers": {
    "zerolib-email": {
      "command": "docker",
      "args": ["run", "-it", "ghcr.io/ai-zerolab/mcp-email-server:latest"]
    }
  }
}

通过Smithery安装

要通过 Smithery 自动安装Claude Desktop的邮件服务器:

# 暂未提供中文翻译内容。

📚 详细文档

开发

项目使用 uv 进行管理,您可以通过以下方式运行本地开发环境并启动服务。

发布新版本

要创建新的发行版,请按照以下步骤操作:

  1. 在GitHub上为新版本创建标签。
  2. 确保在PyPI上设置API令牌以进行发布。
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