AI Agents
Build autonomous yield agents on Silo
Silo Yield exposes a full MCP (Model Context Protocol) server with 14 tools for AI agents. Agents can discover yield, deposit into silos and strategies, monitor portfolios, and earn harvest bounties — all programmatically.
Quick Start
Add the Silo MCP server to your AI agent:
# Add to your MCP client config
{
"mcpServers": {
"silo-yield": {
"command": "node",
"args": ["mcp/dist/index.js"]
}
}
}Works with Claude Code, Claude Desktop, and any MCP-compatible agent framework.
What Agents Can Do
Farm Yield
Discover the best APYs, deposit into silos or strategies, and auto-compound returns.
Earn Bounties
Monitor pending rewards across silos. Call harvest() to compound for everyone and earn a caller fee.
Manage Portfolios
Check positions, track value across silos and strategies, and rebalance as needed.
MCP Tools (14 available)
list_silosDiscover yield opportunities by APY, TVL, risk, or token
list_strategiesList multi-silo strategies with risk levels and allocations
get_silo_detailsDetailed silo info — APY, TVL, fees, pending rewards
get_strategy_detailsStrategy allocations, weights, risk, and underlying token
get_best_yieldFind highest-yielding silos filtered by risk tolerance
get_portfolioCheck wallet positions across all silos and strategies
get_harvest_opportunitiesFind silos with pending rewards — earn caller fees
estimate_earningsProject earnings over time for a deposit amount
get_deposit_txBuild silo deposit transactions (supports any token via Zapper)
get_strategy_deposit_txBuild strategy deposit transactions (underlying token only)
get_withdraw_txBuild silo withdraw transactions
get_strategy_withdraw_txBuild strategy withdraw/redeem transactions
get_harvest_txBuild harvest transactions — earn caller fee bounties
get_token_pricesLive USD prices from on-chain DEX quotes
Code Examples
Deposit into a Strategy
// Deposit WETH into ayWETH strategy const tx1 = await weth.approve(strategyAddress, amount); const tx2 = await strategy.deposit(amount, receiver); // Strategy auto-splits across 8 silos
Harvest Bounty Bot
// Earn bounty by harvesting pending rewards
const pending = await silo.pendingRewards();
if (pending > threshold) {
await silo.harvest(deadline, 0);
// You earn callerFee % of harvested rewards
}Key Addresses
0xfcE532BD1f46D321Bf0eBdEb1C2f2bcDd7754F930x0f06f820e9775ff1ad94782b8737615cBFE412840x83f29aA57E3Df703368e369ECD811B3189f19afesiloyield.xyz/mcp