Skip to main content
Glama

solafon-mcp

Model Context Protocol server for building bots and interacting with Solana wallet on the Solafon platform.

Connect this MCP server to Claude Desktop, Cursor, VS Code, or any MCP-compatible AI tool to build Solafon mini-apps using natural language.

Quick Start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "solafon": {
      "command": "npx",
      "args": ["-y", "solafon-mcp"],
      "env": {
        "SOLAFON_BOT_TOKEN": "your-bot-api-key-here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "solafon": {
      "command": "npx",
      "args": ["-y", "solafon-mcp"],
      "env": {
        "SOLAFON_BOT_TOKEN": "your-bot-api-key-here"
      }
    }
  }
}

VS Code

Add to your VS Code MCP settings:

{
  "mcp": {
    "servers": {
      "solafon": {
        "command": "npx",
        "args": ["-y", "solafon-mcp"],
        "env": {
          "SOLAFON_BOT_TOKEN": "your-bot-api-key-here"
        }
      }
    }
  }
}

Related MCP server: Hermes Blockchain Oracle

Requirements

  • Node.js 18+ (no other dependencies needed)

Available Tools

Bot API

Tool

Description

get_bot_info

Get your bot's app info

send_message

Send text, images, buttons, carousels

edit_message

Edit a previously sent message

delete_message

Delete a message

list_conversations

List all bot conversations

get_conversation_messages

Read messages in a conversation

get_user

Get user info

set_webhook

Configure webhook URL

set_welcome_message

Set greeting for new users

Wallet API

Tool

Description

get_wallet_balance

SOL + token balances with USD values

get_token_list

Supported tokens with metadata

get_token_prices

Current USD prices

get_transaction_history

Wallet transaction history

get_transaction_status

Check transaction confirmation

get_latest_blockhash

Get blockhash for transactions

send_transaction

Broadcast signed transaction

simulate_transaction

Simulate before sending

Prompts (Templates)

Prompt

Description

create_echo_bot

Step-by-step echo bot guide

create_wallet_checker_bot

Bot that checks wallet balances

create_interactive_menu_bot

Bot with button menus and callbacks

Environment Variables

Variable

Required

Default

Description

SOLAFON_BOT_TOKEN

Yes

—

Bot API token from developer portal

SOLAFON_API_URL

No

https://api.solafon.com

API base URL

Getting a Bot Token

  1. Register at Solafon

  2. Go to Developer Portal

  3. Create a new app

  4. Copy the API key shown after creation

Example Usage with Claude

After connecting the MCP server, you can say to Claude:

"Check the SOL balance of wallet address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"

"Send a welcome message to conversation abc-123 with two buttons: Check Balance and Help"

"Set up my bot's webhook to https://myserver.com/webhook"

"Show me the last 10 transactions for this wallet"

Documentation

Full documentation: docs.solafon.com

License

MIT

Available Tools

17 tools
delete_messageC

Delete a bot message by ID

Inputs: messageId (required).

edit_messageC

Edit a previously sent bot message

Inputs: messageId (required), type, text, buttons.

get_bot_infoB

Get information about the current bot app (name, description, status, webhook URL)

Inputs: no named parameters.

get_conversation_messagesC

Get messages in a specific conversation

Inputs: conversationId (required), limit, before.

get_latest_blockhashA

Get the latest blockhash needed for building Solana transactions

Inputs: no named parameters.

get_token_listA

Get the list of supported SPL tokens with mint addresses, symbols, and metadata

Inputs: no named parameters.

get_token_pricesC

Get current USD prices for Solana tokens

Inputs: mints.

get_transaction_historyC

Get transaction history for a Solana wallet address

Inputs: address (required), limit, before.

get_transaction_statusB

Check the confirmation status of a Solana transaction

Inputs: signature (required).

get_userC

Get information about a user who has a conversation with this bot

Inputs: userId (required).

get_wallet_balanceB

Get SOL and SPL token balances for a Solana wallet address, including USD values

Inputs: address (required).

list_conversationsB

List all conversations for the bot app with pagination

Inputs: limit, offset.

send_messageC

Send a message from the bot to a user in a specific conversation. Supports text, buttons, images, and card carousels.

Inputs: conversationId (required), type, text, imageUrl, +2 more.

send_transactionC

Send a pre-signed Solana transaction to the network

Inputs: signedTransaction (required).

set_webhookB

Configure the webhook URL where the bot receives events (messages, callbacks)

Inputs: url (required), events.

set_welcome_messageC

Set the welcome message shown when a user starts a conversation

Inputs: text (required), buttons.

simulate_transactionA

Simulate a Solana transaction to check for errors and estimate fees before sending

Inputs: transaction (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools have distinct purposes, with clear separation between bot messaging, user/conversation management, and Solana blockchain operations. However, some overlap exists between 'get_transaction_history' and 'get_transaction_status', as both relate to transaction information but serve different functions.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern (e.g., 'delete_message', 'get_bot_info', 'send_transaction'), with no mixing of conventions like camelCase or snake_case variations. This makes the tool set predictable and easy to navigate.

    Tool Count4/5

    With 17 tools, the count is slightly high but reasonable for the combined scope of bot management and Solana blockchain interactions. It covers essential operations without feeling excessively bloated, though it borders on the upper limit of typical well-scoped servers.

    Completeness5/5

    The tool set provides comprehensive coverage for both bot functionality (e.g., CRUD for messages, conversations, users, webhooks) and Solana operations (e.g., transactions, balances, tokens, simulations). No obvious gaps exist; agents can perform full workflows without dead ends.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      An MCP server that enables AI assistants to analyze Solana wallets for empty or low-value token accounts. It allows users to identify opportunities to recover SOL rent by closing or burning these accounts through the SOL Claimer API.
      4
      8 npm
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that gives AI agents real-time Solana DeFi intelligence — smart money tracking, rug detection, wallet analysis, and token research.
      -