solana

v1.1.1
io.github.ExpertVagabond/solana Checked 14 hours ago Published 1 month ago

Solana MCP server for wallet, transactions & programs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_wallet

Create a new Solana wallet

ParameterTypeDescription
name *stringName for the wallet

import_wallet

Import an existing wallet from private key or mnemonic

ParameterTypeDescription
name *stringName for the wallet
privateKey *stringPrivate key in base58 format

list_wallets

List all created/imported wallets

get_balance

Get SOL balance for a wallet

ParameterTypeDescription
walletName *stringName of the wallet

get_token_balance

Get SPL token balance for a wallet

ParameterTypeDescription
tokenMint *stringToken mint address
walletName *stringName of the wallet

transfer_sol

Transfer SOL between wallets

ParameterTypeDescription
amount *numberAmount in SOL
fromWallet *stringName of the sender wallet
toAddress *stringRecipient address

transfer_tokens

Transfer SPL tokens between wallets

ParameterTypeDescription
amount *numberAmount of tokens to transfer
fromWallet *stringName of the sender wallet
toAddress *stringRecipient address
tokenMint *stringToken mint address

airdrop_sol

Request SOL airdrop for testing (devnet/testnet only)

ParameterTypeDescription
walletName *stringName of the wallet
amountnumberAmount of SOL to airdrop (default: 1)

get_account_info

Get detailed account information

ParameterTypeDescription
address *stringAccount address

get_transaction

Get transaction details by signature

ParameterTypeDescription
signature *stringTransaction signature

get_recent_blockhash

Get recent blockhash for transaction building

switch_network

Switch Solana network

ParameterTypeDescription
network *stringNetwork to switch to

get_network_info

Get current network information

create_token_account

Create associated token account for SPL tokens

ParameterTypeDescription
tokenMint *stringToken mint address
walletName *stringName of the wallet

get_token_accounts

Get all token accounts for a wallet

ParameterTypeDescription
walletName *stringName of the wallet

create_spl_token

Create a new SPL token with specified decimals

ParameterTypeDescription
walletName *stringName of the wallet that will be the mint authority
decimalsnumberNumber of decimal places for the token (default: 9)
freezeAuthoritybooleanWhether to enable freeze authority (default: false)

mint_tokens

Mint tokens to a specific account

ParameterTypeDescription
amount *numberAmount of tokens to mint (in token units, not raw)
destinationAddress *stringDestination wallet address
tokenMint *stringToken mint address
walletName *stringName of the wallet with mint authority

burn_tokens

Burn tokens from a wallet

ParameterTypeDescription
amount *numberAmount of tokens to burn (in token units)
tokenMint *stringToken mint address
walletName *stringName of the wallet to burn tokens from

freeze_account

Freeze a token account to prevent transfers

ParameterTypeDescription
accountAddress *stringAddress of the token account to freeze
tokenMint *stringToken mint address
walletName *stringName of the wallet with freeze authority

thaw_account

Thaw a frozen token account to allow transfers

ParameterTypeDescription
accountAddress *stringAddress of the token account to thaw
tokenMint *stringToken mint address
walletName *stringName of the wallet with freeze authority

set_token_authority

Set or change authority for a token mint or account

ParameterTypeDescription
authorityType *stringType of authority to set
tokenMint *stringToken mint address
walletName *stringName of the wallet with current authority
newAuthoritystringAddress of new authority (or null to revoke authority)

get_token_supply

Get the total supply of a token

ParameterTypeDescription
tokenMint *stringToken mint address

close_token_account

Close a token account and reclaim rent

ParameterTypeDescription
destinationAddress *stringAddress to send remaining lamports to
tokenMint *stringToken mint address
walletName *stringName of the wallet that owns the account

approve_delegate

Approve a delegate to transfer tokens on your behalf

ParameterTypeDescription
amount *numberMaximum amount delegate can transfer
delegateAddress *stringAddress of the delegate
tokenMint *stringToken mint address
walletName *stringName of the wallet that owns the tokens

revoke_delegate

Revoke a delegate's authority to transfer tokens

ParameterTypeDescription
tokenMint *stringToken mint address
walletName *stringName of the wallet that owns the tokens