
justlend/mcp-server-justlend
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIエージェントがTRONのレンディングプロトコルとやり取りすることを可能にするモデルコンテキストプロトコル(MCP)サーバー.
概要
AIエージェントがTRONのレンディングプロトコルとやり取りすることを可能にするモデルコンテキストプロトコル(MCP)サーバー。 資産を調達し、担保に対して借用し、ポジションを管理し、V2(Moolah)の分離された市場とボルトに参加し、DeFiポートフォリオを分析します。 JustLend 固有の操作を超えて、サーバーは、バランスのクエリ、ブロック/トランザクションデータ、トークンメタデータ、TRX 転送、スマートコントラクトの読み込み/書き込み、ステーキング(Stake 2.0)、マルチコールなど、フルセットを明示します。 JustLend DAOは、TRONで最大の融資プロトコルです。 この MCP サーバーは、Claude デスクトップ、Codex、Claude コード、および Cursor などのローカル MCP クライアントが使用できるツールやガイド付きプロンプトに完全なプロトコル機能をラップします。 - (コンパウンドV2フォーク):元のプールベースのプロトコル — jUSDT, jTRX, jUSDD, jSUN, jWBTCなど 完全な供給/借用/返済/撤退/担保管理および採掘報酬.
概要(AI 翻訳)
AIエージェントがTRONのJustLend DAOレンディングプロトコルと対話できるモデルコンテキストプロトコル(MCP)サーバー。 資産を調達し、担保に対して借用し、ポジションを管理し、V2(Moolah)の分離された市場とボルトに参加し、DeFiポートフォリオを分析します。
JustLend 固有の操作を超えて、サーバーは、** 汎用 TRON チェーンユーティリティの完全なセットを明示します** — バランスのクエリ、ブロック/トランザクションデータ、トークンメタデータ、TRX 転送、スマートコントラクトの読み込み/書き込み、ステーク(Stake 2.0)、マルチコールなど。
概要
JustLend DAOは、TRONで最大の融資プロトコルです。 この MCP サーバーは、Claude デスクトップ、Codex、Claude コード、および Cursor などのローカル MCP クライアントが使用できるツールやガイド付きプロンプトに完全なプロトコル機能をラップします。
現在のバージョン: v1.1.3 — JustLend V1 + V2 (Moolah), プラス TRX↔WTRX Wrap/unwrap
-JustLend V1(コンパウンドV2フォーク):オリジナルプールベースのプロトコル[jUSDT]、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"
}
}
}
}