Back to Home
openSVM icon

solana-mcp-server

Verified Safe

by 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

Run Command
./target/release/solana-mcp-server

Environment 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

Stats

Interest Score45
Security Score9
Cost ClassLow
Avg Tokens50
Stars53
Forks8
Last Update2025-12-13

Tags

SolanaRPCWebSocketHTTPCachex402Multi-Chain Protocol