Solana MCP Server

Blockchain API for AI Assistants • Model Context Protocol

🟢 Online
v1.1.1

🚀 What is Solana MCP Server?

A comprehensive Model Context Protocol (MCP) server that provides AI assistants like Claude with direct access to Solana blockchain data and sBPF program testing tools.

72+
MCP Tools
9
sBPF Testing Tools
100%
Uptime
<100ms
Response Time

📡 API Endpoints

POST /api/mcp - MCP JSON-RPC API
GET /health - Health check & capabilities
GET /metrics - Prometheus metrics

🛠️ sBPF Testing Tools NEW

Complete toolkit for testing Solana programs locally and deploying to devnet:

validateSbpfBinary
Validate program binary format and structure
deploySbpfProgramLocal
Deploy programs to local VM
prepareDevnetDeploy ⭐
Get CLI commands for devnet deployment
testSbpfProgram
Test programs with mock accounts
securityScanSbpfBinary 🔒
Detect vulnerabilities and security risks
getSbpfReadme
Complete documentation overview
getSbpfTutorial
Step-by-step guides
getSbpfExamples
Code examples in 4 languages
getSbpfFaq
Troubleshooting & FAQs

⚡ Quick Start

1. List Available Tools

curl -X POST https://solahaha.com/api/mcp \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'

2. Validate an sBPF Binary

curl -X POST https://solahaha.com/api/mcp \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "validateSbpfBinary", "arguments": { "programBinary": "'$(base64 -w 0 program.so)'" } }, "id": 1 }'

3. Prepare for Devnet Deployment

curl -X POST https://solahaha.com/api/mcp \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "prepareDevnetDeploy", "arguments": { "programBinary": "'$(base64 -w 0 program.so)'" } }, "id": 1 }'

✨ Key Features

🔗 Resources