
一个模型上下文协议(MCP)服务器,它使AI代理能够与TRON上的出借协议互动.
概览
一个模型上下文协议(MCP)服务器,它使AI代理能够与TRON上的出借协议互动. 提供资产,以抵押品为抵押贷款,管理职位,参与V2(Moolah)孤立的市场和金库,并分析DeFi投资组合——全部通过统一的AI接口. 除了JustLend特定操作之外,服务器还暴露出一整套——平衡查询,块/交易数据,令牌元数据,TRX传输,智能合同读取/写取,取取取(Stake 2.0),多调取等. Just Lend DAO是TRON最大的出借协议. 这个MCP服务器将协议的全部功能包成工具并引导导出Claude桌面, Codex, Claude Code等本地MCP客户端可以使用的提示. - (Compound V2分叉):原基于集合的协议-jUSDT,jTRX,jUSDD,jSUN,jWBTC等. 全面供应/借入/偿还/撤销/抵押管理和采矿奖励.
概述(AI 翻译)
一个模式上下文协议(MCP)服务器,它使AI代理能够与JustLend DAO在TRON上的出借协议交互. 提供资产,以抵押品为抵押贷款,管理职位,参与V2(Moolah)孤立的市场和金库,并分析DeFi投资组合——全部通过统一的AI接口.
除了JustLend特定操作外,服务器还暴露出一整套通用TRON链公用事业——平衡查询,块/交易数据,令牌元数据,TRX传输,智能合同读取/写取,取取取(Stake 2.0),多调取等.
□ 概览
Just Lend DAO是TRON最大的出借协议. 这个MCP服务器将协议的全部功能包成工具并引导导出Claude桌面, Codex, Claude Code等本地MCP客户端可以使用的提示.
当前版本:v1.1.3 — JustLend V1 + V2(Moolah),外加 TRQQWTRX 包装/被包装**
- ** JustLend V1** (Compound V2分叉):基于集合的原始协议——[[T0],[[T1],[T2],[[T3],[T4]等. 全面供应/借入/偿还/撤销/抵押管理和采矿奖励.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
mcp-server-justlend
A Model Context Protocol (MCP) server that enables AI agents to interact with the JustLend DAO lending protocol on TRON. Supply assets, borrow against collateral, manage positions, participate in V2 (Moolah) isolated markets and vaults, and analyze DeFi portfolios — all through a unified AI interface.
Beyond JustLend-specific operations, the server also exposes a full set of general-purpose TRON chain utilities — balance queries, block/transaction data, token metadata, TRX transfers, smart contract reads/writes, staking (Stake 2.0), multicall, and more.
Overview
JustLend DAO is the largest lending protocol on TRON. This MCP server wraps the full protocol functionality into tools and guided prompts that local MCP clients such as Claude Desktop, Codex, Claude Code, and Cursor can use.
📌 Current Version: v1.1.3 — JustLend V1 + V2 (Moolah), plus TRX↔WTRX wrap/unwrap
- JustLend V1 (Compound V2 fork): the original pool-based protocol —
jUSDT,jTRX,jUSDD,jSUN,jWBTC, etc. Full supply / borrow / repay / withdraw / collateral management and mining rewards. - JustLend V2 (Moolah) (Morpho Blue fork): isolated markets with
MarketParams (loanToken, collateralToken, oracle, irm, lltv)and ERC4626 vaults that auto-allocate across markets. Full vault deposit / redeem, collateral supply / borrow / repay / liquidate, and public liquidations.
Key Capabilities
JustLend V1 (pool-based, Compound V2 fork)
- Market Data: Real-time APYs, TVL, utilization rates, prices for all markets
- Smart fallback: contract queries first, API fallback for reliability
- TTL caching (30–60s) to reduce RPC calls
- Account Data: Full position analysis via Multicall3 batch queries (~2.5s vs ~8s legacy)
- Health factor, collateral, borrow positions
- On-chain Oracle prices with API fallback
- Batch Wallet Balances: Query all TRC20 token balances in a single Multicall3 RPC call
- Mining Rewards: Advanced mining reward calculation (based on justlend-app logic)
- Detailed breakdown by market and reward token (USDD, TRX, WBTC, etc.)
- USD value calculation with live token prices
- Supply / Borrow / Repay / Withdraw: Full lending operations with pre-flight checks
- Collateral Management: Enter/exit markets, manage what counts as collateral
- Portfolio Analysis: AI-guided risk assessment, health factor monitoring, optimization
- JST Voting / Governance: View proposals, cast votes, deposit/withdraw JST for voting power, reclaim votes
安装
npx agent-wallet add配置
{
"mcpServers": {
"justlend": {
"command": "node",
"args": ["/absolute/path/to/mcp-server-justlend/build/index.js"],
"env": {
"TRONGRID_API_KEY": "SET_VIA_SYSTEM_ENV"
}
}
}
}