MCP.so
登录

Solana MCP Server

@aldrin-labs

基本信息

分类

其他

许可证

Unlicense

传输方式

stdio

作者

aldrin-labs

关于 Solana MCP Server

solana mcp sever to enable solana rpc methods

Solana MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

Solana MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

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.

3

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).

4

How many RPC methods are provided?

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

5

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`.

评论

其他 分类下的更多 MCP 服务器