SS

sendaifun/solana-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

166 stars 54 forks 品質 70 トレンド 17Apache-2.0

Solana Agent Kit(https://github.com/sendaifun/solana-agent-kit))によって駆動される、Solanaブロックチェーンと相互作用するためのモデルコンテキストプロトコルサーバーです。

概要

モデルコンテキストプロトコル(MCP)サーバーで、Claude AIのオンチェーンツールを提供し、標準化されたインターフェースを通じてSolanaブロックチェーンとやり取りできます。この実装はSolana Agent Kitを基にしており、AIエージェントがブロックチェーン操作をシームレスに実行できるようにします。 このMCPサーバーは、以下のツールを提供することでClaudeの機能を拡張します。 * Solanaブロックチェーンとのやり取り * 取引の実行 * アカウント情報を照会 * Solanaウォレットの管理 このサーバーは、AIエージェントのブロックチェーンインタラクションを標準化するためにModel Context Protocol仕様を実装しています。 * Node.js(v16以上) * pnpm(推奨)、npm、またはyarn * 秘密鍵付きのSolanaウォレット * Solana RPC URL(メインネット、テストネット、またはdevnet) これによりインタラクティブなインストールプロセスが始まり、以下の手順を案内します:- 必要に応じてNode.jsを設定する - Solana RPC URLと秘密鍵の設定 - Claude Desktop統合の設定 .を作成してください。

概要(AI 翻訳)

ファラの様子を見てください

モデルコンテキストプロトコル(MCP)サーバーで、Claude AIのオンチェーンツールを提供し、標準化されたインターフェースを通じてSolanaブロックチェーンとやり取りできます。この実装はSolana Agent Kitを基にしており、AIエージェントがブロックチェーン操作をシームレスに実行できるようにします。

概要

このMCPサーバーは、以下のツールを提供することでClaudeの機能を拡張します。

  • Solanaブロックチェーンとインタラクション
  • トランザクションを実行する
  • アカウント情報を検索
  • Solanaウォレットの管理

このサーバーは、AIエージェントのブロックチェーンインタラクションを標準化するためにModel Context Protocol仕様を実装しています。

前提条件

  • Node.js(v16以上)
  • PNPM(推奨)、NPM、または毛糸
  • 秘密鍵付きのソラナウォレット
  • Solana RPC URL(メインネット、テストネット、またはdevnet)

設置

オプション1:クイックインストール(推奨)

これにより、インタラクティブな設置プロセスが始まり、以下の手順を案内します。

  • 必要に応じてNode.jsをセットアップすること
  • Solana RPC URLと秘密鍵の設定
  • Claude Desktop統合の設定

オプション2:npmからインストール(Cursor/Clineのようなクライアントに推奨)

オプション3:ソースからビルド

  1. このリポジトリのクローン:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Solana Agent Kit MCP Server

Check on Phala

A Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface. This implementation is based on the Solana Agent Kit and enables AI agents to perform blockchain operations seamlessly.

Overview

This MCP server extends Claude’s capabilities by providing tools to:

  • Interact with Solana blockchain
  • Execute transactions
  • Query account information
  • Manage Solana wallets

The server implements the Model Context Protocol specification to standardize blockchain interactions for AI agents.

Prerequisites

  • Node.js (v16 or higher)
  • pnpm (recommended), npm, or yarn
  • Solana wallet with private key
  • Solana RPC URL (mainnet, testnet, or devnet)

Installation

# 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

This will start an interactive installation process that will guide you through:

  • Setting up Node.js if needed
  • Configuring your Solana RPC URL and private key
  • Setting up the Claude Desktop integration

Option 2: Install from npm ( recommend for clients like Cursor/Cline)

# Install globally
npm install -g solana-mcp

# Or install locally in your project
npm install solana-mcp

Option 3: Build from Source

  1. Clone this repository:
git clone https://github.com/sendaifun/solana-mcp
cd solana-mcp
  1. Install dependencies:
pnpm install
  1. Build the project:
pnpm run build

Configuration

Environment Setup

Create a .env file with your credentials:

# Solana Configuration
SOLANA_PRIVATE_KEY=your_private_key_here
RPC_URL=your_solana_rpc_url_here
OPENAI_API_KEY=your_openai_api_key # OPTIONAL

Integration with Claude Desktop

To add this MCP server to Claude Desktop, follow these steps:

  1. Locate the Claude Desktop Configuration File
GitHub で README 全文を見る

インストール

npx solana-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "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": [] } } }