Skip to content

Latest commit

 

History

History
254 lines (227 loc) · 9.05 KB

File metadata and controls

254 lines (227 loc) · 9.05 KB
layout title description
home
Solana MCP Server Documentation
A comprehensive Model Context Protocol server for seamless Solana blockchain integration with AI assistants like Claude

Solana MCP Server

A comprehensive Model Context Protocol server that provides seamless access to Solana blockchain data through AI assistants like Claude. Query blockchain information with natural language.

🚀

Comprehensive RPC Coverage

73+ Solana RPC methods across all major categories including accounts, blocks, transactions, tokens, and system operations. Real-time blockchain data with configurable commitment levels plus full WebSocket subscription support.

🌐

Multi-Network Support

Query multiple SVM-compatible networks simultaneously. Dynamic network configuration and management with parallel execution and result aggregation.

🛠️

Flexible Deployment

Deploy locally with Claude Desktop, as HTTP endpoints, serverless functions (AWS Lambda, Vercel, Google Cloud), or container orchestration (Docker, Kubernetes).

High Performance

Connection pooling, persistent RPC clients, configurable caching layers, parallel multi-network queries, and built-in rate limiting with error recovery.

📊

Monitoring & Scaling

Prometheus metrics, Kubernetes HPA support, health checks, and comprehensive logging for production-ready deployments with autoscaling capabilities.

🔒

Security First

Regular security audits with cargo audit, dependency updates, vulnerability monitoring, and comprehensive security documentation.

📚 Documentation

🚀

Get up and running quickly with step-by-step setup instructions, configuration, and your first queries.

<a href="{{ '/docs/architecture/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">🏗️</span>
  <h3 class="docs-card-title">Architecture</h3>
  <p class="docs-card-description">
    Understand the system design, component interactions, and internal workings of the MCP server.
  </p>
</a>

<a href="{{ '/docs/api-reference/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">📖</span>
  <h3 class="docs-card-title">API Reference</h3>
  <p class="docs-card-description">
    Complete documentation of all 73+ RPC methods with parameters, examples, and response formats including JSON-RPC API support.
  </p>
</a>

<a href="{{ '/docs/deployment/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">🚀</span>
  <h3 class="docs-card-title">Deployment</h3>
  <p class="docs-card-description">
    Deploy locally, to cloud platforms, serverless functions, or container orchestration systems.
  </p>
</a>

<a href="{{ '/docs/configuration/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">⚙️</span>
  <h3 class="docs-card-title">Configuration</h3>
  <p class="docs-card-description">
    Comprehensive guide to configuration options, environment variables, and customization.
  </p>
</a>

<a href="{{ '/docs/examples/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">💡</span>
  <h3 class="docs-card-title">Examples</h3>
  <p class="docs-card-description">
    Real-world examples, use cases, and practical applications with sample queries and responses.
  </p>
</a>

<a href="{{ '/docs/web-service/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">🌐</span>
  <h3 class="docs-card-title">Web Service & JSON-RPC</h3>
  <p class="docs-card-description">
    HTTP API mode with JSON-RPC 2.0 endpoints, WebSocket subscriptions, health checks, and Prometheus metrics integration.
  </p>
</a>

<a href="{{ '/docs/metrics/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">📊</span>
  <h3 class="docs-card-title">Metrics & Monitoring</h3>
  <p class="docs-card-description">
    Prometheus metrics, Kubernetes autoscaling, performance monitoring, and observability setup.
  </p>
</a>

<a href="{{ '/docs/security-audit/' | relative_url }}" class="docs-card">
  <span class="docs-card-icon">🔒</span>
  <h3 class="docs-card-title">Security</h3>
  <p class="docs-card-description">
    Security audit reports, vulnerability assessments, best practices, and compliance information.
  </p>
</a>

🎯 Usage Examples

💰 Basic Queries

  • "What's the SOL balance of address Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr?"
  • "Show me the current slot number"
  • "Get information about the latest block"
<div>
  <h3>🌐 Multi-Network</h3>
  <ul>
    <li>
      "List all available SVM networks"
    </li>
    <li>
      "Enable Eclipse mainnet for queries"
    </li>
    <li>
      "Check SOL balance on all enabled networks"
    </li>
  </ul>
</div>

<div>
  <h3>🔧 Advanced Operations</h3>
  <ul>
    <li>
      "Show me the largest USDC token accounts"
    </li>
    <li>
      "Get the leader schedule for the current epoch"
    </li>
    <li>
      "Check block production stats for a validator"
    </li>
  </ul>
</div>

🔗 Links & Resources

<script> // Add some interactive enhancements document.addEventListener('DOMContentLoaded', function() { // Animate feature cards on scroll const featureCards = document.querySelectorAll('.feature-card, .docs-card'); const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.style.opacity = '1'; entry.target.style.transform = 'translateY(0)'; } }); }, { threshold: 0.1, rootMargin: '0px 0px -50px 0px' }); featureCards.forEach(card => { card.style.opacity = '0'; card.style.transform = 'translateY(20px)'; card.style.transition = 'opacity 0.6s ease, transform 0.6s ease'; observer.observe(card); }); // Add hover effects to cards featureCards.forEach(card => { card.addEventListener('mouseenter', function() { this.style.transform = 'translateY(-5px)'; this.style.boxShadow = '0 10px 25px rgba(0, 0, 0, 0.1)'; }); card.addEventListener('mouseleave', function() { this.style.transform = 'translateY(0)'; this.style.boxShadow = ''; }); }); }); </script>