Solana Agent Kit MCP Server
Solana エージェントキット MCP サーバー
ファラをチェック
Claude AIにオンチェーンツールを提供するモデルコンテキストプロトコル(MCP)サーバー。標準化されたインターフェースを介してSolanaブロックチェーンとやり取りできます。この実装はSolana Agent Kitに基づいており、AIエージェントがブロックチェーン操作をシームレスに実行できるようにします。
概要
この MCP サーバーは、次のツールを提供することで Claude の機能を拡張します。
Solanaブロックチェーンとやりとりする
トランザクションを実行する
アカウント情報の照会
Solanaウォレットを管理する
サーバーは、AI エージェントのブロックチェーン相互作用を標準化するために、モデル コンテキスト プロトコル仕様を実装します。
Related MCP server: AMOCA Solana MCP Server
前提条件
Node.js (v16 以上)
pnpm(推奨)、npm、またはyarn
秘密鍵付きSolanaウォレット
Solana RPC URL (メインネット、テストネット、または開発ネット)
インストール
オプション 1: クイックインストール (推奨)
# Download the installation script
curl -fsSL https://raw.githubusercontent.com/sendaifun/solana-mcp/main/scripts/install.sh -o solana-mcp-install.sh
# Make it executable and run
chmod +x solana-mcp-install.sh && ./solana-mcp-install.sh --backupこれにより、対話型のインストール プロセスが開始され、次の手順が案内されます。
必要に応じてNode.jsを設定する
Solana RPC URLと秘密鍵の設定
Claudeデスクトップ統合の設定
オプション 2: npm からインストールする (Cursor/Cline などのクライアントに推奨)
# Install globally
npm install -g solana-mcp
# Or install locally in your project
npm install solana-mcpオプション3: ソースからビルドする
このリポジトリをクローンします:
git clone https://github.com/sendaifun/solana-mcp
cd solana-mcp依存関係をインストールします:
pnpm installプロジェクトをビルドします。
pnpm run build構成
環境設定
資格情報を使用して.envファイルを作成します。
# Solana Configuration
SOLANA_PRIVATE_KEY=your_private_key_here
RPC_URL=your_solana_rpc_url_here
OPENAI_API_KEY=your_openai_api_key # OPTIONALClaude Desktopとの統合
この MCP サーバーを Claude Desktop に追加するには、次の手順に従います。
Claudeデスクトップ構成ファイルを見つける
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
構成を追加する構成ファイルを作成または編集し、次の JSON を追加します。
npm 経由でインストールした場合 (オプション 1):
{ "mcpServers": { "solana-mcp": { "command": "npx", "args": ["solana-mcp"], "env": { "RPC_URL": "your_solana_rpc_url_here", "SOLANA_PRIVATE_KEY": "your_private_key_here", "OPENAI_API_KEY": "your_openai_api_key" // OPTIONAL }, "disabled": false, "autoApprove": [] } } }ソースからビルドした場合 (オプション 2):
{ "mcpServers": { "solana-mcp": { "command": "node", "args": ["/path/to/solana-mcp/build/index.js"], "env": { "RPC_URL": "your_solana_rpc_url_here", "SOLANA_PRIVATE_KEY": "your_private_key_here", "OPENAI_API_KEY": "your_openai_api_key" // OPTIONAL }, "disabled": false, "autoApprove": [] } } }**Claude Desktop を再起動します。**これらの変更を行った後、設定を有効にするために Claude Desktop を再起動します。
プロジェクト構造
solana-agent-kit-mcp/
├── src/
│ ├── index.ts # Main entry point
├── package.json
└── tsconfig.json利用可能なツール
MCP サーバーは、次の Solana ブロックチェーン ツールを提供します。
GET_ASSET- Solanaアセット/トークンに関する情報を取得するDEPLOY_TOKEN- Solanaに新しいトークンをデプロイするGET_PRICE- トークンの価格情報を取得するWALLET_ADDRESS- ウォレットアドレスを取得するBALANCE- ウォレットの残高を確認するTRANSFER- ウォレット間でトークンを転送するMINT_NFT- 新しいNFTを作成して発行するTRADE- トークン取引を実行するREQUEST_FUNDS- 資金をリクエストする(テスト/開発に役立ちます)RESOLVE_DOMAIN- Solanaドメイン名を解決するGET_TPS- Solana の現在の 1 秒あたりのトランザクション数を取得します。
セキュリティに関する考慮事項
秘密鍵を安全に保管し、決して共有しないでください
機密情報には環境変数を使用する
AIエージェントの運用には専用のウォレットの使用を検討してください
AIエージェントの活動を定期的に監視および監査する
メインネットの前に開発ネット/テストネットでテスト運用
トラブルシューティング
問題が発生した場合:
Solanaの秘密鍵が正しいことを確認する
RPC URL にアクセスできるかどうかを確認してください
目的のネットワーク(メインネット、テストネット、または devnet)に接続していることを確認します
Claude Desktop のログでエラーメッセージを確認してください
ビルドが成功したことを確認する
依存関係
主な依存関係は次のとおりです。
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
リポジトリをフォークする
機能ブランチを作成します(
git checkout -b feature/amazing-feature)変更をコミットします (
git commit -m 'Add some amazing feature')ブランチにプッシュする (
git push origin feature/amazing-feature)プルリクエストを開く
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
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
- AlicenseCqualityCmaintenanceA Model Context Protocol server that provides Claude with comprehensive access to Solana blockchain data via the Helius API, enabling operations like checking wallet balances, retrieving blockchain information, and interacting with tokens and NFTs.381014MIT
- Alicense-qualityDmaintenanceA 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
- Flicense-qualityFmaintenanceA Model Context Protocol server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network information.7
- Flicense-qualityDmaintenanceA 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
Related MCP Connectors
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/sendaifun/solana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server