MCP.so
ログイン

Solana MCP Server

@aldrin-labs

Solana MCP Server について

solana mcp sever to enable solana rpc methods

基本情報

カテゴリ

その他

ライセンス

Unlicense

ランタイム

rust

トランスポート

stdio

公開者

aldrin-labs

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "solana": {
      "command": "cargo",
      "args": [
        "run"
      ],
      "cwd": "/path/to/solana-mcp-server",
      "env": {
        "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Solana MCP Server?

Solana MCP Server is a Model Context Protocol server that provides comprehensive access to Solana blockchain data through Cline. It implements 21 Solana RPC methods, enabling developers to query blockchain information directly through natural language conversations.

How to use Solana MCP Server?

Add a JSON configuration block to your Cline MCP settings file (on macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json), specifying the server command (cargo run) and an optional SOLANA_RPC_URL environment variable (defaults to https://api.mainnet-beta.solana.com). Restart Cline, then ask natural language queries like “What’s the SOL balance of address …?” or “Show me the current slot number.”

Key features of Solana MCP Server

  • 21 essential Solana RPC methods in six categories
  • Account and balance operations (SOL, SPL tokens)
  • Block and transaction information retrieval
  • Token account queries by owner or delegate
  • System information (epoch, supply, inflation, health)
  • Staking and governance data (vote accounts, leader schedule)
  • Configurable RPC endpoint via environment variable

Use cases of Solana MCP Server

  • Check SOL or token balance for a given address
  • Get current slot, block details, or transaction data
  • Query token accounts owned by or delegated to an address
  • Retrieve network stats like epoch info, inflation rate, and supply
  • Monitor node health and cluster nodes for debugging

FAQ from Solana MCP Server

What makes this server different from using the Solana RPC directly?

The Solana MCP Server wraps 21 Solana RPC methods into an MCP interface, allowing users to query blockchain data via natural language in Cline instead of raw JSON-RPC calls.

What are the runtime requirements to run the server?

You need Rust and Cargo installed. Solana CLI tools are optional and only needed for testing.

Which Solana network does it query by default?

It defaults to mainnet-beta (https://api.mainnet-beta.solana.com), but you can set the SOLANA_RPC_URL environment variable to any Solana RPC endpoint (e.g., devnet or testnet).

How many RPC methods are provided?

The server implements exactly 21 RPC methods, covering accounts, blocks, tokens, system info, and staking/governance.

How is authentication handled?

No authentication is mentioned. The server connects to a public RPC endpoint by default; private endpoints can be used by setting SOLANA_RPC_URL.

コメント

「その他」の他のコンテンツ