Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lido-mcp

БесплатноБез исполняемых скриптовНе проверен

Build and use an MCP server for Lido staking operations. Covers stETH staking, wstETH wrapping, withdrawal queue, balance queries, governance, and vault…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

Lido MCP Server

Reference for building or using an MCP server that makes Lido staking operations natively callable by AI agents.

Core Operations

1. Stake ETH → stETH

Send ETH to the Lido contract's submit() function:

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84\",\"data\":\"0xa1903eab0000000000000000000000000000000000000000000000000000000000000000\",\"value\":\"0xde0b6b3a7640000\"},\"latest\"],\"id\":1}'"

0xa1903eab = submit(address _referral). Send ETH as value. Returns shares minted.

2. Wrap stETH → wstETH

Approve stETH then call wrap():

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0\",\"data\":\"0xea598cb00000000000000000000000000000000000000000000000000000000000000000\"},\"latest\"],\"id\":1}'"

0xea598cb0 = wrap(uint256 _stETHAmount). Returns wstETH amount.

3. Unwrap wstETH → stETH

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0\",\"data\":\"0xde0e9a3e0000000000000000000000000000000000000000000000000000000000000000\"},\"latest\"],\"id\":1}'"

0xde0e9a3e = unwrap(uint256 _wstETHAmount). Returns stETH amount.

4. Request Withdrawal (Unstake)

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1\",\"data\":\"0xd6681042\"},\"latest\"],\"id\":1}'"

Withdrawal Queue: 0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1 Key functions: requestWithdrawals(uint256[] amounts, address owner), claimWithdrawals(uint256[] requestIds, uint256[] hints)

Balance & Rate Queries

stETH balance:

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84\",\"data\":\"0x70a08231000000000000000000000000USER_ADDRESS_HERE\"},\"latest\"],\"id\":1}'"

wstETH/stETH exchange rate:

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0\",\"data\":\"0x035faf82\"},\"latest\"],\"id\":1}'"

0x035faf82 = stEthPerToken(). Divide result by 1e18.

Shares balance (underlying stETH shares):

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84\",\"data\":\"0xf5eb42dc000000000000000000000000USER_ADDRESS_HERE\"},\"latest\"],\"id\":1}'"

0xf5eb42dc = sharesOf(address).

Total pooled ETH:

exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84\",\"data\":\"0x37cfdaca\"},\"latest\"],\"id\":1}'"

0x37cfdaca = getTotalPooledEther().

Lido REST APIs (Free, no auth)

APR API (https://eth-api.lido.fi)

Current APR (7-day SMA):

web_fetch url="https://eth-api.lido.fi/v1/protocol/steth/apr/sma"

Latest APR:

web_fetch url="https://eth-api.lido.fi/v1/protocol/steth/apr/last"

Protocol stats:

web_fetch url="https://eth-api.lido.fi/v1/protocol/steth/stats"

Withdrawal Queue API (https://wq-api.lido.fi)

Queue wait time:

web_fetch url="https://wq-api.lido.fi/v2/request-time/calculate"

Estimated time for specific amount:

web_fetch url="https://wq-api.lido.fi/v2/request-time/calculate?amount=32"

Time for specific request IDs:

web_fetch url="https://wq-api.lido.fi/v2/request-time?ids=1&ids=2"

Reward History API (https://reward-history-backend.lido.fi)

Staking rewards for an address:

web_fetch url="https://reward-history-backend.lido.fi/?address=0xUSER&currency=USD&onlyRewards=true"

Governance (Aragon DAO)

Contract Address
Lido DAO (Aragon) 0xb8FFC3Cd6e7Cf5a098A1c92F48009765B24088Dc
LDO Token 0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
Voting 0x2e59A20f205bB85a89C53f1936454680651E618e
Token Manager 0xf73a1260d222f447210581DDf212D915c09a3249
Finance 0xB9E5CBB9CA5b0d659238807E84D0176930753d86
Agent (Treasury) 0x3e40D73EB977Dc6a537aF587D48316feE66E9C8c

Query active proposals via Snapshot:

exec command="curl -s -X POST 'https://
Полный SKILL.md на GitHub

Установить lido-mcp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSESOURCE.mdTRUST.auto.yaml

FAQ

Что делает скилл lido-mcp?

Build and use an MCP server for Lido staking operations. Covers stETH staking, wstETH wrapping, withdrawal queue, balance queries, governance, and vault monitoring. Use when building Lido MCP tools, staking integrations, or monitoring Lido positions.

Как установить скилл lido-mcp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lido-mcp запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить lido-mcp с