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.
Retrieves information about an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r')
Retrieves trust lines for an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r'), peer (string, optional): Address of a counterparty account to filter results, limit (integer, optional): Limit for the number of trust lines returned
Retrieves NFTs owned by an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r'), limit (integer, optional): Limit for the number of NFTs returned
Retrieves transaction history for an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r'), limit (integer, optional): Limit for the number of transactions returned, binary (boolean, optional): Flag to return transactions in binary format (default False), forward (boolean, optional): Flag to search forward in ledger history (default False)
Retrieves information about the connected XRP Ledger server. Parameters: None
Submits a signed transaction blob to the XRP Ledger. Parameters: tx_blob (string): The signed transaction blob in hexadecimal format
Retrieves information about a specific transaction. Parameters: transaction_hash (string): The hash of the transaction
Retrieves order book offers for a currency pair on the DEX. Parameters: taker_gets (object): Currency the taker wants to receive, taker_pays (object): Currency the taker wants to pay, limit (integer, optional): Limit for the number of offers returned
No reviews yet. Be the first to review!
Sign in to join the conversation