Mailsnail logo

Mailsnail

Send US-only letters, postcards, and certified mail through managed, BYOK, gateway, or failover provider modes.

Install Mailsnail

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mailsnail": {
      "command": "npx",
      "args": [
        "-y",
        "mailsnail"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 7 tools correctly ().

Overview

The mailsnail MCP server lets AI agents send USPS letters, postcards, and certified mail through managed or self-hosted providers. It exposes 11 tools for address verification, previews, sending, tracking, cancellation, balance checks, and diagnostics. Managed mode uses Stripe per-piece payments without an account, while gateway and BYOK modes let teams use their own infrastructure or Click2Mail and Lob credentials. Reach for it when an agent must create physical US mail, especially deadline-sensitive certified mail.

Use cases

  • Send a physical thank-you letter from an agent
  • Mail a certified legal notice before a deadline
  • Preview and price a letter before charging
  • Track or cancel previously submitted mail
  • Route mail through a self-hosted provider gateway

Key features

  • Send letters, postcards, and certified mail
  • Preview proofs and exact prices
  • Verify recipient addresses
  • Track, list, and cancel mail
  • Support managed, BYOK, gateway, and failover modes
  • Diagnose egress, proxy, and TLS connectivity

Tools7

What Mailsnail lets your agent do. Expand a tool for its parameters.

Verified live~1.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

What it can do

From the 7 tools this server returned when we ran it.

Makes network requests · 2Read-only tools · 7
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age126 days
Maintainers1

Observed 2026-11-07 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · mailsnail (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads210Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed7Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Mailsnail works

What mailsnail MCP server does

The mailsnail MCP server gives an AI agent an interface for creating and managing physical US mail. It supports letters, postcards, and certified letters, including messages rendered from text into printable output by the gateway. Agents can verify addresses, inspect a letter preview and price, submit mail, check status, list previous pieces, and cancel eligible pieces.

The service supports four operating patterns. Managed mode uses the hosted service at api.mailsnail.dev and charges per piece through Stripe Shared Payment Tokens. Gateway mode uses a self-hosted Mailsnail gateway with provider credentials held in your environment. BYOK modes connect directly to Click2Mail or Lob, and a failover chain can route across providers when the safety contract confirms that a retry will not duplicate a paid or produced item.

How it works

The mailsnail MCP server is available as the mailsnail package and can run over MCP with a command such as npx -y mailsnail. A hosted connector is also available at https://api.mailsnail.dev/mcp for clients that support remote MCP servers. The repository separately provides a provider-neutral core and a self-hostable REST gateway.

Mail is dry-run by default. Live sending requires MAIL_MCP_ALLOW_LIVE=1. Before charging or producing a piece, preview_letter can return a proof PDF and the exact price. The server also applies per-session spending limits. In managed mode, a paid piece that fails to mail is automatically refunded according to the project’s safety behavior.

Provider failover is intentionally limited. The next provider is used only when the previous provider reports that production did not begin and no payment moved. This avoids creating duplicate certified letters when the outcome is uncertain.

Setup and configuration

For a local MCP setup, add the package to a client that supports MCP. The hosted connector can be added as a custom connector and then authenticated according to the setup instructions referenced by the project. Managed mode needs no provider credentials. Gateway and direct-provider modes require the credentials for the selected provider in the relevant environment.

Network policies must permit api.mailsnail.dev on HTTPS for managed mode. Self-hosted gateways and direct Click2Mail or Lob connections require access to their configured hosts. mailsnail doctor checks reachability and reports transport, proxy, and TLS issues without sending mail. Proxy environments can use Node’s environment proxy support or an installed undici dependency; NODE_EXTRA_CA_CERTS can provide a trusted CA bundle for TLS-inspecting proxies.

Tools and capabilities

The package exposes these tools:

  • doctor checks connectivity and configuration.
  • verify_address validates a recipient address.
  • preview_letter creates a proof and price before sending.
  • send_letter and send_postcard submit mail.
  • get_balance and top_up manage managed-mode funds.
  • get_letter and get_postcard retrieve piece details.
  • list_letters lists letters, and cancel_letter requests cancellation.

Certified mail is selected with extra_service: "certified" when supported by the request. The project is US-only at present and is intended for legitimate mail; provider terms and USPS rules apply.

Limitations and notes

The project describes its status as early. Current supported mail types are letters, certified letters, and postcards in the United States. Additional providers such as PostGrid and Stannp are described as future work, so they should not be assumed to be available.

Managed mode is not the only deployment option: the open provider layer allows teams to hold credentials themselves or operate the gateway. However, direct provider use, gateway setup, billing, and network access require configuration outside the default no-credential managed path. Live sending also remains disabled until explicitly enabled.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mailsnail

mailsnail is an MCP server that connects AI agents to USPS physical mail through managed Mailsnail, Click2Mail, Lob, or a compatible gateway. Its main tools verify addresses, preview and send letters or postcards, handle certified mail, inspect balances, retrieve statuses, list letters, cancel mail, and diagnose connectivity.

Install it as an MCP command with `claude mcp add mailsnail -- npx -y mailsnail`. You can also use the hosted connector at `https://api.mailsnail.dev/mcp` in a client that supports remote MCP servers.

Yes, mailsnail works with Cursor. The README names Cursor as a supported client for the MCP package and hosted connector, and the repository includes a plugin that packages the connector with mail-related skills.

Set `extra_service` to `"certified"` in the mail request. Preview the letter first to inspect its proof and price, then enable live sending with `MAIL_MCP_ALLOW_LIVE=1` when you are ready to submit it.

Yes, you can use your own Click2Mail or Lob credentials in BYOK mode. You can also run the self-hostable gateway, keep provider credentials in your infrastructure, or configure a failover chain across providers.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMailsnail AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mailsnail?style=directory)](https://allmcps.com/mcp/mailsnail)
HTML Embed
<a href="https://allmcps.com/mcp/mailsnail"><img src="https://allmcps.com/api/badge/mailsnail?style=directory" alt="Mailsnail on AllMCPs" /></a>