Epost
БесплатноНе проверенEnables listing and downloading scanned letters from the Swiss ePost digital letterbox through browser automation, requiring manual SwissID login for session es
Описание
Enables listing and downloading scanned letters from the Swiss ePost digital letterbox through browser automation, requiring manual SwissID login for session establishment.
README
MCP server for the Swiss ePost digital letterbox (app.epost.ch) — list and download your scanned letters (Scanning-Service) from any MCP client.
ePost has no public retrieval API for private customers (the public APIs cover sending only). This server therefore drives the web portal with Playwright browser automation. It is inherently fragile: portal updates can break it, and it depends on your interactive SwissID login.
How it works
- A persistent Chromium profile (
~/.epost-mcp/profile) keeps the SwissID/ePost session between runs. - When the session has expired, the
epost_logintool opens a visible browser window; you complete the SwissID login (incl. 2FA) yourself. Everything else runs headless. - Downloads go through the portal's own download button — no undocumented token endpoints.
Tools
| Tool | Purpose |
|---|---|
epost_status |
ok or login_required |
epost_login |
opens a visible window for the SwissID login (waits up to 8 min) |
epost_list_letters |
index, sender, title, dates of every letter in the letterbox |
epost_download_letter |
download one letter (index, output_dir) |
epost_download_all |
download everything to output_dir |
Install
git clone [email protected]:sapn95/epost-mcp.git
cd epost-mcp
npm install
npx playwright install chromium # skip if a playwright chromium is already cached
Register with your MCP client, e.g. Claude Code:
claude mcp add --scope user epost -- node /path/to/epost-mcp/index.js
Env
| Variable | Default | Purpose |
|---|---|---|
EPOST_PROFILE |
~/.epost-mcp/profile |
browser profile dir (holds the session — treat as secret) |
EPOST_CHROMIUM |
auto-detect | chromium executable override |
Caveats
- Private use for your own letterbox. Respect ePost's terms of service.
- The profile directory contains live session cookies — never commit or share it.
- JSF component ids in the portal are unstable; selectors use CSS classes and labels with fallbacks, but expect occasional breakage after ePost releases.
- SwissID uses session cookies, so a session does not always survive a browser restart — expect to run
epost_loginat the start of a session. Within one running server instance the session stays warm across calls.
Установка Epost
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/sapn95/epost-mcpFAQ
Epost MCP бесплатный?
Да, Epost MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Epost?
Нет, Epost работает без API-ключей и переменных окружения.
Epost — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Epost в Claude Desktop, Claude Code или Cursor?
Открой Epost на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare Epost with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
