Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Mailsnail
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Send USPS letters, postcards & certified mail from any agent. No signup; pay-per-piece via Stripe.
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวเปิดพร้อมระบบบัญชีในขั้นถัดไป
- ผลตรวจเบื้องต้นของเราiผ่าน 1 จาก 1 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังไม่ได้วัด★ –
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): stdio
- หมวด: ร้านค้าออนไลน์และรับเงิน
- ต้องใส่ค่าเหล่านี้: MAIL_PROVIDER, CLICK2MAIL_PASSWORD, LOB_API_KEY
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ก่อนติดตั้ง
- ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
- รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
- ค่าที่คุณต้องใส่เอง:
MAIL_PROVIDER,MAIL_API_BASE_URL,CLICK2MAIL_USERNAME,CLICK2MAIL_PASSWORD,LOB_API_KEY,MAIL_MCP_ALLOW_LIVE,MAIL_MCP_SPEND_CAP_USD
ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
- npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"mailsnail": {
"command": "npx",
"args": [
"-y",
"mailsnail"
],
"env": {
"MAIL_PROVIDER": "ใส่ค่าของคุณ",
"MAIL_API_BASE_URL": "ใส่ค่าของคุณ",
"CLICK2MAIL_USERNAME": "ใส่ค่าของคุณ",
"CLICK2MAIL_PASSWORD": "ใส่ค่าของคุณ",
"LOB_API_KEY": "ใส่ค่าของคุณ",
"MAIL_MCP_ALLOW_LIVE": "ใส่ค่าของคุณ",
"MAIL_MCP_SPEND_CAP_USD": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add mailsnail --env MAIL_PROVIDER='ใส่ค่าของคุณ' --env MAIL_API_BASE_URL='ใส่ค่าของคุณ' --env CLICK2MAIL_USERNAME='ใส่ค่าของคุณ' --env CLICK2MAIL_PASSWORD='ใส่ค่าของคุณ' --env LOB_API_KEY='ใส่ค่าของคุณ' --env MAIL_MCP_ALLOW_LIVE='ใส่ค่าของคุณ' --env MAIL_MCP_SPEND_CAP_USD='ใส่ค่าของคุณ' -- npx -y mailsnailเติมค่าที่เว้นว่างไว้ก่อนรัน
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"mailsnail": {
"command": "npx",
"args": [
"-y",
"mailsnail"
],
"env": {
"MAIL_PROVIDER": "ใส่ค่าของคุณ",
"MAIL_API_BASE_URL": "ใส่ค่าของคุณ",
"CLICK2MAIL_USERNAME": "ใส่ค่าของคุณ",
"CLICK2MAIL_PASSWORD": "ใส่ค่าของคุณ",
"LOB_API_KEY": "ใส่ค่าของคุณ",
"MAIL_MCP_ALLOW_LIVE": "ใส่ค่าของคุณ",
"MAIL_MCP_SPEND_CAP_USD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"mailsnail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mailsnail"
],
"env": {
"MAIL_PROVIDER": "ใส่ค่าของคุณ",
"MAIL_API_BASE_URL": "ใส่ค่าของคุณ",
"CLICK2MAIL_USERNAME": "ใส่ค่าของคุณ",
"CLICK2MAIL_PASSWORD": "ใส่ค่าของคุณ",
"LOB_API_KEY": "ใส่ค่าของคุณ",
"MAIL_MCP_ALLOW_LIVE": "ใส่ค่าของคุณ",
"MAIL_MCP_SPEND_CAP_USD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าที่ต้องใส่เอง
- Where to mail from: 'managed' (default, no signup, pay-per-piece via Stripe), 'click2mail' (BYO account), or 'lob' (BYO key).
MAIL_API_BASE_URLenvHosted Mailsnail backend. Required when MAIL_PROVIDER=managed.CLICK2MAIL_USERNAMEenvClick2Mail account username. Required when MAIL_PROVIDER=click2mail.- Click2Mail account password. Required when MAIL_PROVIDER=click2mail.
- Lob API key. Required when MAIL_PROVIDER=lob. test_* is free; live_* actually mails.
MAIL_MCP_ALLOW_LIVEenvSet to '1' to actually mail in BYOK modes. Default '0' is dry-run.MAIL_MCP_SPEND_CAP_USDenvPer-session estimated spend cap. Server refuses sends past this.
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub iancollins27 ซึ่งเป็นเจ้าของ repo
- … ยังไม่ตรวจ
ยังมีคนดูแล
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับตัวอื่นในหมวด ร้านค้าออนไลน์และรับเงินi
- ดาวมากกว่า 0% ของอีก 1745 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 21% ของอีก 1745 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1745 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Mailsnail ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: MAIL_PROVIDER, CLICK2MAIL_PASSWORD, LOB_API_KEY
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.0) เข้า registry 4 เดือนที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Stripe MCP
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Mailsnail
Open-source, provider-agnostic physical mail for AI agents.
Agents have every channel except one. They can email, text, call, and post to every feed — but until now, putting a real, postmarked envelope in a mailbox meant a human signing up for a print-provider account, provisioning API keys, and wiring billing. Mailsnail closes that gap:
- Nothing to install. Add one URL to Claude, ChatGPT, Cursor or any MCP client and sign in. Pay for one letter by card or fund a balance, priced at our cost: from $1.21 first-class and $8.61 certified, no subscription. Agents that can mint a Stripe Shared Payment Token can also pay per piece with no account, over the Machine Payments Protocol (HTTP 402).
- No lock-in, ever. The provider layer is open and swappable: bring your own Click2Mail or Lob account, self-host the whole gateway, or chain providers for failover. The managed service is a convenience, not a cage.
- Built for compliance mail. Certified letters with
extra_service: "certified"— the mail that legally *must* be physical (preliminary lien notices, legal notices) and must not miss its deadline because one print API had a bad day.
claude mcp add -t http mailsnail https://api.mailsnail.dev/mcp
then /mcp → mailsnail → Authenticate, and: "Mail a thank-you letter to my aunt."
In Claude Desktop or ChatGPT, add https://api.mailsnail.dev/mcp as a custom connector. Steps for every app: mailsnail.dev/setup. Running your own Click2Mail or Lob account instead? See Ways to run it.
Hosted connector and plugins
The quickest start needs no install. Add https://api.mailsnail.dev/mcp as a custom connector in Claude, ChatGPT, Cursor or any MCP client that supports remote servers, then sign in. Each app's setup steps are at mailsnail.dev/setup.
plugins/mailsnail packages that connector with skills for sending letters, sending certified mail and tracking mail. It works in Claude (chat, Cowork and Claude Code) and in Cursor. To install it in Claude Code:
/plugin marketplace add iancollins27/mailsnail
/plugin install mailsnail@mailsnail
Packages
| Package | What it is |
|---|---|
mailsnail | MCP server — 11 tools (doctor, verify_address, preview_letter, send_letter, send_postcard, get_balance, top_up, get_letter, get_postcard, list_letters, cancel_letter) over any provider below. Works in Claude Code, Claude Desktop, Cursor, Codex CLI, OpenAI Agents SDK. |
@mailsnail/core | Provider-agnostic core: adapters (Click2Mail, Lob, any Mailsnail gateway), multi-provider failover router, request validation. Zero dependencies. |
@mailsnail/gateway | Self-hostable REST API: BYO provider credentials, body_text→PDF rendering, proofs, invocation logging. The managed service at api.mailsnail.dev runs the same wire protocol. |
spec/ | The provider-neutral mail-piece schema + the failover-safety contract. Implement it and anything — including a print shop — becomes a Mailsnail-compatible node. |
Ways to run it
| Mode | Credentials | Paying | Good for |
|---|---|---|---|
hosted connector (api.mailsnail.dev/mcp) | none; you sign in | you, per letter by card or from a balance | people in Claude, ChatGPT, Cursor; zero-setup |
| managed (stdio default) | none | agent, per piece (Stripe SPT) | agents that can mint an SPT |
| gateway | your own, on your server | your provider account | teams; PII stays in your infra |
| click2mail / lob (BYOK) | yours, local env | your provider account | direct control, one provider |
| failover chain | yours, per provider | your provider accounts | mail that must not miss deadlines |
Failover is deliberately conservative: a send moves to the next provider only when the failed provider guarantees nothing entered production and no money moved (safeToRetry — see the spec). A duplicate certified letter is worse than an error.
Running behind an egress proxy or allowlist
Sandboxed agents — CI runners, enterprise agent platforms, hosted agent sessions — usually sit behind an egress allowlist, and that is the environment managed mode is *for*. Two minutes of setup:
npx mailsnail doctor # says exactly what it can and can't reach, and why. Free; never mails.
Allow this host:
| Mode | Host to permit | Port |
|---|---|---|
| managed (default) | api.mailsnail.dev | 443 (TCP / HTTPS CONNECT) |
| self-hosted gateway | whatever MAIL_API_BASE_URL points at | its port |
| click2mail (BYOK) | rest.click2mail.com | 443 |
| lob (BYOK) | api.lob.com | 443 |
Allowlist by hostname, not IP: the managed gateway runs on managed infrastructure and its addresses change without notice. If your policy is IP-only, self-host @mailsnail/gateway on an address you control — that escape hatch is the whole point of the open provider layer.
Through an HTTP proxy. Node's fetch ignores HTTPS_PROXY unless you tell it not to, so an allowlisted gateway can still time out silently. Either:
export NODE_USE_ENV_PROXY=1 # Node >= 22.21
export HTTPS_PROXY=http://proxy.example:8080
or install undici alongside mailsnail (npm i undici) and Mailsnail routes through HTTPS_PROXY/HTTP_PROXY/ALL_PROXY itself, honoring NO_PROXY. mailsnail doctor tells you which of these is actually in effect.
TLS-inspecting proxy? Point NODE_EXTRA_CA_CERTS at your organization's CA bundle.
When it's blocked anyway, the failure says so instead of guessing: transport errors carry a code of unreachable, egress_blocked, or tls_untrusted, plus the exact host:port to permit. Any of those codes means the request never reached the backend — nothing mailed, nothing was charged, and the fix is network policy, not your account.
Safety
- Dry-run by default everywhere; live mail requires an explicit
MAIL_MCP_ALLOW_LIVE=1. - Per-session spend caps in the MCP server; auto-refund in managed mode when a paid piece fails to mail.
preview_letterreturns a proof PDF and exact price before anything is charged — show it to your user first.- Don't use this for spam, harassment, or fraud. Provider terms and USPS regulations apply; managed mode enforces its own abuse screening.
Why open source
You're letting software put paper in mailboxes and spend money doing it. Read the code. Run it yourself with your own provider account for free. Use managed mode when you'd rather not hold credentials at all. If we ever disappoint you, MAIL_PROVIDER=click2mail and your mail keeps moving — that's the deal, and it's enforceable because this repo exists.
Status
Early. US-only today. Letters, certified letters, and postcards. The managed API, MCP server, self-host gateway, and Click2Mail/Lob adapters are live; additional adapters (PostGrid, Stannp) are next — CONTRIBUTING.md has the adapter guide if you want one sooner.
License
MIT.