Skip to content

Development

Development

git clone https://github.com/alex-pradas/mcp-proton-email.git
cd mcp-proton-email
uv sync
uv run pytest                 # policy gating, path safety, send gate,
                              # parsing — no Bridge required

To run your working copy instead of the PyPI release, register it with: -- uv run --directory /path/to/your/clone python -m mcp_proton_email.

Two live smoke scripts run against your real Bridge:

PROTONMCP_USERNAMES=you@example.com uv run python scripts/live_smoke_read.py
# read-only: folders, search, message fetch, threads — changes nothing

PROTONMCP_USERNAMES=you@example.com uv run python scripts/live_smoke_write.py
# mutations ONLY on a draft it creates itself, which ends in Trash

Maintainer release process: see RELEASING.md.