MCP 木星
このリポジトリには、Claude が Jupiter のスワップ API にアクセスできるようにする Model Context Protocol (MCP) サーバーが含まれています。このサーバーにより、Claude は Jupiter を使用して Solana ブロックチェーン上で、クォートの取得、スワップトランザクションの構築、スワップトランザクションの送信などの操作を実行できます。
概要
MCP サーバーは、Claude にいくつかのツールを公開します。
jupiter_get_quote
: Jupiter のトークン交換の見積もりを取得するjupiter_build_swap_transaction
: Jupiter 上でスワップトランザクションを構築するjupiter_send_swap_transaction
: Jupiter でスワップトランザクションを送信する
前提条件
- Node.js (v16 以上)
- クロードデスクトップアプリケーション
インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- プロジェクトをビルドします。
グローバルインストール
パッケージをグローバルにインストールすることも、npx で直接使用することもできます。
構成
Claudeデスクトップの設定
この MCP サーバーを使用するように Claude Desktop を構成するには:
- クロードデスクトップを開く
- Claude Desktop 構成ファイルに移動します。
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
- MCP サーバー構成を追加します。
パッケージをグローバルにインストールした場合、または npx を使用する場合は、次のように設定できます。
ローカルで実行
使用法
設定が完了したら、Claude Desktopを再起動してください。これでClaudeはJupiterのスワップツールにアクセスできるようになります。Claudeに以下の操作を依頼できます。
- トークン交換の見積もりを取得する:
- スワップ取引を構築します。
- スワップトランザクションを送信します。
Claude は MCP サーバーを使用して、Jupiter の swap API と直接対話します。
発達
新しいツールの追加
MCP サーバーに新しいツールを追加するには:
src/tools.ts
でツールを定義する- 適切なハンドラーファイルにハンドラー関数を作成する
src/tools.ts
のhandlers
オブジェクトにハンドラーを追加します。
建物
ライセンス
マサチューセッツ工科大学
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Claude が Jupiter の API を介して Solana トークンのスワップを実行できるようにするモデル コンテキスト プロトコル サーバー。これには、Solana ブロックチェーン上での見積もりの取得、トランザクションの構築、スワップ トランザクションの送信などが含まれます。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA 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.Last updated -112TypeScriptMIT License
- -securityAlicense-qualityA 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.Last updated -21979Apache 2.0
- -securityAlicense-qualityA Model Context Protocol server enabling AI agents to interact with the Solana blockchain for DeFi operations like checking balances, transferring tokens, executing swaps, and fetching price data.Last updated -21915TypeScriptMIT License
- -securityAlicense-qualityA 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.Last updated -TypeScriptMIT License