🤖
AI Assistant Integration via MCP
Use Solana blockchain data directly in Claude Desktop, Cursor, and other AI coding assistants
Supported Platforms
Claude Desktop
Native MCP integration
Cursor IDE
Composer integration
Claude Code CLI
Command-line interface
Quick Setup
1. Install the CLI
npm install -g solanamcp-cli
3. Configure Your AI Assistant
Add this to your MCP config:
{
"mcpServers": {
"solanamcp": {
"command": "solanamcp",
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}4. Restart and Start Using
Restart your AI assistant and start asking questions!
Natural Language Examples
You:
"What's the current price of SOL?"
AI:
"SOL is currently trading at $127.45, up 2.3% in the last 24 hours."
You:
"Show me my wallet balance and NFTs"
AI:
"Your wallet contains 5.2 SOL and 23 NFTs from 3 different collections."
You:
"Is this token safe to buy?"
AI:
"⚠️ Security Risk Score: 8/10. The token has freeze authority enabled and the creator has a history of rug pulls. I'd recommend avoiding this token."
Benefits of MCP
- →Natural Language: Ask questions in plain English
- →Real-time Data: Get live blockchain data instantly
- →Context Aware: AI understands wallet addresses and token symbols
- →Secure: API keys keep your data private
- →No Code Required: Get blockchain data without writing code