agent-wallet-mcp

v0.4.0
io.github.kaditang/agent-wallet-mcp Checked 2 days ago Published 1 month ago

DEPRECATED - hosted service retired 2026-10-31.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

compare_yields

Ranks USDC lending and tokenized-treasury yields across Solana, Ethereum, Base and Arbitrum (DefiLlama data) by risk-adjusted APY instead of headline APY. Each pool's APY is discounted for volatility, TVL depth, protocol risk, DefiLlama's stability prediction, reward-emission dependence and impermanent-loss exposure; every entry carries a riskScore (0-100), a riskFactors breakdown and riskNotes explaining the discount. Pools with a riskScore below 25 are tiered speculative and listed after all others, whatever their APY. Solana pools are marked executable (autoyield can prepare a deposit); oth…

ParameterTypeDescription
amountUsdcnumberOptional intended deposit size for impact estimation
minTvlUsdnumberMinimum pool TVL filter (default 100000)

list_yield_tokens

Lists the supported tokenized-treasury tokens (currently USDY by Ondo Finance): yield-bearing securities offered under a non-US prospectus, not stablecoins; each token's value grows as interest accrues. Read-only.

list_xstocks

Lists the supported tokenized US stocks (Backed xStocks on Solana): 16 tickers across mega-cap tech (NVDA/AAPL/TSLA/MSFT/GOOGL/AMZN/META), crypto equities (COIN/MSTR/HOOD/CRCL), broad-market ETFs (SPY/QQQ), a gold ETF (GLD), consumer (MCD) and AI/defense (PLTR), with live Jupiter liquidity and USD price. xStocks are not available to US persons. Read-only.

ParameterTypeDescription
categorystringOptional category filter; omit to return all 16

quote_tokenized_stock

Returns a live Jupiter quote for buying a Backed xStock (tokenized US stock) with USDC on Solana: expected shares, minimum shares at the given slippage, price impact and route. For orders of $200 or more it adds sizeCost: how much more per share the order costs than a $100 buy. It also returns an entry-timing signal comparing the xStock's live premium or discount to the underlying NYSE price against its own trailing history in the same market regime (good-entry / fair / rich-wait, with a confidence level and a plain-language note). Read-only; creates no transaction.

ParameterTypeDescription
amountUsdc *stringUSDC to spend, e.g. '5'
ticker *stringUS ticker like NVDA, AAPL, TSLA, SPY
slippageBpsnumberSlippage tolerance in bps (default 50)

get_portfolio

Returns a snapshot of a Solana wallet from public on-chain data: SOL, USDC and every held xStock or yield token, priced via Jupiter, plus total USD value. Read-only.

ParameterTypeDescription
wallet *stringSolana wallet pubkey (base58)

portfolio_health

Checks a Solana wallet and summarizes whether anything needs attention: current holdings, held yield tokens compared with the best risk-adjusted executable yield, and for each held xStock its live premium or discount to the underlying stock with a timing signal. Returns short plain-language notes (for example idle USDC earning nothing, or a held xStock trading at a premium). Read-only.

ParameterTypeDescription
wallet *stringSolana wallet pubkey (base58)

suggest_rebalance

Given a target allocation, computes the buy and sell amounts per asset that would move a Solana wallet toward it. The allocation base is USDC plus held xStocks and yield tokens (SOL is excluded as gas reserve). Each asset gets current %, target %, drift, deltaUsd (+buy / -sell) and an action; assets within the drift threshold are left alone, and held assets missing from the target are flagged to sell. Read-only: it only computes suggestions.

ParameterTypeDescription
targets *arrayTarget allocation. Each item: { asset, percent }. asset is a ticker (NVDA, SPY), a yield-token symbol (USDY), or 'USDC' for cash. Percents should sum to ~100.
wallet *stringSolana wallet pubkey (base58)
driftThresholdPctnumberOnly suggest a trade if drift exceeds this (default 3%).
minTradeUsdnumberSuppress trades smaller than this USD amount (default 1).

