I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

servicio XRPL-MCP
Una implementación del servidor MCP para interactuar con la cadena de bloques de Libro mayor XRP
3 years
Works with Finder
1
Github Watches
2
Github Forks
2
Github Stars
XRPL MCP Service
A 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.
Features
Account Information
-
xrpl_account_info
- Basic account details -
xrpl_account_balances
- XRP and token balances (human-readable) -
xrpl_account_lines
- Trust lines -
xrpl_account_offers
- Active trading offers -
xrpl_account_nfts
- NFT holdings -
xrpl_account_tx
- Transaction history
Decentralized Exchange
-
xrpl_order_book
- View order book for currency pairs -
xrpl_market_price
- Get current market prices -
xrpl_amm_info
- Automated Market Maker information
NFT Operations
-
xrpl_nft_offers
- View NFT buy/sell offers
Trust Lines & Payments
-
xrpl_set_trust_line
- Establish new trust lines -
xrpl_remove_trust_line
- Remove existing trust lines -
xrpl_payment_channels
- Payment channel information -
xrpl_find_path
- Payment path finding -
xrpl_deposit_auth
- Check payment authorization
System
-
xrpl_server_info
- Node status and information -
xrpl_submit_tx
- Submit signed transactions
Setup
- Create a
.env
file:
XRPL_NODE_URL=https://xrplcluster.com
- Install dependencies:
pip install xrpl-py fastapi uvicorn python-dotenv
- Run the server:
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
API Usage Examples
Get Account Info
POST /call-tool/xrpl_account_info
{
"account": "rsuUjfWxrACCAwGQDsNeZUhpzXf1n1NK5Z"
}
Get Account Balances
POST /call-tool/xrpl_account_balances
{
"account": "rsuUjfWxrACCAwGQDsNeZUhpzXf1n1NK5Z"
}
Set Trust Line
POST /call-tool/xrpl_set_trust_line
{
"wallet_seed": "sXXXXXXXXXXXXXXXXXXXX",
"currency": "USD",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
"limit": "1000"
}
Get AMM Info
POST /call-tool/xrpl_amm_info
{
"asset": {
"currency": "XRP"
},
"asset2": {
"currency": "USD",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
}
}
Get Market Price
POST /call-tool/xrpl_market_price
{
"base_currency": {
"currency": "XRP"
},
"quote_currency": {
"currency": "USD",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
}
}
Project Structure
├── main.py # FastAPI application entry point
├── tools/
│ ├── __init__.py
│ ├── register_tools.py # Tool registration
│ └── xrpl_tools.py # XRPL endpoint implementations
Key Components
-
xrpl_tools.py
- Core XRPL interaction functions
- Async implementation with event loop handling
- Error handling and response formatting
-
register_tools.py
- MCP tool registration
- Endpoint mapping and configuration
Future Enhancements
-
AMM (Liquidity Pool) Operations
- Create pools
- Add/remove liquidity
- Vote on pool parameters
-
Advanced Trading
- Create/cancel offers
- Automated trading functions
- Price alerts
-
NFT Operations
- Mint NFTs
- Create/accept offers
- Collection management
Common Issues
-
Async Event Loop: If you see "asyncio.run() cannot be called from a running event loop", check the async implementation in xrpl_tools.py
-
Rate Limiting: Consider implementing rate limiting for production use
Contributing
- Fork the repository
- Create a feature branch
- Implement your changes
- Submit a pull request
Important Notes
- Always use "validated" ledger for production
- Secure wallet seeds and private keys
- Monitor transaction fees
- Test thoroughly on testnet first
Resources
License
MIT
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Converts Figma frames into front-end code for various mobile frameworks.
Therapist adept at identifying core issues and offering practical advice with images.
Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven
A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.
Espejo de https: //github.com/suhail-ak-s/mcp-typesense-server
本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。
Reviews

user_ppT5FbiN
As a dedicated user of the xrpl-mcp-service by tedlikeskix, I must say it has truly revolutionized my workflow. The seamless integration and comprehensive documentation make it incredibly user-friendly. The support for multiple languages is a notable advantage, catering to a diverse user base. Overall, it's a robust and reliable service that I'd highly recommend to anyone working with XRP ledger projects.