MCP server: One MCP server.

Solana

@expertvagabondMCP server · External

Solana MCP server for wallet, transactions & programs

Blockchain datav1.1.1MITJavaScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npmsolana-mcp-serverv1.1.1

Run

npx -y solana-mcp-server

MCP client config

{
  "mcpServers": {
    "solana": {
      "command": "npx",
      "args": [
        "-y",
        "solana-mcp-server"
      ]
    }
  }
}
README3 min read

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

bash
npx solana-mcp-server

Or install globally:

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

Configure

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

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

bash
git clone https://github.com/ExpertVagabond/solana-mcp-server.git
cd solana-mcp-server
npm install
npm run build
npm start
bash
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

Similar modules

Browse Blockchain data