MCP Server
Connect Bundie to Claude, Cursor, VS Code, and any MCP-compatible AI assistant.
The Bundie MCP Server exposes DeFi yield routing as tools that any AI assistant can call. No API keys needed — connect to our hosted server and start earning yield through conversation.
Installation
Cursor (one-click)
Claude Desktop
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"bundie": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.bundie.fi/mcp"]
}
}
}VS Code
Add to .vscode/mcp.json:
{
"servers": {
"bundie": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.bundie.fi/mcp"]
}
}
}Claude Code
claude mcp add bundie -- npx mcp-remote https://mcp.bundie.fi/mcpSmithery
npx @smithery/cli install bundie-fi/yield --client claudeAvailable Tools
| Tool | Type | Description |
|---|---|---|
yields.check | Read | Browse yield opportunities with APY, risk scores, and TVL |
portfolio | Read | Check current positions, allocation %, weighted APY |
deposit | Write | Deposit assets into Bundie vault |
withdraw | Write | Withdraw assets from vault |
strategy_deposit | Write | Deposit into a cross-chain yield strategy |
strategy_withdraw | Write | Withdraw from a strategy position |
wallet.analyze | AI | Full wallet analysis — risk profile, behavior, idle assets |
wallet.recommend | AI | AI-recommended yield bundle via bull/bear/moderator debate |
rebalance | AI | Compare current vs optimal allocation, suggest rebalance |
migrate | AI | Find migration opportunities from external DeFi |
portfolio.preferences | State | Set yield selection rules for the session |
Example Usage
User: "Where should I put my 5000 USDC to earn yield?"
Agent: "Based on your Moderate risk profile, here's the AI-recommended bundle:
- 40% Morpho USDC on Base (9.1% APY, Risk: 92/100)
- 35% Fluid USDC on Scroll (8.5% APY, Risk: 88/100)
- 25% Moonwell USDC on Optimism (7.8% APY, Risk: 95/100)
Blended APY: 8.5%
Want me to deposit?"How It Works
The MCP server connects to Bundie infrastructure:
- Yield Aggregator — indexes opportunities across EVM chains and multiple protocols (Morpho, Fluid, Moonwell, Yearn, Euler, Silo, and more)
- AI Risk Engine — scores every yield source on security, liquidity, maturity, and centralization (0-100 scale)
- Bundle Builder — AI debate system (bull/bear/moderator) constructs diversified allocations matched to your risk profile
All transactions are non-custodial via ERC-4337 smart accounts. Cross-chain routing via LayerZero.
Self-Hosting
For developers who want to run their own instance:
{
"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 API keys.
Security
- Non-custodial — Bundie never holds your private keys
- Hosted server — API keys managed server-side, users need zero configuration
- No source maps — compiled output cannot be reverse-engineered