Solana

by aldrin-labs

19 stars
362 downloads
Not rated
GitHub Website

About

Integrates with Solana blockchain to enable natural language querying of account data, transactions, and network status.

Details

Author
aldrin-labs
Repository
aldrin-labs/solana-mcp-server
GitHub stars
19
Downloads
362
License
The Unlicense
Categories
Database, Other, Finance, Productivity, Developer Tools, Design, AI, Search, Infrastructure, Knowledge Base, Frontend

The server provides 21 essential Solana RPC methods across different categories:

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Solana
    Command (node, npx, python, etc.) cargo
    Arguments
    • Argument 1 run
    Environment
    • SOLANA_RPC_URL https://api.mainnet-beta.solana.com

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Add the following configuration to your Cline MCP settings file (~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json on macOS):

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

2. Restart Cline to load the new MCP server.

Once configured, you can interact with the Solana blockchain through natural language in Cline. Here are some example queries:

- "What's the SOL balance of address Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr?"
- "Show me the current slot number"
- "Get information about the latest block"
- "What's the current inflation rate?"
- "Show me the token accounts owned by address ..."

- SOLANA_RPC_URL: (Optional) The Solana RPC endpoint to use. Defaults to "https://api.mainnet-beta.solana.com" if not specified.

cargo run

get_sol_balance

Get SOL balance for an address. Parameters: address (string)

get_token_balance

Get SPL token balance. Parameters: address (string), token (string)

get_account_info

Get account information. Parameters: address (string)

get_largest_accounts

Get largest accounts on network. Parameters: limit (optional integer)

get_slot

Get current slot.

get_block

Get block information. Parameters: slot (integer)

get_block_time

Get block production time. Parameters: slot (integer)

get_transaction

Get transaction details. Parameters: transaction_id (string)

get_recent_blockhash

Get recent blockhash.

get_token_accounts_by_owner

Get token accounts by owner. Parameters: owner (string)

get_token_accounts_by_delegate

Get delegated token accounts. Parameters: delegate (string)

get_token_supply

Get token supply information. Parameters: token (string)

get_epoch_info

Get current epoch information.

get_version

Get node version.

get_health

Get node health status.

get_supply

Get current supply.

get_inflation_rate

Get inflation rate.

get_cluster_nodes

Get cluster node information.

get_minimum_balance_for_rent_exemption

Get minimum rent-exempt balance. Parameters: data_length (integer)

get_vote_accounts

Get vote accounts.

get_leader_schedule

Get leader schedule.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

Macos

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

Windows

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

Linux

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

A Model Context Protocol (MCP) server that provides comprehensive access to Solana blockchain data through Cline. This server implements a wide range of Solana RPC methods, making it easy to query blockchain information directly through natural language conversations.

The server provides 21 essential Solana RPC methods across different categories:

- get_sol_balance: Get SOL balance for an address
- get_token_balance: Get SPL token balance
- get_account_info: Get account information
- get_largest_accounts: Get largest accounts on network

- get_slot: Get current slot
- get_block: Get block information
- get_block_time: Get block production time
- get_transaction: Get transaction details
- get_recent_blockhash: Get recent blockhash

- get_token_accounts_by_owner: Get token accounts by owner
- get_token_accounts_by_delegate: Get delegated token accounts
- get_token_supply: Get token supply information

- get_epoch_info: Get current epoch information
- get_version: Get node version
- get_health: Get node health status
- get_supply: Get current supply
- get_inflation_rate: Get inflation rate
- get_cluster_nodes: Get cluster node information
- get_minimum_balance_for_rent_exemption: Get minimum rent-exempt balance

- get_vote_accounts: Get vote accounts
- get_leader_schedule: Get leader schedule
- Add the following configuration to your Cline MCP settings file (~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonon macOS):

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

- Restart Cline to load the new MCP server.

Once configured, you can interact with the Solana blockchain through natural language in Cline. Here are some example queries:

- "What's the SOL balance of address Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr?"
- "Show me the current slot number"
- "Get information about the latest block"
- "What's the current inflation rate?"
- "Show me the token accounts owned by address ..."

- SOLANA_RPC_URL: (Optional) The Solana RPC endpoint to use. Defaults to "https://api.mainnet-beta.solana.com" if not specified.

- Rust and Cargo
- Solana CLI tools (optional, for testing)

MCP server for Aave — lending pool data, reserve info, user positions, and liquidation thresholds.

DAI stability data, vault info, and governance parameters on MakerDAO.

Interact with the Aptos blockchain, supporting both testnet and mainnet for AI applications.

Real-time DeFi lending rates across 14+ protocols (Aave, Morpho, Spark, Compound, Venus, etc). Query borrow/supply rates, c ompare platforms, calculate looping strategies on 6 chains (Ethereum, Arbitrum, Base, BSC, Solana, HyperEVM).

Access blockchain transaction data in natural language, providing human-readable descriptions for AI assistants.

Provides comprehensive DeFi analytics and data for the Algorand ecosystem through the Vestige API.

MCP to interface with multiple blockchains, staking, DeFi, swap, bridging, wallet management, DCA, Limit Orders, Coin Lookup, Tracking and more.

Zen7 Payment Agent is the first implementation project of DePA (Decentralized Payment Agent), pioneers next-generation intelligent payment infrastructure.

Bitcoin-native MCP server for AI agents: BTC/STX wallets, DeFi yield, sBTC peg, NFTs, and x402 payments.

Blockchain data across 100+ chains: token prices, NFTs, transfers, simulation, traces, Solana DAS

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.