
justlend/mcp-server-justlend
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) 서버는 TRON에서 대출 프로토콜과 상호 작용할 수 있는 AI 에이전트를 가능하게 합니다.
개요
A Model Context Protocol (MCP) 서버는 TRON에서 대출 프로토콜과 상호 작용할 수 있는 AI 에이전트를 가능하게 합니다. collateral에 대한 공급 자산, 관리 위치, V2 (Moolah) 격리 된 시장 및 볼트에 참여하고 DeFi 포트폴리오를 분석합니다. - 모든 통합 AI 인터페이스를 통해. JustLend-specific operations을 넘어 서버는 균형 쿼리, 블록/트랜스 데이터, 토큰 메타데이터, TRX 전송, 스마트 컨트랙트 읽기/쓰기, 스테이킹(Stake 2.0), 멀티콜 등 전체 세트를 노출합니다. JustLend DAO는 TRON에서 가장 큰 대출 프로토콜입니다. 이 MCP 서버는 Claude Desktop, Codex, Claude Code 및 Cursor와 같은 로컬 MCP 클라이언트가 사용할 수있는 도구와 가이드 된 프롬프트로 전체 프로토콜 기능을 포장합니다. - (Compound V2 포크) : 원래 풀 기반 프로토콜 - jUSDT, jTRX, jUSDD, jSUN, jWBTC 등 전체 공급 / 대여 / 환불 / 인출 / 측면 관리 및 광산 보상.
개요(AI 번역)
AI Agent가 JustLend DAO 로 상호 작용할 수 있는 Model Context Protocol (MCP) 서버. collateral에 대한 공급 자산, 관리 위치, V2 (Moolah) 격리 된 시장 및 볼트에 참여하고 DeFi 포트폴리오를 분석합니다. - 모든 통합 AI 인터페이스를 통해.
JustLend-specific operations을 넘어 서버는 **일반적인 TRON 체인 유틸리티의 전체 세트를 노출 ** - 균형 쿼리, 블록 / 전송 데이터, 토큰 메타데이터, TRX 전송, 스마트 컨트랙트 읽기 / 쓰기, staking (Stake 2.0), 멀티콜 등.
개요
JustLend DAO는 TRON에서 가장 큰 대출 프로토콜입니다. 이 MCP 서버는 Claude Desktop, Codex, Claude Code 및 Cursor와 같은 로컬 MCP 클라이언트가 사용할 수있는 도구와 가이드 된 프롬프트로 전체 프로토콜 기능을 포장합니다.
** 현재 버전: v1.1.3 — JustLend V1 + V2 (Moolah), TRX↔WTRX 랩/unwrap**
- JustLend V1 (Compound V2 포크) : 원래 풀 기반 프로토콜 -
jUSDT,jTRX,jUSDD,jSUN,jWBTC등. 전체 공급 / 대여 / 환불 / 인출 / 측면 관리 및 광산 보상.
이 페이지는 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"
}
}
}
}