┏━┓ ┃S┃ ┃B┃ ┗━┛
Solana Blockchain Data
SERVER URL
http://localhost:3000/api/mcp-server/solana-dataCONNECTION JSON
{
"mcpServers": {
"solana-data": {
"command": "npx",
"args": [
"mcp-remote@latest",
"http://localhost:3000/api/mcp-server/solana-data"
]
}
}
}Learn more about supported MCP clients
MCP HOST CONNECTIONS
Connect this MCP server directly to your AI assistant tools by using the JSON config above. Click on a logo to see a demo video.
╔═══╗ ║ ▸ ║ ║ │ ║ ╚═══╝
┌───┐ │ C │ │ L │ └───┘
DESCRIPTION
Access real-time Solana blockchain data including transactions, accounts, programs, and network statistics. Provides comprehensive analytics and monitoring capabilities for Solana development.
AVAILABLE TOOLS
getAccountInfo
Retrieve account information and balance
getTransaction
Fetch transaction details by signature
getProgramAccounts
Get all accounts owned by a program
getNetworkStats
Retrieve current network statistics
CODE EXAMPLES
// Solana MCP Client Example
import { Client } from '@modelcontextprotocol/sdk';
const client = new Client();
await client.connect('https://solana-mcp.x402.app/sse');
const account = await client.callTool({
name: 'getAccountInfo',
arguments: {
publicKey: 'YourWalletAddress...'
}
});
console.log('Balance:', account.lamports);Official MCP SDK Documentation:
https://github.com/modelcontextprotocol/modelcontextprotocol
Installation:
npm install @modelcontextprotocol/sdk
Authentication:
- For MCP Hosts (Cursor, Windsurf, Claude Desktop), saving the JSON config to your tool will automatically trigger the browser OAuth flow
- For programmatic access, obtain the OAuth token by running "npx mcp-remote <url>" in the terminal and follow the instructions