XRPL MCP Server
XRPL MCP サーバー
AI モデルに XRP 元帳データと機能へのアクセスを提供するモデル コンテキスト プロトコル (MCP) サーバー。
概要
XRPL MCPサーバーは、ClaudeやGPTなどの大規模言語モデル(LLM)とXRP Ledger間の橋渡しとして機能します。これにより、AIモデルは標準化されたAPIインターフェースを介してXRP Ledgerからアカウント情報を取得できるようになります。
Related MCP server: xrpl mcp
特徴
アカウント情報(残高、シーケンス番号)を取得する
信頼ラインと発行通貨の照会
アカウントが所有するNFTを表示する
取引履歴を取得する
DEXから注文書データにアクセスする
署名されたトランザクションをネットワークに送信する
サーバーのステータス情報を取得する
MCP を介した信頼性の高い XRP 元帳データへのアクセス
MCP対応AIアプリケーションとの簡単な統合
インストール
ソースから
このリポジトリをクローンします:
git clone https://github.com/lgcarrier/xrpl-mcp-server.git cd xrpl-mcp-server仮想環境を作成してアクティブ化します。
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate依存関係をインストールします:
pip install -r requirements.txt
pipの使用
pip install xrpl-mcp-server構成
サーバーは次の環境変数を使用します。
XRPL_NODE_URL- XRP LedgerノードのURL(デフォルトは「 https://s1.ripple.com:51234/ 」)
使用法
ソースから実行
サーバーを起動します。
python -m xrpl_mcp_serverインストールされたパッケージとして実行
xrpl-mcp-serverClaude やその他の MCP 対応 AI アシスタントと併用する
MCP をインストールします。
mcp install xrpl-mcp-serverClaude は XRPL ツールを利用できるようになり、XRP Ledger アカウント情報を要求できるようになります。
利用可能なツール
アカウント情報を取得する
XRP Ledger アカウントに関する情報を取得します。
パラメータ:
address(文字列):XRP Ledgerアカウントのアドレス(「r」で始まる)
戻り値:
XRPのアカウント残高
アカウントシーケンス番号
アカウントラインを取得する
XRP Ledger アカウントの信頼ラインを取得します。
パラメータ:
address(文字列):XRP Ledgerアカウントのアドレス(「r」で始まる)peer(文字列、オプション): 結果をフィルタリングする相手方のアカウントのアドレスlimit(整数、オプション): 返される信頼ラインの数の制限
戻り値:
アカウントの信頼ラインに関するJSON形式の情報
アカウントを取得
XRP Ledger アカウントが所有する NFT を取得します。
パラメータ:
address(文字列):XRP Ledgerアカウントのアドレス(「r」で始まる)limit(整数、オプション):返されるNFTの数の制限
戻り値:
アカウントのNFTに関するJSON形式の情報
アカウント取引を取得する
XRP Ledger アカウントの取引履歴を取得します。
パラメータ:
address(文字列):XRP Ledgerアカウントのアドレス(「r」で始まる)limit(整数、オプション): 返されるトランザクション数の制限binary(ブール値、オプション):トランザクションをバイナリ形式で返すフラグ(デフォルトはFalse)forward(ブール値、オプション):元帳履歴を前方に検索するためのフラグ(デフォルトはFalse)
戻り値:
アカウントの取引履歴に関するJSON形式の情報
get_server_info
接続されている XRP Ledger サーバーに関する情報を取得します。
パラメータ:
なし
戻り値:
XRP Ledgerサーバーに関するJSON形式の情報
トランザクションの送信
署名されたトランザクション BLOB を XRP 元帳に送信します。
パラメータ:
tx_blob(文字列): 16進形式の署名済みトランザクションBLOB
戻り値:
JSON形式の送信結果
トランザクション情報を取得する
特定のトランザクションに関する情報を取得します。
パラメータ:
transaction_hash(文字列): トランザクションのハッシュ
戻り値:
JSON形式の取引詳細
本のオファーを取得する
DEX 上の通貨ペアの注文書オファーを取得します。
パラメータ:
taker_gets(オブジェクト): テイカーが受け取りたい通貨。例:{"currency": "XRP"}または{"currency": "USD", "issuer": "r..."}taker_pays(オブジェクト): テイカーが支払いたい通貨。例:{"currency": "EUR", "issuer": "r..."}または{"currency": "XRP"}limit(整数、オプション): 返されるオファーの数の制限
戻り値:
JSON形式の注文書オファー
例
クロードに聞く:
XRPアカウントrPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYeの残高はいくらですか?
その後、Claude はget_account_infoツールを使用して、この情報を XRP Ledger から直接取得できます。
応答例:
Account: rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe
XRP Balance: 25.5
Sequence: 123456次に別の例を示します。
アカウント rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe はどのような NFT を所有していますか?
Claude はget_account_nftsツールを使用してこの情報を取得できます。
発達
アーキテクチャ、コーディング ルール、実装計画に関する詳細なドキュメントについてはmemory-bankディレクトリを参照してください。
開発環境をセットアップするには:
pip install -e ".[dev]"ライセンス
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 Connectors
XRPL token rug-checks, issuer reputation & AMM data for AI agents. Pay-per-call USDC via x402.
Trust and payment layer for the agentic economy on the XRP Ledger.
Trustless XRPL escrow oracle for AI agents. Create jobs, verify work, release XRP/RLUSD payments.
Verified RWA tokenization knowledge — security tokens, regulation, standards — for any AI.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server providing comprehensive access to the XRP Ledger (XRPL). This service enables AI models to interact with XRPL through standardized endpoints.4
- AlicenseNot gradedqualityCmaintenanceCP server that provides integration with the XRP Ledger. The server allows AI assistants to access account information, transaction history, and network data on the XRP Ledger, with capabilities for querying ledger objects, submitting transactions, and monitoring the network.913MIT
- FlicenseNot gradedqualityDmaintenanceA bridge that connects Dune Analytics blockchain data to AI applications through Model Control Protocol, allowing LLMs to access on-chain data via natural language interactions.9
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with LI.FI's cross-chain infrastructure, providing access to blockchain networks, token data, bridges, and transaction services through a standardized protocol.
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/lgcarrier/xrpl-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server