export_history

Exports a wallet's tokenized-stock and yield-token trade history as a record (for example for an accountant; not tax advice and not a tax calculation). Reconstructs USDC to xStock and USDC to yield-token swaps from on-chain history, deriving each execution price from the transaction's own balance changes. Returns structured trades (date, buy/sell, asset, amount, USDC, price, Solscan link) and a CSV string for the last N signatures (default 100). Read-only.

ParameterTypeDescription
wallet *stringSolana wallet pubkey (base58)
limitnumberHow many recent signatures to scan (default 100, max 200)

check_xstock_safety

Pre-trade safety check for a tokenized US stock: verifies it is the issuer's genuine token rather than a copycat, and whether it looks safe to buy right now (depeg, thin liquidity, off-hours mispricing, trading halts). Works for any issuer (Backed/xStocks, Ondo, Remora) and any Solana mint or EVM address. Pass ticker (e.g. NVDA, which checks the canonical xStock) or token (a symbol such as AAPLx or AAPLon, or a mint / 0x address). Returns a decision (ok / review / avoid), the issuer, whether the token is verified against the issuer's own registry, and the reasons. Read-only.

ParameterTypeDescription
tickerstringUS ticker (e.g. NVDA, AAPL) — checks the canonical Backed xStock for it
tokenstringOR a specific token: a symbol (AAPLx/AAPLon/TSLAr) or a raw Solana mint / 0x EVM address

track_tx

Looks up a Solana transaction's on-chain status: confirmation level, success or failure, and a Solscan link. Read-only.

ParameterTypeDescription
signature *stringSolana tx signature (base58)

build_deposit_yield_tx

Prepares (does not send) an unsigned Solana transaction that swaps USDC for a tokenized-treasury token (e.g. USDY) via Jupiter. Returns the base64 versioned transaction and a sign link. Nothing is executed: the user reviews and signs it in their own wallet.

ParameterTypeDescription
amountUsdc *stringUSDC amount to deposit
asset *stringYield token slug
wallet *stringUser's Solana wallet pubkey (base58)
slippageBpsnumberSlippage in bps (default 50)

build_buy_xstock_tx

Prepares (does not send) an unsigned Solana transaction that swaps USDC for a Backed xStock via Jupiter, after an automatic safety check. Returns the base64 versioned transaction and a sign link. Nothing is executed: the user reviews and signs it in their own wallet.

ParameterTypeDescription
amountUsdc *stringUSDC to spend
ticker *stringUS ticker e.g. NVDA, AAPL, TSLA, SPY
wallet *stringUser's Solana wallet pubkey (base58)
slippageBpsnumberSlippage in bps (default 50)

build_sell_xstock_tx

Prepares (does not send) an unsigned Solana transaction that sells a Backed xStock for USDC via Jupiter. amountShares is in shares as wallets display them, or 'max' for the whole balance. Returns the base64 versioned transaction and a sign link. Nothing is executed: the user reviews and signs it in their own wallet.

ParameterTypeDescription
amountShares *stringNumber of xStock SHARES to sell — the unit get_portfolio and wallets display (includes reinvested dividends), e.g. '0.02'. Converted to on-chain token units internally. Or 'max' to sell the entire b…
ticker *stringStock ticker to sell, e.g. NVDA
wallet *stringUser's Solana wallet pubkey
slippageBpsnumberSlippage in bps (default 50)

build_withdraw_yield_tx

Prepares (does not send) an unsigned Solana transaction that swaps a tokenized-treasury token (e.g. USDY) back to USDC via Jupiter. Returns the base64 versioned transaction and a sign link. Nothing is executed: the user reviews and signs it in their own wallet.

ParameterTypeDescription
amount *stringAmount of the yield token to redeem (token units, e.g. '8.5' USDY) — or 'max' to redeem the entire balance (exact on-chain amount)
asset *stringYield token slug
wallet *stringUser's Solana wallet pubkey
slippageBpsnumberSlippage in bps (default 50)