Skip to main content
Glama

Solana MCP サーバー 🌱

鍛冶屋のバッジ

独自の秘密鍵を使用して Solana ブロックチェーンと対話するための MCP サーバー。

📖 目次

Related MCP server: Solana MCP Server

✨ 特徴

  • 最新のスロットを取得

  • ウォレットアドレスを取得する

  • ウォレット残高を取得する

  • 転送SOL

⚙️ セットアップ

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Solana MCP を自動的にインストールするには:

npx -y @smithery/cli install @Grandbusta/solana-mcp --client claude

手動設定

  1. リポジトリをクローンする

git clone https://github.com/Grandbusta/solana-mcp.git
  1. 依存関係をインストールする

npm install
  1. プロジェクトを構築する

npm run build
  1. 鍵ペアファイルを作成する 任意の場所にkeypair.jsonというファイルを作成し、そこに秘密鍵をコピーします。例として、example-keypair.jsonファイルを参照してください。

注意:RPCエンドポイントはデフォルトでapi.devnet.solana.comに設定されています。別のエンドポイントを使用する場合は、 run.shファイルで設定できます。

カーソルとの統合

Cursor と統合するには、次の手順に従います。

  1. カーソル設定でMCPに移動します

  2. 「新しいMCPサーバーを追加」をクリックします

  3. 次の情報を入力してください。

    • 名前: Solana MCP

    • タイプ: コマンド

    • コマンド: /path/to/your/solana-mcp/run.sh /path/to/your/keypair.json

コマンド例: /Users/username/projects/solana-mcp/run.sh /Users/username/Documents/keypair.json

🛠️ 利用可能なツール

1. 最新スロットを取得する

最新のスロット番号を返します:

368202671

2. ウォレットアドレスを取得する

ウォレットアドレスを返します:

5GTuMBag1M8tfe736kcV1vcAE734Zf1SRta8pmWf82TJ

3. ウォレット残高を取得する

ウォレットの残高を SOL、Lamports、USD で返します。

{
  "lamportsBalance": "4179966000",
  "solanaBalnce": 4.179966,
  "usdBalance": "553.0513"
}

4. 転送

SOL を受信者のアドレスに転送します:

{
  "blockTime": "1742316463",
  "meta": {
    "computeUnitsConsumed": "150",
    "err": null,
    "fee": "5000",
    "innerInstructions": [],
    "loadedAddresses": {
      "readonly": [],
      "writable": []
    },
    "logMessages": [
      "Program 11111111111111111111111111111111 invoke [1]",
      "Program 11111111111111111111111111111111 success"
    ],
    "postBalances": [
      "4179966000",
      "819999000",
      "1"
    ],
    "postTokenBalances": [],
    "preBalances": [
      "4399970000",
      "600000000",
      "1"
    ],
    "preTokenBalances": [],
    "rewards": [],
    "status": {
      "Ok": null
    }
  },
  "slot": "368211978",
  "transaction": {
    "message": {
      "accountKeys": [
        "6qhddtBoEHqTc3VM35a3rb3aLUe6vDQfmLigo2G4r5s1",
        "5GTuMBag1M8tfe736kcV1vcAE734Zf1SRta8pmWf82TJ",
        "11111111111111111111111111111111"
      ],
      "addressTableLookups": [],
      "header": {
        "numReadonlySignedAccounts": 0,
        "numReadonlyUnsignedAccounts": 1,
        "numRequiredSignatures": 1
      },
      "instructions": [
        {
          "accounts": [
            0,
            1
          ],
          "data": "3Bxs452Q9hdvHuwd",
          "programIdIndex": 2,
          "stackHeight": null
        }
      ],
      "recentBlockhash": "BLqtPS9BHPp9CRFTrVAsrxFMWC98VTUAQ3vi12bSquLo"
    },
    "signatures": [
      "3bLyqbPn26ofkaxSAVqadQnHqXu9hyoryixmKCn69nunKg2cSryDVAWnfCcYPcGtjSmXcMHfrzc3bw25zFTabXvs"
    ]
  },
  "version": "0"
}

🧑‍💻 貢献する

貢献を歓迎します!問題を報告したり、プルリクエストを送信してください。

🔖 ライセンス

WTFPLライセンス

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    A server that provides simple RPC endpoints for common Solana blockchain operations, allowing users to check balances, get account information, and transfer SOL between accounts.
    5
    71
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.
    5
    MIT
  • 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

View all related MCP servers

Related MCP Connectors

  • Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.

  • Solana token risk-scoring MCP server for AI trading agents with insider wallet cluster detection.

  • Solana MCP developer toolkit: wallets, trades, markets, PnL, transfers, onchain, swaps & API tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Grandbusta/solana-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server