Solana MCP Server
Solana MCP(モデルコンテキストプロトコル)
AI エージェントが Solana ブロックチェーンおよび DeFi プロトコルと対話するための強力な Model Context Protocol (MCP) サーバー。
🚀 概要
Solana MCPは、AIエージェント(Claude、ChatGPTなど)がSolanaブロックチェーン上でDeFi操作を実行するための標準化されたインターフェースを提供します。AIと分散型金融(DeFi)のギャップを埋め、AIシステムによる以下の機能を実現します。
ウォレットの残高とトークン保有量を照会する
SOLトークンとSPLトークンを転送する
トークンスワップを実行する
リアルタイムの価格データを取得する
高度なDeFi操作を実行する
Solana エージェント キットとモデル コンテキスト プロトコル (MCP) 上に構築されたこのツールは、自動化された DeFi 操作のための安全で効率的、かつ標準化されたインターフェースを提供します。
Related MCP server: AMOCA Solana MCP Server
📋 前提条件
Node.js v22.x 以降
npm または yarn パッケージマネージャー
Solanaウォレット(キーペア)
Solana の RPC エンドポイント (例: Helius、Alchemy、または独自のノード)
🔧 インストール
このリポジトリをクローンします:
git clone https://github.com/caiovicentino/Solana-MCP.git
cd Solana-MCP依存関係をインストールします:
npm install次の変数を含む
.envファイルをルート ディレクトリに作成します。
SOLANA_PRIVATE_KEY=your_private_key_here
RPC_URL=your_rpc_url_here
OPENAI_API_KEY=optional_if_using_openai⚠️セキュリティ警告:
.envファイルをコミットしたり、秘密鍵を公開したりしないでください。.gitignore ファイルに.env.gitignore追加してください。
プロジェクトをビルドします。
npm run build🚀 使用方法
MCP サーバーを起動します。
npm start正常に起動すると、次のように表示されます。
✅ Connected to Solana
🔗 Using RPC: [your-rpc-endpoint]
👛 Wallet configured: [your-wallet-address]
🚀 Starting Yield AI MCP Server...
📊 Available DeFi actions: 8
✨ Yield AI MCP Server started. Ready to perform DeFi operations on Solana!💬 利用可能なアクション
MCP サーバーを通じて、次の DeFi アクションを利用できます。
アクション | 説明 |
| 現在のウォレットアドレスを取得する |
| ウォレットのSOL残高を確認する |
| SOLを別のウォレットに転送する |
| ウォレット内のすべてのトークンを一覧表示する |
| トークンの現在の価格を取得する |
| トークン間の取引を実行する |
| 現在のSolanaネットワークTPSを取得する |
| 流動性プールを介してトークンを交換する |
🔌 AIモデルとの統合
このMCPサーバーは、モデルコンテキストプロトコル(MCP)をサポートするAIモデルで使用するように設計されています。通信には標準入出力を使用するため、様々なAI統合フレームワークと互換性があります。
Claude での使用例:
// Example code for integrating with Claude API
// (Placeholder - actual integration depends on your specific AI framework)🔒 セキュリティに関する考慮事項
取引を実行する前に必ず確認する
取引制限の導入を検討する
適切な鍵管理方法で秘密鍵を保護します
テストには資金が限られた専用のウォレットを使用する
疑わしい活動を監視する
🛠️ 高度な設定
より高度な設定を行うには、次のファイルを変更できます。
src/index.ts: メインエントリポイント.env: 環境設定
📚 リソース
📄 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
🤝 貢献する
貢献を歓迎します!お気軽にプルリクエストを送信してください。
プロジェクトをフォークする
機能ブランチを作成します(
git checkout -b feature/amazing-feature)変更をコミットします (
git commit -m 'Add some amazing feature')ブランチにプッシュする (
git push origin feature/amazing-feature)プルリクエストを開く
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.40162Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.5MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain, allowing it to execute transactions, query accounts, manage wallets, get price predictions, trade tokens, and access various blockchain data sources.4
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that extends AI capabilities by providing tools to interact with the Solana blockchain, enabling operations like transactions, account queries, and wallet management.1Apache 2.0
Related MCP Connectors
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Solana token risk-scoring MCP server for AI trading agents with insider wallet cluster detection.
Native Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/caiovicentino/Solana-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server