MailSnail (API key)
io.github.iancollins27/mailsnail-api-key
Serveur MCP OK 8 outils
USPS letters and certified mail for unattended agents: API key, no browser sign-in, prepaid balance.
Fiche technique
- Auteur
- iancollins27 (espace de noms du registre)
- Dépôt
- —
- Site
- mailsnail.dev/developers?utm_source=registry-key#mcp-with-a-key
- Version
- 0.1.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.mailsnail.dev/key/mcp?ref=registry Streamable HTTP en-tête requis :
Authorization - Outils
- 8
- Catégories
- IA, agents et mémoire, Recherche et web
- Dernière mise à jour
- 24 nov. 2026
- Publication
- 24 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.iancollins27/mailsnail-api-key)<a href="https://latlas.dev/mcp/io.github.iancollins27/mailsnail-api-key"><img src="https://latlas.dev/badge/fiche/io.github.iancollins27/mailsnail-api-key.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.mailsnail.dev/key/mcp?ref=registry
- Dernier résultat
- OK 28 nov. 2026, 10:40
- Temps de réponse
- 2 425 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- mailsnail 0.7.0
- Outils
- 8
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:40 | OK | 2 425 ms | 8 |
Outils exposés (8, réponse à tools/list, 28 nov. 2026)
verify_address
Verify US address
Check a US mailing address against USPS records. Returns `deliverability`: `deliverable` when USPS recognizes the address, or `undeliverable` with a `reason` when it does not. Free: does not charge or mail anything.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| address_line1 | string | oui | |
| address_line2 | string | non | |
| address_city | string | non | |
| address_state | string | non | |
| address_zip | string | non |
preview_letter
Preview letter proof
Create a proof of a letter without charging or mailing it. Returns `proof_url` (a PDF of exactly what will be printed), the USPS address check on the recipient as `to_deliverability`, the exact price as `amount_cents` (the price from the user's prepaid balance), `pay_per_letter_cents` (the price of paying for just this letter by card, slightly higher because it includes the card processing fee), and a `draft_id`. Calling send_letter with that draft_id mails exactly this proof at exactly that price, so reviewing the proof and price with the user first avoids mistakes on a paid, irreversible send. Priced at our cost, from $1.21 for a first-class letter, $8.61 certified, $11.64 certified with an electronic return receipt, and $14.27 certified with a green-card return receipt; extra pages and color are priced at our cost. Those are prepaid-balance prices. Paying for a single letter by card instead costs a little more (from $1.51 for a first-class letter, $8.83 certified, $11.83 with an electronic return receipt, $14.42 with a green-card return receipt), because that one card payment carries Stripe's whole processing fee (2.9% + 30¢).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| to | object | oui | |
| from | object | oui | |
| body_text | string | non | Plain text body, rendered to a letter-sized PDF server-side. |
| file_url | string | non | Public URL to a pre-rendered letter-size PDF. |
| color | boolean | non | |
| double_sided | boolean | non | |
| extra_service | enum: "certified" | "certified_return_receipt" | "certified_return_receipt_electronic" | non | `certified`: USPS Certified Mail (tracking + proof of mailing). `certified_return_receipt`: adds the physical green card (PS Form 3811) signed on delivery and mailed back to the `from` address — strongest proof of delivery. `certified_return_receipt_electronic`: adds a PDF of the delivery signature… |
| description | string | non |
send_letter
Send letter by USPS
Mail a physical letter via USPS and deduct its price from the user's Mailsnail balance. This is a paid, irreversible action. The usual flow is preview_letter first, then send_letter with the returned `draft_id` once the user has approved the proof and price. If the balance can't cover the send, the result contains `pay_url`, a Mailsnail page where the user can pay for just this letter by card (a slightly higher price that includes the card fee; no account or card saved), and `setup_url`, a Stripe-hosted page where the user can instead add funds to the balance for lower per-letter prices (`pay_per_letter_url` is a Stripe-hosted alternative to pay_url); retry the same call after either. For legal notices, `extra_service: 'certified'` adds USPS tracking and proof of mailing, and `'certified_return_receipt'` also mails the signed green card back to the sender. Priced at our cost, from $1.21 for a first-class letter, $8.61 certified, $11.64 certified with an electronic return receipt, and $14.27 certified with a green-card return receipt; extra pages and color are priced at our cost. Those are prepaid-balance prices. Paying for a single letter by card instead costs a little more (from $1.51 for a first-class letter, $8.83 certified, $11.83 with an electronic return receipt, $14.42 with a green-card return receipt), because that one card payment carries Stripe's whole processing fee (2.9% + 30¢).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| draft_id | string | non | A draft_id from preview_letter. Mails exactly that proof and charges its quoted price. |
| to | object | non | |
| from | object | non | |
| body_text | string | non | |
| file_url | string | non | |
| color | boolean | non | |
| double_sided | boolean | non | |
| extra_service | enum: "certified" | "certified_return_receipt" | "certified_return_receipt_electronic" | non | |
| description | string | non | |
| idempotency_key | string | non | Unique key for this mailing; required when sending without draft_id (a draft_id is its own key). Reusing the same key returns the original result instead of sending again, so retries of an uncertain send should reuse it. |
get_balance
Get balance
Show the user's Mailsnail balance, whether a payment method is saved, and auto-reload settings. Free: read-only, does not charge.
Aucun paramètre.
add_payment_method
Get payment setup link
Get a Stripe-hosted page where the user can add funds to their Mailsnail balance. Always returns `setup_url`: by default a one-time payment for `amount_cents` that does not save the card. With `auto_reload: true`, the same page also saves the card and shows the auto-reload terms the user agrees to (the card is charged automatically when the balance runs low); the user can see and decline those terms on Stripe's page. If a card is already on file, the result also includes `billing_portal_url` (update the card, view receipts) and `current_card`. Does not charge anything by itself.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| amount_cents | integer | non | Balance to fund, in cents. Defaults to 2500 ($25). |
| auto_reload | boolean | non | Default false: a one-time payment, and the card is not saved. When true, the Stripe page also saves the card and shows the auto-reload terms the user agrees to: Mailsnail charges the saved card automatically whenever the balance falls below a threshold. The user can see and decline those terms on S… |
turn_off_auto_reload
Turn off auto-reload
Turn off automatic charges to the user's saved card (auto-reload). After this, a send that the balance can't cover returns a payment link instead of reloading the balance. The saved card stays on file, and this does not charge anything. Has no effect if auto-reload is already off. Returns the updated billing summary.
Aucun paramètre.
get_letter
Get letter status
Get the status of a previously sent letter, including its latest USPS scan once it has been mailed. For certified letters the result includes the USPS tracking number and a usps.com tracking link, and for an electronic return receipt a link to the recipient's signature PDF. Free: read-only, does not charge.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| receipt_token | string | oui | The `receipt_token` returned by send_letter (not the `id` field, which is the printer's job number and will not resolve). |
cancel_letter
Cancel a letter
Cancel a letter sent from the user's MailSnail balance before the printer starts on it (usually possible for about a day after sending), and refund its full price to the balance. Only works for letters this account paid for. Once printing has started the letter can't be cancelled. Confirm with the user before calling: a cancelled letter is not mailed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| receipt_token | string | oui | The `receipt_token` returned by send_letter for the letter to cancel. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.mailsnail.dev/key/mcp?ref=registry. Formats repris de la documentation de chaque client.
claude mcp add --transport http mailsnail-api-key https://api.mailsnail.dev/key/mcp?ref=registryCustomize > Connectors > + Add > Add custom connector ; Name : mailsnail-api-key ; URL : https://api.mailsnail.dev/key/mcp?ref=registrychatgpt.com/plugins > + > Add custom MCP server ; Name : mailsnail-api-key ; Server URL : https://api.mailsnail.dev/key/mcp?ref=registry ; Create as a plugin{
"mcpServers": {
"mailsnail-api-key": {
"url": "https://api.mailsnail.dev/key/mcp?ref=registry"
}
}
}{
"mcpServers": {
"mailsnail-api-key": {
"type": "http",
"url": "https://api.mailsnail.dev/key/mcp?ref=registry",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mailsnail-api-key": {
"url": "https://api.mailsnail.dev/key/mcp?ref=registry"
}
}
}{
"mcpServers": {
"mailsnail-api-key": {
"httpUrl": "https://api.mailsnail.dev/key/mcp?ref=registry"
}
}
}[mcp_servers.mailsnail-api-key]
url = "https://api.mailsnail.dev/key/mcp?ref=registry"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
MailSnail (API key) · L’Atlas · Test du
[MailSnail (API key) — L’Atlas](https://latlas.dev/mcp/io.github.iancollins27/mailsnail-api-key)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.