Solana MCP Server
Solana MCP 服务器
用于与 Solana 区块链交互的模型-上下文-协议 (Model-Context-Protocol) 服务器。该服务器为常见的 Solana 操作提供简单的 RPC 端点。
特征
获取当前插槽号
查看账户余额
获取详细账户信息
显示密钥对信息
在账户之间转移 SOL
Related MCP server: Model Context Protocol Server for Solana Client
快速入门
克隆并安装依赖项:
git clone https://github.com/yourusername/solana-mcp-server.git
cd solana-mcp-server
npm install构建工具
npm run build将该工具添加到您的 claude_desktop_config.json
"solana-rpc": {
"command": "node",
"args": [
"/PATH/TO/solana-mcp-server/build/index.js"
]
}用法
问克劳德:
solana 上最新的插槽是什么?
62QXuWZ3WT6ws1ZFxJobVDVXn6bEsiYpLo5yG612U6u3 的余额是多少?
这是我的测试密钥 [用密钥替换]。让我们将 0.001 SOL 转移到 [用公共地址替换]
安全说明
仅使用包含少量资金的测试钱包来使用它。
RPC 端点
该服务器通过https://api.mainnet-beta.solana.com连接到 Solana 的主网。要使用其他网络(例如 devnet 或 testnet),请修改src/index.ts中的SOLANA_RPC常量。
Available Tools
5 toolsgetAccountInfoB
Get detailed account information for a Solana address
Inputs: address (required), encoding.
getBalanceC
Get balance for a Solana address
Inputs: address (required).
getKeypairInfoC
Get information about a keypair from its secret key
Inputs: secretKey (required).
getSlotC
Get the current slot
Inputs: no named parameters.
transferC
Transfer SOL from your keypair to another address
Inputs: amount (required), secretKey (required), toAddress (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: getAccountInfo retrieves detailed account data, getBalance focuses on balance only, getKeypairInfo handles keypair details, getSlot provides blockchain slot information, and transfer performs SOL transactions. There is no overlap or ambiguity in their functions.
All tool names follow a consistent verb_noun pattern using camelCase (e.g., getAccountInfo, getBalance, transfer). The naming is uniform and predictable across all five tools.
With 5 tools, the count is well-scoped for a Solana server, covering essential operations like querying accounts, balances, keypairs, slots, and transfers. It feels slightly thin but reasonable for basic blockchain interactions.
The tools cover key read operations (getAccountInfo, getBalance, getSlot) and a basic write operation (transfer), but there are notable gaps such as missing transaction history, program interactions, or token operations that are common in Solana workflows. Agents can work around this for simple tasks.
Related MCP Connectors
Solana RPC (keyless)
Solana market data, mainnet bonding-curve quotes and unsigned buy/sell transactions. No wallet keys.
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Solana launchpad trading: markets, quotes, wallet balances and unsigned buy/sell transactions
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model-Context-Protocol server enabling users to perform basic operations on Solana and Ethereum blockchains through simple RPC endpoints.93Apache 2.0
- AlicenseBqualityDmaintenanceA server that enables interaction with the Solana blockchain, providing access to over 40 Solana RPC methods including getting balances, transaction details, block information, and sending transactions.444MIT
- AlicenseNot gradedqualityDmaintenanceA server that enables interaction with the Solana blockchain using your own private key, supporting operations like getting wallet information, checking balances, and transferring SOL.11ISC
- AlicenseNot gradedqualityDmaintenanceA Solana blockchain interaction server that allows AI tools to query blockchain data using natural language, access structured token information, and generate human-readable explanations of complex blockchain concepts.6MIT