Skip to main content
Glama
Solana MCP Server

Solana MCP Server

by akc2267

Solana MCP サーバー

Solanaブロックチェーンとやり取りするためのモデル・コンテキスト・プロトコルサーバー。このサーバーは、一般的な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 tools
getAccountInfoB

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

    B3.1/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness3/5

    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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      6
      MIT