Solmail MCP logo

Solmail MCP

by ExpertVagabond

Send physical letters and postcards worldwide paid with Solana cryptocurrency via AI agents.

Install Solmail MCP

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": {
    "expertvagabond-solmail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "solmail-mcp"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "SOLANA_NETWORK": "YOUR_VALUE_HERE",
        "SOLMAIL_API_URL": "YOUR_VALUE_HERE",
        "MERCHANT_WALLET": "YOUR_VALUE_HERE"
      }
    }
  }
}

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

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env SOLANA_PRIVATE_KEY=YOUR_VALUE_HERE --env SOLANA_NETWORK=YOUR_VALUE_HERE --env SOLMAIL_API_URL=YOUR_VALUE_HERE --env MERCHANT_WALLET=YOUR_VALUE_HERE --transport stdio expertvagabond-solmail-mcp -- npx -y solmail-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

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

Overview

This MCP server enables AI agents to compose, price, and send real physical mail globally using Solana payments. It integrates with Lob.com for printing and mailing, and supports payment on Solana devnet or mainnet. Use it when you want to automate sending physical mail with cryptocurrency payment and blockchain verification.

Use cases

  • Compose and send physical letters via AI agents
  • Get price quotes for mailing letters or postcards
  • Pay for mailings using Solana cryptocurrency
  • Check Solana wallet balance for funding
  • Retrieve wallet address for receiving SOL

Key features

  • Print and mail letters to 200+ countries via Lob.com
  • Make payments with SOL on devnet or mainnet
  • Non-custodial wallet control with private key
  • AI-native design for Model Context Protocol integration
  • Demo mode with devnet SOL and Lob test API

Tools4

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

Verified live~522 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.

14/14 checks healthy over the last 88d

What it can do

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

Makes changes · 1Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age301 days
Maintainers1

Observed 2026-12-02 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 15d ago via OSV.dev · solmail-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads290Package downloads in the last 30 days.
Last commit2mo 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 exposed4Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

:mailbox_with_mail: solmail-mcp

npm version License: MIT GitHub stars Solana

Send real physical mail using Solana cryptocurrency from your AI agent. A Model Context Protocol server that enables Claude and other AI agents to send physical letters and postcards to real addresses worldwide, paid with SOL. Built for the Colosseum Agent Hackathon (#47).

Install

Terminal
npx solmail-mcp@latest

Add to your MCP config:

config.json
{
  "mcpServers": {
    "solmail": {
      "command": "npx",
      "args": ["-y", "solmail-mcp"],
      "env": {
        "SOLANA_NETWORK": "devnet",
        "SOLANA_PRIVATE_KEY": "your_base58_private_key"
      }
    }
  }
}

Features

  • Physical Mail -- Letters printed and mailed to 200+ countries via Lob.com
  • Solana Payments -- Pay with SOL on devnet (testing) or mainnet (production)
  • Non-Custodial -- Direct wallet control, no intermediaries
  • AI-Native -- Built specifically for MCP agent integration
  • Demo Mode -- Test with devnet SOL and Lob test API at zero cost

Tools (4)

ToolDescription
get_mail_quoteGet price quote for sending mail (country, color options)
send_mailSend a physical letter with Solana payment
get_wallet_balanceCheck agent wallet SOL balance
get_wallet_addressGet wallet address for funding

Usage Example

Code
You: Send a thank you note to John Doe at 123 Main St, San Francisco, CA 94102

Claude: [calls get_mail_quote] Cost: $1.50 (~0.015 SOL) for domestic US mail
        [calls send_mail] Letter sent!
          Letter ID: ltr_abc123
          Tracking: 9400000000000000000000
          Payment: 0.015 SOL (tx: 5j7s...)
          Delivery: 3-5 business days

How It Works

Code
Agent composes letter --> MCP validates address --> Solana tx signed
    --> Payment sent to merchant --> SolMail verifies on-chain
    --> Lob.com prints letter --> USPS delivers --> Tracking returned

Pricing

TypePriceSOL (at $100/SOL)
US Domestic$1.50~0.015 SOL
International$2.50~0.025 SOL
Color printing+$0.50+0.005 SOL
Solana tx fee~$0.00025~0.0000025 SOL

Configuration

VariableRequiredDescription
SOLANA_PRIVATE_KEYYesAgent wallet private key (base58)
SOLANA_NETWORKNodevnet (default) or mainnet-beta
SOLMAIL_API_URLNoAPI endpoint (default: https://solmail.online/api)
MERCHANT_WALLETNoCustom payment destination

Important: Create a dedicated wallet with limited funds for AI agents. Never use your primary wallet.

Development

Terminal
npm install && npm run build
npm run dev    # Watch mode
npm start      # Production

Related Projects

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/my-feature)
  3. Commit your changes
  4. Open a Pull Request

Links

License

MIT -- Purple Squirrel Media

Reviews

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

Frequently Asked Questions about Solmail MCP

The agent signs a Solana transaction sending SOL to the merchant wallet, which is verified on-chain before printing and mailing.

Both devnet (for testing) and mainnet-beta (for production) are supported via configuration.

Provide your Solana private key in base58 format via the SOLANA_PRIVATE_KEY environment variable.

Yes, use devnet SOL and the Lob test API to send mail at zero cost in demo mode.

Physical mail can be sent to over 200 countries worldwide using Lob.com's service.

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 PreviewSolmail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/expertvagabond-solmail-mcp?style=directory)](https://allmcps.com/mcp/expertvagabond-solmail-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/expertvagabond-solmail-mcp"><img src="https://allmcps.com/api/badge/expertvagabond-solmail-mcp?style=directory" alt="Solmail MCP on AllMCPs" /></a>