L'Atlas / Serveurs MCP / MailSnail (API key)
Serveur MCP

MailSnail (API key)

io.github.iancollins27/mailsnail-api-key

Serveur MCP OK 8 outils

Faire examiner Voir les tarifs

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

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.iancollins27/mailsnail-api-key.svg)](https://latlas.dev/mcp/io.github.iancollins27/mailsnail-api-key)
HTML
<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

DateRésultatRéponseOutils
28 nov. 2026, 10:40OK2 425 ms8

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ètreTypeRequisDescription
address_line1stringoui
address_line2stringnon
address_citystringnon
address_statestringnon
address_zipstringnon

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ètreTypeRequisDescription
toobjectoui
fromobjectoui
body_textstringnonPlain text body, rendered to a letter-sized PDF server-side.
file_urlstringnonPublic URL to a pre-rendered letter-size PDF.
colorbooleannon
double_sidedbooleannon
extra_serviceenum: "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…
descriptionstringnon

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ètreTypeRequisDescription
draft_idstringnonA draft_id from preview_letter. Mails exactly that proof and charges its quoted price.
toobjectnon
fromobjectnon
body_textstringnon
file_urlstringnon
colorbooleannon
double_sidedbooleannon
extra_serviceenum: "certified" | "certified_return_receipt" | "certified_return_receipt_electronic"non
descriptionstringnon
idempotency_keystringnonUnique 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ètreTypeRequisDescription
amount_centsintegernonBalance to fund, in cents. Defaults to 2500 ($25).
auto_reloadbooleannonDefault 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ètreTypeRequisDescription
receipt_tokenstringouiThe `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ètreTypeRequisDescription
receipt_tokenstringouiThe `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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport 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 Code
claude mcp add --transport http mailsnail-api-key https://api.mailsnail.dev/key/mcp?ref=registry
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mailsnail-api-key ; URL : https://api.mailsnail.dev/key/mcp?ref=registry
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mailsnail-api-key ; Server URL : https://api.mailsnail.dev/key/mcp?ref=registry ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mailsnail-api-key": {
      "type": "http",
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mailsnail-api-key": {
      "httpUrl": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[MailSnail (API key) — L’Atlas](https://latlas.dev/mcp/io.github.iancollins27/mailsnail-api-key)
Méthode et limites des tests

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.