# Bundie

AI-powered DeFi yield routing. 13 tools + 5 prompts for yield discovery, risk analysis, AI recommendations via bull/bear/moderator debate, deposits, portfolio management, and fiat onramp across EVM c…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add bundie/yield

# Browse available tools
npx -y @smithery/cli@latest tool list bundie/yield

# Get full schema for a tool
npx -y @smithery/cli@latest tool get bundie/yield yields.check

# Call a tool
npx -y @smithery/cli@latest tool call bundie/yield yields.check '{}'
```

## Direct MCP Connection

Endpoint: `https://yield--bundie.run.tools`

**Optional config:**
- `walletAddress` (query) — Your default Ethereum wallet address (0x...). Used as the default for all tool calls.
- `preferredChain` (query) — Preferred chain for operations (e.g., scroll, base, arbitrum). Default: scroll.
- `riskTolerance` (query) — Your risk tolerance level. Affects AI recommendations.

## Tools (13)

- `yields.check` — Browse current DeFi yield opportunities across EVM chains with APY and risk data. Use this to see what's available befo…
- `portfolio.view` — Check current Bundie positions, allocation breakdown, and weighted APY for a wallet.
- `vault.deposit` — Deposit assets into your Bundie vault. The vault holds funds that can then be allocated to yield strategies.
- `vault.withdraw` — Withdraw assets from your Bundie vault back to your wallet or a specified address.
- `strategy.deposit` — Deposit into a specific cross-chain yield strategy by protocol ID. Use check_yields first to find protocol IDs.
- `strategy.withdraw` — Withdraw from a specific strategy position. Use portfolio to see your position indices.
- `wallet.recommend` — Get an AI-recommended diversified yield bundle tailored to the wallet's risk profile. Analyzes the wallet first (if not…
- `wallet.analyze` — Perform a full AI analysis of a wallet — risk profile, on-chain behavior, DeFi positions, idle assets, and personalized…
- `portfolio.rebalance` — Compare current positions against optimal allocation and get rebalance suggestions. Optionally auto-execute the rebalan…
- `portfolio.preferences` — Set yield selection rules for a wallet. These preferences are applied to recommendations and rebalance suggestions for …
- `wallet.migrate` — Find yield migration opportunities — compare external DeFi positions against Bundie protocols to find better risk-adjus…
- `yields.risk_scores` — Get detailed risk scores and risk component breakdown for all yield protocols. Shows security, liquidity, maturity, and…
- `yields.buy` — Generate a payment link to buy crypto (USDC/USDT) with a credit card or bank transfer. The user clicks the link, comple…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get bundie/yield <tool-name>
```

## Prompts (5)

- `start-earning-yield` (walletAddress) — Get started with DeFi yield — analyzes your wallet, recommends strategies, and guides you through your first deposit.
- `portfolio-review` (walletAddress) — Review your current yield positions — check performance, compare against optimal allocation, and suggest improvements.
- `find-best-yields` (token, minApy) — Browse and compare the best yield opportunities across all supported chains and protocols.
- `migration-check` (walletAddress) — Check if you're earning the best yield — compare your external DeFi positions against Bundie alternatives.
- `buy-and-earn` (fiatAmount, walletAddress) — Buy crypto with fiat and start earning yield in one flow — generates a payment link, then guides you through depositing…
