Model Context Protocol Server for Solana Client
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_balanceB | Returns the balance of the account of provided Pubkey. Args: address (str): Pubkey of account to query Returns: str: Account balance response in the format "Balance of {address}: {balance}" |
| get_transactionB | Returns transaction details for a confirmed transaction. Args: hash (str): Transaction signature as base-58 encoded string Returns: str: Transaction details in the format "Transaction: {transaction}" |
| get_blockA | Returns identity and transaction information about a confirmed block in the ledger. Args: slot (int): Slot number as u64 integer Returns: str: Block information in the format "Block: {block}" |
| get_block_heightB | Returns the current block height of the node. Returns: str: Current block height in the format "Block height: {height}" |
| get_block_timeC | Fetch the estimated production time of a block. Args: slot (int): Block slot number Returns: str: Block time in the format "Block time: {time}" |
| get_blocksB | Returns a list of confirmed blocks between two slots. Args: start_slot (int): Start slot as u64 integer end_slot (Optional[int], optional): End slot as u64 integer. Defaults to None. Returns: str: List of blocks in the format "Blocks: {blocks}" |
| get_cluster_nodesB | Returns information about all the nodes participating in the cluster. Returns: str: Cluster nodes information in the format "Cluster nodes: {nodes}" |
| get_epoch_infoB | Returns information about the current epoch. Returns: str: Epoch information in the format "Epoch info: {info}" |
| get_epoch_scheduleB | Returns epoch schedule information from this cluster's genesis config. Returns: str: Epoch schedule in the format "Epoch schedule: {schedule}" |
| get_genesis_hashB | Returns the genesis hash. Returns: str: Genesis hash in the format "Genesis hash: {hash}" |
| get_identityA | Returns the identity pubkey for the current node. Returns: str: Node identity in the format "Node identity: {identity}" |
| get_inflation_governorB | Returns the current inflation governor. Returns: str: Inflation governor info in the format "Inflation governor: {governor}" |
| get_inflation_rateB | Returns the specific inflation values for the current epoch. Returns: str: Inflation rate info in the format "Inflation rate: {rate}" |
| get_largest_accountsB | Returns the 20 largest accounts, by lamport balance. Returns: str: Largest accounts info in the format "Largest accounts: {accounts}" |
| get_latest_blockhashA | Returns the latest block hash from the ledger. Returns: str: Latest blockhash in the format "Latest blockhash: {blockhash}" |
| get_minimum_balance_for_rent_exemptionB | Returns minimum balance required to make account rent exempt. Args: size (int): Account data length Returns: str: Minimum balance in the format "Minimum balance for rent exemption: {balance}" |
| get_program_accountsB | Returns all accounts owned by the provided program Pubkey. Args: program_id (str): Pubkey of program to query Returns: str: Program accounts in the format "Program accounts: {accounts}" |
| get_recent_performance_samplesB | Returns a list of recent performance samples, in reverse slot order. Args: limit (Optional[int], optional): Number of samples to return (maximum 720). Defaults to None. Returns: str: Performance samples in the format "Performance samples: {samples}" |
| get_signature_statusesC | Returns the statuses of a list of signatures. Args: signatures (list[str]): List of transaction signatures to confirm Returns: str: Signature statuses in the format "Signature statuses: {statuses}" |
| get_slotB | Returns the current slot the node is processing. Returns: str: Current slot in the format "Current slot: {slot}" |
| get_slot_leaderB | Returns the current slot leader. Returns: str: Slot leader in the format "Slot leader: {leader}" |
| get_supplyB | Returns information about the current supply. Returns: str: Supply information in the format "Supply info: {supply}" |
| get_token_account_balanceA | Returns the token balance of an SPL Token account. Args: token_account (str): Pubkey of Token account to query Returns: str: Token account balance in the format "Token account balance: {balance}" |
| get_token_largest_accountsB | Returns the 20 largest accounts of a particular SPL Token type. Args: mint (str): Pubkey of token mint to query Returns: str: Largest token accounts in the format "Largest token accounts: {accounts}" |
| get_transaction_countA | Returns the current Transaction count from the ledger. Returns: str: Transaction count in the format "Transaction count: {count}" |
| get_versionB | Returns the current solana versions running on the node. Returns: str: Version information in the format "Version info: {version}" |
| get_vote_accountsB | Returns the account info and associated stake for all the voting accounts in the current bank. Returns: str: Vote accounts information in the format "Vote accounts: {accounts}" |
| is_connectedB | Health check to verify if the client is connected. Returns: str: Connection status in the format "Connected: {connected}" |
| get_block_commitmentB | Fetch the commitment for particular block. Args: slot (int): Block slot number to query Returns: str: Block commitment information |
| confirm_transactionB | Confirm the transaction identified by the specified signature. Args: tx_sig (str): Transaction signature to confirm commitment (Optional[str]): Bank state to query ("finalized", "confirmed" or "processed") Returns: str: Transaction confirmation status |
| get_account_infoB | Returns all account info for the specified public key. Args: pubkey (str): Pubkey of account to query encoding (str): Encoding for Account data ("base58", "base64", or "jsonParsed") Returns: str: Account information |
| get_fee_for_messageC | Returns the fee for a message. Args: from_pubkey (str): Sender's public key to_pubkey (str): Recipient's public key lamports (int): Amount of lamports to transfer Returns: str: Fee information |
| get_first_available_blockB | Returns the slot of the lowest confirmed block available. Returns: str: First available block information |
| get_inflation_rewardB | Returns the inflation/staking reward for a list of addresses for an epoch. Args: pubkeys (list[str]): List of account addresses epoch (Optional[int]): Epoch for which to calculate rewards Returns: str: Inflation reward information |
| get_leader_scheduleC | Returns the leader schedule for an epoch. Args: epoch (Optional[int]): Epoch to get schedule for Returns: str: Leader schedule information |
| get_minimum_ledger_slotB | Returns the lowest slot that the node has information about in its ledger. Returns: str: Minimum ledger slot information |
| get_multiple_accountsC | Returns the account information for a list of public keys. Args: pubkeys (list[str]): List of account public keys encoding (str): Encoding for the account data Returns: str: Multiple accounts information |
| get_signatures_for_addressB | Returns confirmed signatures for transactions involving an address. Args: account (str): Account address to query before (Optional[str]): Start searching backwards from this signature until (Optional[str]): Search until this signature limit (Optional[int]): Maximum number of signatures to return Returns: str: Signatures information |
| get_token_accounts_by_delegateC | Returns all SPL Token accounts by approved delegate. Args: delegate (str): Public key of delegate owner mint (str): Token mint address Returns: str: Token accounts information |
| get_token_accounts_by_ownerC | Returns all SPL Token accounts by token owner. Args: owner (str): Public key of token owner mint (str): Token mint address Returns: str: Token accounts information |
| get_token_supplyC | Returns the total supply of an SPL Token type. Args: mint (str): Public key of token mint Returns: str: Token supply information |
| request_airdropC | Request an airdrop of lamports to a Pubkey. Args: address (str): Public key of recipient lamports (int): Amount of lamports to request Returns: str: Airdrop request result |
| send_transactionC | Send a transaction that has already been signed and serialized into the wire format. Args: txn (bytes): Signed transaction as bytes Returns: str: Transaction send result |
| validator_exitC | Request to have the validator exit. Returns: str: Validator exit request result |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tywenk/mcp-sol'
If you have feedback or need assistance with the MCP directory API, please join our Discord server