邮件服务器客户端

通过Proton Bridge为Proton Mail提供MCP服务器功能的工具。

  • by darbinreyes
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 darbinreyes/proton-mail-mcp

使用说明

质子邮件mcp

用于质子邮件的MCP服务器 质子桥.

需求

  • Python 3.13+
  • 紫外线
  • 质子桥在本地运行(使用 proton-bridge --cli 用于无头/服务器部署)

安装

uv pip install -e ".[dev]"

用法

proton_mail_mcp serve

或者作为一个模块:

python -m proton_mail_mcp serve

配置

复制 .env.example 到 .env 并填写您的Bridge凭据:

cp .env.example .env

发展

# Run tests
pytest

# Run tests across Python versions
tox

# Lint / format
ruff check .
ruff format .

MCP工具

工具 说明
ping 验证MCP管道——返回 "pong from proton-mcp"