solana
v1.1.1Solana 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
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the wallet |
import_wallet
Import an existing wallet from private key or mnemonic
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the wallet |
privateKey * | string | Private key in base58 format |
list_wallets
List all created/imported wallets
get_balance
Get SOL balance for a wallet
| Parameter | Type | Description |
|---|---|---|
walletName * | string | Name of the wallet |
get_token_balance
Get SPL token balance for a wallet
| Parameter | Type | Description |
|---|---|---|
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet |
transfer_sol
Transfer SOL between wallets
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in SOL |
fromWallet * | string | Name of the sender wallet |
toAddress * | string | Recipient address |
transfer_tokens
Transfer SPL tokens between wallets
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of tokens to transfer |
fromWallet * | string | Name of the sender wallet |
toAddress * | string | Recipient address |
tokenMint * | string | Token mint address |
airdrop_sol
Request SOL airdrop for testing (devnet/testnet only)
| Parameter | Type | Description |
|---|---|---|
walletName * | string | Name of the wallet |
amount | number | Amount of SOL to airdrop (default: 1) |
get_account_info
Get detailed account information
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address |
get_transaction
Get transaction details by signature
| Parameter | Type | Description |
|---|---|---|
signature * | string | Transaction signature |
get_recent_blockhash
Get recent blockhash for transaction building
switch_network
Switch Solana network
| Parameter | Type | Description |
|---|---|---|
network * | string | Network to switch to |
get_network_info
Get current network information
create_token_account
Create associated token account for SPL tokens
| Parameter | Type | Description |
|---|---|---|
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet |
get_token_accounts
Get all token accounts for a wallet
| Parameter | Type | Description |
|---|---|---|
walletName * | string | Name of the wallet |
create_spl_token
Create a new SPL token with specified decimals
| Parameter | Type | Description |
|---|---|---|
walletName * | string | Name of the wallet that will be the mint authority |
decimals | number | Number of decimal places for the token (default: 9) |
freezeAuthority | boolean | Whether to enable freeze authority (default: false) |
mint_tokens
Mint tokens to a specific account
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of tokens to mint (in token units, not raw) |
destinationAddress * | string | Destination wallet address |
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet with mint authority |
burn_tokens
Burn tokens from a wallet
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of tokens to burn (in token units) |
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet to burn tokens from |
freeze_account
Freeze a token account to prevent transfers
| Parameter | Type | Description |
|---|---|---|
accountAddress * | string | Address of the token account to freeze |
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet with freeze authority |
thaw_account
Thaw a frozen token account to allow transfers
| Parameter | Type | Description |
|---|---|---|
accountAddress * | string | Address of the token account to thaw |
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet with freeze authority |
set_token_authority
Set or change authority for a token mint or account
| Parameter | Type | Description |
|---|---|---|
authorityType * | string | Type of authority to set |
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet with current authority |
newAuthority | string | Address of new authority (or null to revoke authority) |
get_token_supply
Get the total supply of a token
| Parameter | Type | Description |
|---|---|---|
tokenMint * | string | Token mint address |
close_token_account
Close a token account and reclaim rent
| Parameter | Type | Description |
|---|---|---|
destinationAddress * | string | Address to send remaining lamports to |
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet that owns the account |
approve_delegate
Approve a delegate to transfer tokens on your behalf
| Parameter | Type | Description |
|---|---|---|
amount * | number | Maximum amount delegate can transfer |
delegateAddress * | string | Address of the delegate |
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet that owns the tokens |
revoke_delegate
Revoke a delegate's authority to transfer tokens
| Parameter | Type | Description |
|---|---|---|
tokenMint * | string | Token mint address |
walletName * | string | Name of the wallet that owns the tokens |