XRPL MCP Server provides AI models with direct access to XRP Ledger data and functionality through a standardized interface. It enables querying account information, trust lines, NFTs, transaction history, order book data, and submitting signed transactions to the network. Built with Python using the xrpl-py library and FastMCP framework, it connects to public XRPL nodes by default but can be configured for private node connections. This implementation is valuable for AI assistants that need to retrieve real-time blockchain data or interact with the XRP Ledger ecosystem.
No reviews yet. Be the first to review!
Sign in to join the conversation
Retrieve information about an XRP Ledger account. Parameters: address (string): XRP Ledger account address. Returns a structured object with account details, balance in drops and XRP, and sequence number.
Query the trust lines for an XRP Ledger account. Parameters: address (string): XRP Ledger account address, peer (string, optional): Counterparty account filter, limit (integer, optional): Maximum number of trust lines. Returns the XRPL account_lines result object.
Fetch the NFTs owned by an account on the XRP Ledger. Parameters: address (string): XRP Ledger account address, limit (integer, optional): Maximum number of NFTs. Returns the XRPL account_nfts result object.
Retrieve the transaction history for an XRP Ledger account. Parameters: address (string): XRP Ledger account address, limit (integer, optional): Maximum number of transactions, binary (boolean, optional): Return transactions in binary form, forward (boolean, optional): Search forward through ledger history. Returns the XRPL account_tx result object.
Retrieve information about the XRP Ledger server. Returns the XRPL server_info result object.
Submit a signed transaction to the XRP Ledger. Parameters: tx_blob (string): Signed transaction blob in hex format. Returns the XRPL submit result object.
Fetch details about a specific transaction on the XRP Ledger. Parameters: transaction_hash (string): Transaction hash. Returns the XRPL tx result object.
Inspect the order book offers for a specific currency pair on the XRP Ledger DEX. Parameters: taker_gets (object): Currency/issuer object the taker wants to receive, taker_pays (object): Currency/issuer object the taker wants to pay, limit (integer, optional): Maximum number of offers. Returns the XRPL book_offers result object.