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_silos

Discover yield opportunities by APY, TVL, risk, or token

list_strategies

List multi-silo strategies with risk levels and allocations

get_silo_details

Detailed silo info — APY, TVL, fees, pending rewards

get_strategy_details

Strategy allocations, weights, risk, and underlying token

get_best_yield

Find highest-yielding silos filtered by risk tolerance

get_portfolio

Check wallet positions across all silos and strategies

get_harvest_opportunities

Find silos with pending rewards — earn caller fees

estimate_earnings

Project earnings over time for a deposit amount

get_deposit_tx

Build silo deposit transactions (supports any token via Zapper)

get_strategy_deposit_tx

Build strategy deposit transactions (underlying token only)

get_withdraw_tx

Build silo withdraw transactions

get_strategy_withdraw_tx

Build strategy withdraw/redeem transactions

get_harvest_tx

Build harvest transactions — earn caller fee bounties

get_token_prices

Live 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

Silo Factory0xfcE532BD1f46D321Bf0eBdEb1C2f2bcDd7754F93
Strategy Factory0x0f06f820e9775ff1ad94782b8737615cBFE41284
Zapper0x83f29aA57E3Df703368e369ECD811B3189f19afe
MCP Endpointsiloyield.xyz/mcp

Yield Assistant

Powered by on-chain data