solana-mcp-server
Verified Safeby openSVM
Overview
Provides a unified Multi-Chain Protocol (MCP) server for Solana RPC methods, network management, and optional monetized access via the x402 payment protocol, supporting stdio, HTTP, and WebSocket transports.
Installation
./target/release/solana-mcp-serverEnvironment Variables
- SOLANA_RPC_URL
- SOLANA_COMMITMENT
- SOLANA_PROTOCOL_VERSION
Security Notes
The server demonstrates strong security practices including explicit HTTPS enforcement for RPC URLs (`validate_rpc_url`), comprehensive input validation for network configuration, and active redaction/sanitization of sensitive data for logging (`sanitize_for_logging`). Custom error handling (`McpError`) prevents information leakage to clients. If the x402 payment protocol feature is enabled, it includes robust validation of payment transactions (e.g., `validate_svm_exact_payment`), ensuring strict adherence to expected instruction layouts and compute unit pricing to prevent malicious payments.
Similar Servers
turbomcp
Build high-performance, production-ready Model Context Protocol (MCP) servers in Rust with zero-boilerplate development, automatic schema generation, and multiple transport options.
solx402-mcp-server
The SOLx402 MCP Server enables AI assistants to interact with the x402 payment protocol on Solana, providing tools for service discovery, consumption, USDC payments, and access to Solana development resources.
ping-mcp
A Model Context Protocol (MCP) server designed to enhance interactions with the Solana blockchain, enabling applications to perform various blockchain operations.
P-Link-MCP
The P-Link MCP Server connects AI clients (like ChatGPT, Claude) to a Solana-based payment system, enabling conversational management of cryptocurrency payments, wallet information, and creation of payment links.