LX

lgcarrier/xrpl-mcp-server

Developer tools

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

11 stars 5 forks 品質 55 トレンド 8

XRP Ledger MCP Server

概要

An MCP server that gives AI assistants structured access to XRP Ledger data and network actions. - Get account balances and sequence numbers - Query trust lines and issued currencies - View NFTs owned by an account - Retrieve account transaction history - Fetch individual transaction details - Inspect DEX order book offers - Retrieve XRPL server status - Submit signed transactions Pick the install target that matches how you plan to use the server. The quickstart below is the source-checkout path for local development and MCP registration. If you only need the published package, use the PyPI install command above. What is the XRP balance and sequence number for account rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe? This installs the package in editable mode and includes the mcp CLI used for local development and Claude Desktop integration. The published package name is different from the GitHub repository name. The server uses the following environment variable:

README

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

XRPL MCP Server

An MCP server that gives AI assistants structured access to XRP Ledger data and network actions.

Requirements

  • Python 3.10 or newer

Features

  • Get account balances and sequence numbers
  • Query trust lines and issued currencies
  • View NFTs owned by an account
  • Retrieve account transaction history
  • Fetch individual transaction details
  • Inspect DEX order book offers
  • Retrieve XRPL server status
  • Submit signed transactions

Package Chooser

Pick the install target that matches how you plan to use the server.

Package PyPI Install Use when
Published package python -m pip install iflow-mcp_lgcarrier-xrpl-mcp-server Recommended if you want the packaged CLI/server immediately and do not need an editable checkout.
Source checkout — python -m pip install -e ".[dev]" You are developing in this repo, running tests, or using the local mcp dev / mcp install workflows below.

Quickstart

The quickstart below is the source-checkout path for local development and MCP registration. If you only need the published package, use the PyPI install command above.

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
mcp install src/xrpl_mcp_server/server.py:mcp --with-editable .

First prompt to try:

What is the XRP balance and sequence number for account rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe?

Installation

From source

git clone https://github.com/lgcarrier/xrpl-mcp-server.git
cd xrpl-mcp-server
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"

This installs the package in editable mode and includes the mcp CLI used for local development and Claude Desktop integration.

From PyPI

The published package name is different from the GitHub repository name.

python -m pip install iflow-mcp_lgcarrier-xrpl-mcp-server

Configuration

The server uses the following environment variable:

  • XRPL_NODE_URL: XRP Ledger JSON-RPC endpoint. Default: https://s1.ripple.com:51234/

Safety Note

By default, the server connects to Ripple’s public mainnet endpoint. That means:

  • read-only tools query live mainnet data
  • submit_transaction submits a signed transaction to the live XRP Ledger network

Only use submit_transaction when you intend to broadcast a real signed transaction.

For testing, point the server to testnet before launching it:

export XRPL_NODE_URL="https://s.altnet.rippletest.net:51234/"
python -m xrpl_mcp_server

You can also install the Claude Desktop entry with the environment variable set:

mcp install src/xrpl_mcp_server/server.py:mcp --with-editable . \
  --env-var XRPL_NODE_URL=https://s.altnet.rippletest.net:51234/

Usage

Run directly from source

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →