mcp-server-usdd-test
v1.2.4MCP server for the USDD protocol across TRON, Ethereum, and BSC.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_supported_networks
List supported USDD networks.
get_protocol_metrics
Get aggregated protocol metrics from website data (mainnet).
get_chain_metrics
Get chain-level core metrics from website data (mainnet).
| Parameter | Type | Description |
|---|---|---|
chain * | string |
get_collateral_prices
Get latest collateral highest-price data from website API (mainnet).
connect_browser_wallet
Connect a browser wallet (TronLink-compatible) and switch to browser mode.
| Parameter | Type | Description |
|---|---|---|
address | string | Optional browser wallet address override |
network | string | Target network. Default: tron |
set_wallet_mode
Switch signing mode between browser and agent.
| Parameter | Type | Description |
|---|---|---|
mode * | string | Wallet signing mode |
network | string | Target network. Default: tron |
get_wallet_mode
Get current signing mode (`browser` / `agent`) and active address.
| Parameter | Type | Description |
|---|---|---|
network | string | Target network. Default: tron |
set_network
Set default network for one family. Supports aliases (tron_mainnet, tron_nile, eth_mainnet, eth_sepolia, bsc_mainnet, bsc_testnet) or explicit network keys.
| Parameter | Type | Description |
|---|---|---|
network * | string | Network alias or key, e.g. tron_mainnet, tron_nile, eth_mainnet, bsc_testnet, tron, eth_sepolia |
family | string | Network family. Use with aliases like mainnet. |
get_network
Get per-family default networks.
get_wallet_address
Get wallet status and active address for a network.
| Parameter | Type | Description |
|---|---|---|
network | string | Target network. Default: tron |
list_wallets
List encrypted wallets stored in ~/.agent-wallet and show which ones are active.
import_wallet
Import a private key or mnemonic into the encrypted local wallet store.
| Parameter | Type | Description |
|---|---|---|
secret * | string | Private key or mnemonic phrase |
secretType * | string | Secret type to import |
walletType * | string | Wallet family: tron or evm |
index | integer | Mnemonic derivation index. Default: 0 |
set_active_wallet
Set the active encrypted wallet by ID. Active wallet selection is tracked separately for tron and evm.
| Parameter | Type | Description |
|---|---|---|
walletId * | string | Wallet id from list_wallets |
walletType | string | Optional wallet family to activate independently (tron or evm) |
get_protocol_overview
Get protocol addresses, ceilings, configured ilks, and PSM markets for USDD.
| Parameter | Type | Description |
|---|---|---|
network | string | Target network. Default: tron |
get_supported_ilks
List configured collateral types and PSM joins for a network.
| Parameter | Type | Description |
|---|---|---|
network | string | Target network. Default: tron |
get_oracle_status
Inspect liquidation ratio, penalty, and oracle status for a collateral type.
| Parameter | Type | Description |
|---|---|---|
ilk * | string | Collateral type like TRX-A, WBTC-A, USDT-A, PSM-USDT |
network | string | Target network. Default: tron |
get_psm_status
Inspect PSM fees and enablement state.
| Parameter | Type | Description |
|---|---|---|
market * | string | PSM market like PSM-USDT |
network | string | Target network. Default: tron |
get_psm_metrics
Get PSM swap metrics by route, including fromToken/toToken/available/fee.
| Parameter | Type | Description |
|---|---|---|
market * | string | PSM market like PSM-USDT |
network | string | Target network. Default: tron |
get_user_vaults
List all vault IDs for the configured wallet or a given address.
| Parameter | Type | Description |
|---|---|---|
address | string | Optional wallet address |
network | string | Target network. Default: tron |
get_vault_summary
Get collateral, debt, and liquidation metrics for one vault.
| Parameter | Type | Description |
|---|---|---|
cdpId * | string | Vault/CDP id |
network | string | Target network. Default: tron |
analyze_vault_risk
Get risk analysis for one vault with warnings.
| Parameter | Type | Description |
|---|---|---|
cdpId * | string | Vault/CDP id |
network | string | Target network. Default: tron |
get_savings_status
Inspect USDD Savings metrics where supported.
| Parameter | Type | Description |
|---|---|---|
network | string | Target network. Default: tron |
open_vault
Open a vault/CDP via DSProxy. Idempotent: if a vault for the given ilk already exists, returns the existing CDP id without submitting a transaction.
| Parameter | Type | Description |
|---|---|---|
ilk * | string | Collateral type like TRX-A, WBTC-A, or SA001-A |
network | string | Target network. Default: tron |
get_native_balance
Get native token balance (TRX/ETH/BNB) for the configured wallet or a specified owner.
| Parameter | Type | Description |
|---|---|---|
network | string | Target network. Default: tron |
owner | string | Optional owner address; defaults to configured wallet |
get_token_balance
Get ERC20/TRC20 token balance for the configured wallet or a specified owner.
| Parameter | Type | Description |
|---|---|---|
token * | string | Token contract address |
decimals | integer | Optional token decimals override |
network | string | Target network. Default: tron |
owner | string | Optional owner address; defaults to configured wallet |
check_allowance
Check ERC20/TRC20 allowance for a spender, optionally against a required amount.
| Parameter | Type | Description |
|---|---|---|
spender * | string | Spender contract or proxy address |
token * | string | Token contract address |
amount | string | Optional human-readable amount to compare against |
decimals | integer | Optional token decimals override |
network | string | Target network. Default: tron |
owner | string | Optional owner address; defaults to configured wallet |
prepare_token_transfer
Prepare a native/token transfer and return a preview for user review. After calling this tool, you MUST present the transfer details to the user and wait for their explicit confirmation before calling confirm_token_transfer. Do NOT proceed automatically.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Human-readable amount, e.g. 0.1 |
to * | string | Recipient address |
decimals | integer | Optional token decimals override for non-standard/proxy tokens. |
network | string | Target network. Default: tron |
tokenAddress | string | Token contract address. Omit for native TRX transfer. |
confirm_token_transfer
Execute a previously prepared transfer. IMPORTANT: MUST ONLY be called after the human user has explicitly reviewed the prepare_token_transfer output and verbally confirmed they want to proceed (e.g. 'yes', 'confirm', 'go ahead'). Never call this automatically right after prepare_token_transfer — always wait for the user's explicit approval first.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true to execute. Pass false to cancel. |
confirmationId * | string | ID returned by prepare_token_transfer |
approve_token
Approve an ERC20/TRC20 token spender. Use before ERC20 collateral or PSM writes when needed.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Human-readable amount or 'max' |
spender * | string | Spender contract or proxy address |
token * | string | Token contract address |
decimals | integer | Optional token decimals override |
network | string | Target network. Default: tron |
deposit_and_mint
Deposit collateral and mint USDD. If cdpId is omitted, reuses an existing vault for the ilk if one exists; otherwise opens a new vault and funds it in one transaction.
| Parameter | Type | Description |
|---|---|---|
collateralAmount * | string | |
drawAmount * | string | |
ilk * | string | |
cdpId | string | |
network | string | Target network. Default: tron |
transferFrom | boolean | For ERC20 collaterals, whether proxy action should pull from wallet. Default: true |
mint_usdd
Draw additional USDD debt from an existing vault.
| Parameter | Type | Description |
|---|---|---|
amount * | string | |
cdpId * | string | |
network | string | Target network. Default: tron |
repay_usdd
Repay USDD debt for an existing vault.
| Parameter | Type | Description |
|---|---|---|
amount * | string | |
cdpId * | string | |
network | string | Target network. Default: tron |
withdraw_collateral
Withdraw collateral from an existing vault.
| Parameter | Type | Description |
|---|---|---|
amount * | string | |
cdpId * | string | |
ilk * | string | |
network | string | Target network. Default: tron |
close_vault
Repay all debt and free collateral using wipeAllAndFree* proxy actions.
| Parameter | Type | Description |
|---|---|---|
amountToFree * | string | |
cdpId * | string | |
ilk * | string | |
network | string | Target network. Default: tron |
psm_swap_to_usdd
Swap gem collateral into USDD through the PSM.
| Parameter | Type | Description |
|---|---|---|
amount * | string | |
market * | string | |
network | string | Target network. Default: tron |
psm_swap_from_usdd
Swap USDD into the PSM gem asset.
| Parameter | Type | Description |
|---|---|---|
amount * | string | |
market * | string | |
network | string | Target network. Default: tron |
deposit_savings
Deposit USDD into sUSDD where supported.
| Parameter | Type | Description |
|---|---|---|
amount * | string | |
network | string | Target network. Default: tron |
withdraw_savings
Withdraw USDD from sUSDD where supported.
| Parameter | Type | Description |
|---|---|---|
amount * | string | |
network | string | Target network. Default: tron |
get_treasury_summary
Get latest USDD treasury report summary (mainnet data).
get_jst_buyback_stats
Get JST buyback/burn statistics from treasury report data (mainnet data).
get_smart_allocator_overview
Get Smart Allocator overview (debt, invested amount, earnings, APY).
get_assets_breakdown
Get Smart Allocator invested-asset breakdown by protocol, network, or asset.
| Parameter | Type | Description |
|---|---|---|
dimension * | string |
get_proof_of_reserve
Get Smart Allocator proof-of-reserve style platform investment details.
get_debt_overview
Get Smart Allocator debt overview grouped by network vault.