Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SOLAFON_API_URL | No | API base URL | https://api.solafon.com |
| SOLAFON_BOT_TOKEN | Yes | Bot API token from developer portal |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_bot_info | Get information about the current bot app (name, description, status, webhook URL) |
| send_message | Send a message from the bot to a user in a specific conversation. Supports text, buttons, images, and card carousels. |
| edit_message | Edit a previously sent bot message |
| delete_message | Delete a bot message by ID |
| list_conversations | List all conversations for the bot app with pagination |
| get_conversation_messages | Get messages in a specific conversation |
| get_user | Get information about a user who has a conversation with this bot |
| set_webhook | Configure the webhook URL where the bot receives events (messages, callbacks) |
| set_welcome_message | Set the welcome message shown when a user starts a conversation |
| get_wallet_balance | Get SOL and SPL token balances for a Solana wallet address, including USD values |
| get_token_list | Get the list of supported SPL tokens with mint addresses, symbols, and metadata |
| get_token_prices | Get current USD prices for Solana tokens |
| get_transaction_history | Get transaction history for a Solana wallet address |
| get_transaction_status | Check the confirmation status of a Solana transaction |
| get_latest_blockhash | Get the latest blockhash needed for building Solana transactions |
| send_transaction | Send a pre-signed Solana transaction to the network |
| simulate_transaction | Simulate a Solana transaction to check for errors and estimate fees before sending |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| create_echo_bot | Step-by-step guide to create a simple echo bot on Solafon |
| create_wallet_checker_bot | Create a bot that checks Solana wallet balances when users send an address |
| create_interactive_menu_bot | Create a bot with interactive button menus and callbacks |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| docs://bot-api | |
| docs://wallet-api |