Pingen
БесплатноПоддерживаетсяMCP server for Pingen — send physical letters, mass-mailing batches, and Swiss eBill invoices via the Pingen API. 19 tools, OAuth2 client_credentials, α-gate de
Описание
MCP server for Pingen — send physical letters, mass-mailing batches, and Swiss eBill invoices via the Pingen API. 19 tools, OAuth2 client_credentials, α-gate destructive-confirmation.
README
Pingen hybrid mail MCP server — send physical letters, mass-mailing batches, and Swiss eBill invoices via the Pingen API.
Tools (v0.1.0, 19 tools)
Letters (8)
pingen_letter_list— list letters with status/date filters and paginationpingen_letter_get— fetch a single letter by UUIDpingen_letter_calculate_price— price estimate (currency, price) before sendingpingen_letter_create— upload PDF and create a draft letter (auto_sendhard-forced tofalse)pingen_letter_edit— update delivery settings or metadata on a draft letterpingen_letter_send⚠️ — trigger postal delivery (α-gate, bulk-capable)pingen_letter_cancel⚠️ — cancel a letter before printing (α-gate, bulk-capable)pingen_letter_delete⚠️ — soft-delete a letter (α-gate, bulk-capable)
Letter Events (1)
pingen_letter_list_issues— fetch validation issues for a letter (file errors, address errors)
Batches (5)
pingen_batch_list— list mass-mailing batchespingen_batch_get— fetch batch details, optionally with embedded letterspingen_batch_create— upload PDF and create a batch (auto_sendhard-forced tofalse)pingen_batch_send⚠️ — trigger batch delivery (α-gate, bulk-capable)pingen_batch_cancel⚠️ — cancel a batch (α-gate, bulk-capable)
eBill (3)
pingen_ebill_list— list Swiss eBill submissionspingen_ebill_get— fetch eBill detailspingen_ebill_create⚠️ — submit PDF invoice to SIX eBill network (α-gate)
Organisations (2)
pingen_organisation_list— list organisations for this accountpingen_organisation_get— fetch organisation details and billing balance
α-gate (2-phase confirmation)
Tools marked ⚠️ require a 2-phase confirmation flow to prevent accidental billing charges or irreversible actions:
Phase 1 — call the tool without confirm_token:
{ "name": "pingen_letter_send", "arguments": { "id": "...", "delivery_product": "cheap", ... } }
Response includes requires_confirmation: true, a human-readable summary of the action, and a confirm_token (60s TTL, single-use).
Phase 2 — call again with the token:
{ "name": "pingen_letter_send", "arguments": { "id": "...", "delivery_product": "cheap", ..., "confirm_token": "<token>" } }
Bulk mode: pass ids: ["uuid1", "uuid2", ...] instead of id. One confirm_token covers all items. Phase 2 uses Promise.allSettled — partial success is reported as { succeeded[], failed[], summary }.
Configuration
| Env var | Required | Default | Purpose |
|---|---|---|---|
PINGEN_CLIENT_ID |
yes | — | OAuth2 client ID from Pingen account settings |
PINGEN_CLIENT_SECRET |
yes | — | OAuth2 client secret |
PINGEN_ORGANISATION_ID |
no | auto-discovered | Organisation UUID — required for multi-org accounts |
PINGEN_API_BASE_URL |
no | https://api.pingen.com |
Staging override: https://api-staging.pingen.com |
PINGEN_IDENTITY_BASE_URL |
no | https://identity.pingen.com |
Staging override: https://identity-staging.pingen.com |
PINGEN_API_TIMEOUT_MS |
no | 30000 |
Per-request timeout in ms |
Multi-org accounts: Pingen accounts with more than one organisation must set PINGEN_ORGANISATION_ID explicitly. If omitted, the server auto-discovers (throws with the list of available org IDs if multiple are found).
Install
Option 1 — Hosted (zero setup)
No local runtime, no env vars on your machine.
- Sign up at aiwerkmcp.com.
- Install Pingen from the catalog and paste your
PINGEN_CLIENT_ID+PINGEN_CLIENT_SECRET. - Point your MCP client at your hosted endpoint:
https://bridge.aiwerk.ch/u/<your-user-id>/mcp
Option 2 — Self-hosted (npx)
PINGEN_CLIENT_ID=xxx PINGEN_CLIENT_SECRET=yyy npx @aiwerk/mcp-server-pingen
Or install globally:
npm install -g @aiwerk/mcp-server-pingen
PINGEN_CLIENT_ID=xxx PINGEN_CLIENT_SECRET=yyy mcp-server-pingen
Typical letter flow
1. pingen_letter_calculate_price(country="CH", paper_types=["normal"], delivery_product="cheap", ...)
→ { currency: "CHF", price: 1.48 }
2. pingen_letter_create(file_base64=<PDF>, file_name="invoice.pdf", address_position="left", ...)
→ { id: "uuid", status: "validating" }
3. pingen_letter_get(id="uuid") → status: "valid" (or "action_required" if address issues)
4. pingen_letter_send(id="uuid", delivery_product="cheap", ...)
→ { requires_confirmation: true, confirm_token: "..." }
5. pingen_letter_send(id="uuid", delivery_product="cheap", ..., confirm_token="...")
→ { id: "uuid", status: "sending" }
Error taxonomy
Errors surface as MCP isError: true responses:
Configuration error: …— missing env var, invalid URL, α-gate token expired/invalidAuth error (401): …— bad client credentialsPingen API error <status>: …— HTTP 4xx/5xx from Pingen, includes JSON:API error detailPingen API timeout: …— request exceededPINGEN_API_TIMEOUT_MSNetwork error: …— DNS/connection failure
Build / dev notes
src/version.tsis generated frompackage.jsonbyscripts/gen-version.mjs(runs asprebuild/pretest). File is committed so a fresh clone compiles immediately.- Staging: set
PINGEN_API_BASE_URL=https://api-staging.pingen.comandPINGEN_IDENTITY_BASE_URL=https://identity-staging.pingen.com.
About AIWerk MCP
Part of the AIWerk MCP platform — curated, signed MCP recipes served either as npm packages for self-hosting or through our multi-tenant hosted bridge.
Other AIWerk MCP servers:
- @aiwerk/mcp-server-wise — Wise multi-currency banking
- @aiwerk/mcp-server-imap — IMAP/SMTP email
- @aiwerk/mcp-server-cal — Cal.com scheduling
Browse the full catalog at aiwerkmcp.com.
Licence
MIT © 2026 AIWerk
Установить Pingen в Claude Desktop, Claude Code, Cursor
unyly install pingenСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add pingen --env PINGEN_CLIENT_ID="" -- npx -y @aiwerk/mcp-server-pingenПошаговые гайды: как установить Pingen
FAQ
Pingen MCP бесплатный?
Да, Pingen MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Pingen?
Да, требуются переменные окружения: PINGEN_CLIENT_ID. Unyly подставит их в конфиг при установке.
Pingen — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Pingen в Claude Desktop, Claude Code или Cursor?
Открой Pingen на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
Похожие MCP
Gmail
Read, send and search emails from Claude
автор: GoogleSlack
Send, search and summarize Slack messages
автор: SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
автор: Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
автор: arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
автор: hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
автор: profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
автор: waystation-aiCompare Pingen with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
