mcpField
S
solana

solana

Local
github.com/ExpertVagabondFinance2Updated 2w ago

About solana

solana is an MCP server for Solana wallet operations, SPL tokens, transfers, and network queries. It also supports Anchor programs and covers token authority and delegation operations.

Key features

  1. 01Wallet creation, import, and balances
  2. 02SPL token lifecycle operations
  3. 03SOL and token transfers
  4. 04Account and transaction queries
  5. 05Network selection and status

Use cases

  1. 01Managing wallets and SOL balances
  2. 02Creating and administering SPL tokens
  3. 03Inspecting accounts and transactions
  4. 04Switching between Solana networks

MCP support

It exposes 25 Solana tools to MCP clients for wallet management, token operations, transfers, account queries, and network information.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"expertvagabond-solana": {
"command": "npx",
"args": [
"-y",
"solana-mcp-server"
]
}
}
}
Run commandnpx -y solana-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmsolana-mcp-server1.1.1

Tools

25

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
namestringYesName for the wallet

Details

From the project README

solana-mcp-server

npm version License: MIT Node Tools

Full Solana blockchain MCP server. 25 tools for wallet management, SPL token operations, DeFi, staking, and network queries. Built on @solana/web3.js and @solana/spl-token with Anchor support.

The most actively maintained Solana MCP. Covers the complete SPL token lifecycle (create, mint, burn, freeze, thaw, delegate, authority management) that competitors skip.

Install

npx solana-mcp-server

Or install globally:

npm install -g solana-mcp-server
solana-mcp-server

Configure

Add to your MCP config (claude_desktop_config.json or ~/.mcp.json):

{
  "mcpServers": {
    "solana": {
      "command": "npx",
      "args": ["-y", "solana-mcp-server"],
      "env": {
        "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
      }
    }
  }
}

Tools (25)

Wallet Management (4)
ToolDescriptionKey Params
create_walletCreate a new Solana keypair (in-memory only)--
import_walletImport from a base58-encoded private keyprivateKey
list_walletsList all wallets in the current session--
get_balanceGet SOL balance for any addressaddress
SPL Token Operations (10)
ToolDescriptionKey Params
create_spl_tokenCreate a new SPL token with custom decimalswalletName, decimals
mint_tokensMint tokens to any addresswalletName, tokenMint, amount
burn_tokensBurn tokens from an accountwalletName, tokenMint, amount
freeze_accountFreeze a token accountwalletName, tokenMint, accountAddress
thaw_accountUnfreeze a token accountwalletName, tokenMint, accountAddress
set_token_authorityChange token authority (mint, freeze, owner, close)walletName, tokenMint, authorityType
get_token_supplyTotal supply and metadata for a tokentokenMint
close_token_accountClose an account and reclaim rentwalletName, tokenAccount
approve_delegateApprove a delegate for token transferswalletName, tokenAccount, delegate, amount
revoke_delegateRevoke delegate approvalwalletName, tokenAccount
Transfers (3)
ToolDescriptionKey Params
transfer_solTransfer SOL between walletsfrom, to, amount
transfer_tokensTransfer SPL tokensfrom, to, tokenMint, amount
airdrop_solRequest SOL airdrop (devnet/testnet only)address, amount
Account Queries (4)
ToolDescriptionKey Params
get_account_infoDetailed account informationaddress
get_transactionTransaction details by signaturesignature
create_token_accountCreate an associated token accountwalletName, tokenMint
get_token_accountsList all token accounts for a walletaddress
Token Data (1)
ToolDescriptionKey Params
get_token_balanceSPL token balance for a specific accountaddress, tokenMint
Network (3)
ToolDescriptionKey Params
switch_networkSwitch between mainnet, devnet, testnet, localhostnetwork
get_network_infoCurrent network status and info--
get_recent_blockhashRecent blockhash for transaction building--

Why This One?

  • Complete SPL token lifecycle. Create, mint, burn, freeze, thaw, set authority, delegate, close -- 10 token tools covering every operation. Competitors stop at create/transfer.
  • Production-ready infrastructure. Lazy connection initialization (no startup timeouts), 10-second network call timeouts, comprehensive error handling, and Smithery deployment support.
  • Anchor integration. Built with @coral-xyz/anchor support for interacting with Anchor programs alongside raw SPL token operations.

Networks

NetworkEndpoint
mainnethttps://api.mainnet-beta.solana.com
devnethttps://api.devnet.solana.com
testnethttps://api.testnet.solana.com
localhosthttp://127.0.0.1:8899

Security

  • Private keys stored in memory only -- never persisted to disk
  • Keys cleared on process exit
  • All inputs validated with Zod schemas

Environment Variables

VariableRequiredDescription
SOLANA_RPC_URLNoSolana RPC endpoint (default: mainnet)

Development

git clone https://github.com/ExpertVagabond/solana-mcp-server.git
cd solana-mcp-server
npm install
npm run build
npm start
npm test              # Basic functionality tests
npm run type-check    # TypeScript type checking
npm run lint          # ESLint
npm run quality       # Full quality check (lint + types + tests)

License

MIT -- Purple Squirrel Media

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.