io.github.iancollins27/mailsnail

io.github.iancollins27/mailsnail

Send USPS letters & certified mail from any agent. Hosted: sign in, no install.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mailsnail": {
      "command": "npx",
      "args": [
        "-y",
        "mailsnail@0.6.0"
      ],
      "env": {
        "MAIL_PROVIDER": "<your MAIL_PROVIDER>",
        "MAIL_API_BASE_URL": "https://api.mailsnail.dev",
        "CLICK2MAIL_PASSWORD": "<your CLICK2MAIL_PASSWORD>",
        "LOB_API_KEY": "<your LOB_API_KEY>",
        "MAIL_MCP_ALLOW_LIVE": "0",
        "MAIL_MCP_SPEND_CAP_USD": "25"
      }
    }
  }
}
Environment variables
  • MAIL_PROVIDERrequiredFor self-hosting only; most people should add the hosted URL instead. 'click2mail' (your own account) or 'lob' (your own key). 'managed' needs a Stripe Shared Payment Token that most AI apps can't create.
  • MAIL_API_BASE_URLHosted Mailsnail backend. Required when MAIL_PROVIDER=managed.
  • CLICK2MAIL_PASSWORDsecretClick2Mail account password. Required when MAIL_PROVIDER=click2mail.
  • LOB_API_KEYsecretLob API key. Required when MAIL_PROVIDER=lob. test_* is free; live_* actually mails.
  • MAIL_MCP_ALLOW_LIVESet to '1' to actually mail in BYOK modes. Default '0' is dry-run.
  • MAIL_MCP_SPEND_CAP_USDPer-session estimated spend cap. Server refuses sends past this.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.6.1
Registry
active
Published
11/7/2026

Remotes

  • streamable-httphttps://api.mailsnail.dev/mcp
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.iancollins27/mailsnail is listed here — it’s also the link we check for a free listing.

io.github.iancollins27/mailsnail — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-iancollins27-mailsnail?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.iancollins27/mailsnail — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.iancollins27/mailsnail — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-iancollins27-mailsnail?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.