Skip to main content
Glama
Euler Vaults MCP

Euler Vaults MCP

by kukapay
README.md
# Euler Vaults MCP  

An MCP server that provides instant access to Euler Finance lending vaults across 18+ chains.

![License](https://img.shields.io/badge/license-MIT-blue.svg)
![Node.js](https://img.shields.io/badge/Node.js-22.x-green.svg)
![Status](https://img.shields.io/badge/status-active-brightgreen.svg)

## Features

- Two powerful tools:
  - `list_vaults` – All lending vaults for a given underlying asset (returned as a clean Markdown table)
  - `get_vault_data` – Full real-time details for any vault address
- Supports **18+ chains** (Mainnet, Base, Arbitrum, Optimism, Berachain, Sonic, Swell, BOB, Avalanche, and more)

## Installation & Usage

1. Clone the repository:
   ```bash
   git clone https://github.com/kukapay/euler-vaults-mcp.git
   cd euler-vaults-mcp
   ```

2. Install dependencies:
   ```bash
   npm install
   ```
   
3. Configure the MCP client(e.g., Claude Desktop):

    ```json
    {
       "mcpServers": {
           "Lista Vaults": {
                "command": "node",
                "args": [ "/path/to/euler-vaults-mcp/index.js" ]
           }
       }
    }
    ```
    Replace `/path/to/euler-vaults-mcp` with your actual installation path.

## Tools

### `list_vaults`

```ts
chain: mainnet        // default: mainnet
asset: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48   // USDC, WETH, etc.
```

Returns **all lending vaults** using that asset as underlying, in a beautiful sortable Markdown table:

| # | Vault Name            | TVL     | Supply APY | Borrow APY | Supply Cap | Address            |
|---|-----------------------|---------|------------|------------|------------|--------------------|
| 1 | **USDC Prime**        | 842.31 M| 5.67%      | 7.21%      | ∞          | `0x6b175474e8...` |
| 2 | **USDC Standard**     | 127.45 M| 4.92%      | 6.80%      | 500M       | `0x38cF23C52e...` |

### `get_vault_data`

```ts
chain: mainnet | base | arbitrum | ...
address: 0x...
```

Returns complete vault info including name, symbol, oracle, caps, real-time shares, borrows, cash, etc.:

```
# Euler V2 Vault • MAINNET

**Address** `0x6b175474e89094c44da98b954eedeac495271d0f`  
**Name** USDC (USDC)  
**Underlying** `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48`  
**Decimals** 6

### Real-Time Stats
- Total Shares: 842351729.1842
- Total Borrows: 612847291.0531
- Cash: 229504438.1311
- Supply APY: 5.67%
- Borrow APY: 7.21%

[Open in App →](https://app.euler.finance/vault/0x6b175474e89094c44da98b954eedeac495271d0f?chain=mainnet)
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.