Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SOLANA_NETWORK | No | Solana Network (devnet for testing, mainnet-beta for production) | devnet |
| MERCHANT_WALLET | No | Optional: Merchant wallet where payments go. If not set, uses SolMail's default merchant wallet. | |
| SOLMAIL_API_URL | No | SolMail API Configuration URL | https://solmail.online/api |
| SOLANA_PRIVATE_KEY | Yes | Solana Wallet (your agent's wallet private key in base58 format). IMPORTANT: Use a dedicated wallet with limited funds for AI agents. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_mail_quote | Get a price quote for sending physical mail. Returns price in USD and estimated SOL amount based on current exchange rates. |
| send_mail | Send physical mail using Solana cryptocurrency. Composes a letter, creates a Solana payment transaction, and submits to SolMail for printing and mailing. Requires wallet configuration. |
| get_wallet_balance | Get the current SOL balance of the configured wallet. Requires wallet configuration. |
| get_wallet_address | Get the public address of the configured wallet. Useful for receiving funds. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |