SOLANA
A Model Context Protocol (MCP) server for interacting with the Solana blockchain
claude mcp add --transport stdio 6rz6-solana-mcp-server node /path/to/SOLANA-MCP-Server/build/index.js \ --env SOLANA_RPC_URL="https://api.mainnet-beta.solana.com"
How to use
The SOLANA MCP Server provides a set of tools to interact with the Solana blockchain. It exposes endpoints for querying account balances, account information, token accounts, token metadata, transaction history, and network statistics across multiple Solana networks (Mainnet, Devnet, and Testnet). You can run the server and then use the provided MCP commands to fetch data for any Solana address or token.
To use the tools, configure the MCP server with the appropriate RPC URL for the network you intend to query (e.g., mainnet-beta, devnet, or testnet). The server exposes commands such as get_balance, get_account_info, get_token_accounts, get_token_info, get_transaction_history, and get_network_stats. These can be called from your MCP client or workflow to gather structured Solana data for wallets, dApps, or analytics pipelines.
How to install
Prerequisites:\n- Node.js and npm installed on your machine.\n- Access to a terminal or command prompt.\n\nInstallation steps:\n1) Clone the repository:\n git clone https://github.com/6rz6/SOLANA-MCP-Server.git cd SOLANA-MCP-Server ````\n2) Install dependencies:\n
npm install
\n3) Build the TypeScript project (if applicable):\n``` npm run build \n4) Run the server (example, using the path from build):\n```
npm run start # or use your preferred start command
Additional notes
Tips and notes:\n- The SOLANA_RPC_URL environment variable controls which Solana network the server queries. Default is mainnet-beta. Change it to devnet or testnet as needed.\n- Ensure the RPC endpoint you provide supports the requested data and has sufficient rate limits for your usage.\n- The server supports multiple networks; you can create separate MCP entries for mainnet, devnet, and testnet by providing different RPC URLs.\n- If you run into timeouts or slow responses, consider using a dedicated RPC service or a higher-tier endpoint, and verify your network connectivity.\n- For development, use npm run dev (watch mode) and npm run build to compile changes before testing with MCP clients.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.