Send physical mail with Solana cryptocurrency - AI agents can send real letters worldwide
Send physical mail with Solana cryptocurrency - AI agents can send real letters worldwide. The solmail mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 4 defined tools rather than through you.
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 ```
The server ships on npm as solmail-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Everything the assistant can do here goes through one of these:
get_mail_quote — Get price quote for sending mail (country, color options)send_mail — Send a physical letter with Solana paymentget_wallet_balance — Check agent wallet SOL balanceget_wallet_address — Get wallet address for fundingYou will need 3 environment variables: SOLANA_NETWORK, SOLANA_PRIVATE_KEY, SOLMAIL_API_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Solmail's toolset — get_mail_quote, send_mail, get_wallet_balance and 1 more — is a fair guide to whether it matches your workflow. It is maintained by ExpertVagabond; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Solmail's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get_mail_quote | Get price quote for sending mail (country, color options) |
| send_mail | Send a physical letter with Solana payment |
| get_wallet_balance | Check agent wallet SOL balance |
| get_wallet_address | Get wallet address for funding |
Add to your MCP config:
```json
{
"mcpServers": {
"solmail": {
"command": "npx",
"args": ["-y", "solmail-mcp"],
"env": {
"SOLANA_NETWORK": "devnet",
"SOLANA_PRIVATE_KEY": "your_base58_private_key"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SOLANA_NETWORK | Configuration value read at startup. | Optional |
| SOLANA_PRIVATE_KEY | Credential the server authenticates with. | Yes |
| SOLMAIL_API_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.