SynthOS logoSynthOS

API Reference

Complete reference for all 11 Bundie MCP tools — inputs, outputs, and usage.

Read Tools

yields.check

Browse current DeFi yield opportunities across EVM chains with APY and risk data.

ParamTypeRequiredDescription
tokenstringNoFilter by token symbol (e.g., USDC, USDT)
minApynumberNoMinimum APY (decimal, e.g., 0.05 for 5%)
chainstringNoFilter by chain name (e.g., base, arbitrum, scroll)
sortBy"apy" | "name"NoSort field (default: apy)
limitnumberNoMax results (default: 10)

portfolio

Check current positions, allocation breakdown, and weighted APY for a wallet.

ParamTypeRequiredDescription
walletAddressstringYesEthereum address (0x...)
chainIdnumberNoChain ID (default: 534352 Scroll)

Write Tools

deposit

Deposit assets into your Bundie vault.

ParamTypeRequiredDescription
walletAddressstringYesYour wallet address
assetstringYesToken symbol (USDC, USDT) or address (0x...)
amountstringYesHuman-readable amount (e.g., "100.5")
chainIdnumberNoChain ID (default: 534352)

withdraw

Withdraw assets from your Bundie vault.

ParamTypeRequiredDescription
walletAddressstringYesYour wallet address
assetstringYesToken symbol or address
amountstringYesHuman-readable amount
recipientAddressstringNoWithdraw to different address
chainIdnumberNoChain ID (default: 534352)

strategy_deposit

Deposit into a specific cross-chain yield strategy.

ParamTypeRequiredDescription
walletAddressstringYesYour wallet address
protocolIdstringYesProtocol UUID from yields.check
amountstringYesHuman-readable amount
assetstringNoToken symbol (default: USDC)
chainIdnumberNoChain ID (default: 534352)

strategy_withdraw

Withdraw from a specific strategy position.

ParamTypeRequiredDescription
walletAddressstringYesYour wallet address
positionIndexnumberYesPosition index from portfolio
amountstringYesHuman-readable amount
assetstringNoToken symbol (default: USDC)
destinationChainnumberYesChain ID to receive funds
chainIdnumberNoSource chain ID (default: 534352)

AI Tools

wallet.analyze

Full AI wallet analysis — risk profile, on-chain behavior, DeFi positions, idle assets.

ParamTypeRequiredDescription
walletAddressstringYesWallet to analyze

Note: Takes 1-3 minutes for new wallets. Results cached for 30 days.

wallet.recommend

AI-recommended diversified yield bundle. Analyzes the wallet first (if not cached), then runs a bull/bear/moderator debate to select optimal strategies.

ParamTypeRequiredDescription
walletAddressstringYesWallet to recommend for
tokensstring[]NoFilter by tokens (e.g., ["USDC"])
chainsnumber[]NoFilter by chain IDs
minRiskScorenumberNoMin risk score (0-100, higher = safer)
maxRiskScorenumberNoMax risk score
bundleSizenumberNoStrategies per bundle (1-10, default: 3)
excludeUSXbooleanNoExclude USX token

rebalance

Compare current positions against optimal allocation with optional auto-execute.

ParamTypeRequiredDescription
walletAddressstringYesYour wallet address
chainIdnumberNoChain ID (default: 534352)
autoExecutebooleanNoExecute rebalance automatically (default: false)

migrate

Find yield migration opportunities — compare external DeFi positions against Bundie.

ParamTypeRequiredDescription
walletAddressstringYesWallet to check

Note: Requires a prior wallet analysis. Run wallet.analyze first.

State Tool

portfolio.preferences

Set yield selection rules for the session. Applied to all subsequent recommendations and rebalance checks.

ParamTypeRequiredDescription
walletAddressstringYesWallet address
maxAllocationPerProtocolnumberNoMax % in any single protocol
auditedOnlybooleanNoOnly audited protocols
minRiskScorenumberNoMin risk score (0-100)
maxRiskScorenumberNoMax risk score
excludeChainsnumber[]NoChain IDs to exclude
excludeProtocolsstring[]NoProtocol names to exclude
preferredTokensstring[]NoPreferred token symbols

Natural Language Mapping

User saysPreference set
"only audited protocols"auditedOnly: true
"max 30% in one place"maxAllocationPerProtocol: 30
"nothing below B+ risk"minRiskScore: 75
"only USDC"preferredTokens: ["USDC"]
"no Arbitrum"excludeChains: [42161]

Connection Setup

{
  "mcpServers": {
    "bundie": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.bundie.fi/mcp"]
    }
  }
}

Self-Hosted

{
  "mcpServers": {
    "bundie": {
      "command": "npx",
      "args": ["-y", "@bundie/mcp"],
      "env": {
        "BACKEND_URL": "https://backend.bundie.fi",
        "BACKEND_API_KEY": "your-key",
        "ANALYZER_URL": "https://ai.bundie.fi",
        "ANALYZER_API_KEY": "your-key"
      }
    }
  }
}

Contact engineering@bundie.fi for self-hosted API keys.