write.account.repay
Repay debt to a lending pool from wallet.
How to use it
write.account.repay is exposed by the MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the write.account.repay tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Server
npx -y @arcadia-finance/mcp-serverOther tools in MCP Server (34)
Sign and broadcast an unsigned transaction using a local private key (PK env var). Not for production — use a dedicated wallet MCP server instead.
Historical account value over time.
Account overview: health factor, collateral, debt, positions, liquidation price, automation status.
PnL and yield data for an account.
Automations enabled on an account: decoded config, mapped intents, Merkl state, superseded managers.
Automation intents and their params; add accountaddress for live per-account availability.
Supported collateral assets with addresses, types, decimals.
USD prices for one or more asset addresses.
Reference guides: automation setup, strategy selection, strategy templates.
Paginated Arcadia points leaderboard.
Single pool detail with APY history over time.
All lending pools: TVL, APY, utilization, liquidity.
Full detail for a specific LP strategy: APY per range width, pool config.
LP strategies with APY, underlyings, pool info. Supports featured filter and pagination.
Rebalancing recommendation for an account.
List all Arcadia accounts owned by a wallet address.
Check ERC20 token allowances for a spender. Use before write.wallet.approve to avoid redundant approvals.
On-chain ERC20 balances and native ETH for a wallet address.
Points balance for a specific wallet address.
Flash-action: deposit + swap + mint LP + optional leverage, atomically.
Configure automations from an intents array (full desired state). Returns the unsigned setAssetManagers tx.
Enable/disable individual automations, leaving the rest untouched.
Borrow from a lending pool.
Atomic close: burn LP + swap + repay debt in one tx.
Create a new Arcadia account via Factory.
Repay debt by selling collateral (swap + repay in one tx).
Deposit ERC20 tokens into an account.
Remove/decrease LP position liquidity.
Stake, unstake, or claim rewards for LP positions.
Swap assets within an account (backend-routed).
Withdraw assets from an account.
Lend the pool's underlying asset into an ERC-4626 tranche to earn interest. Mints tranche shares to the receiver.
Redeem tranche shares back into the underlying asset (lender exit).
Approve an ERC20 token for spending. Required before depositing into an account. Call read.wallet.allowances first to check if already approved.