Lido MCP Server
Provides tools for Lido staking operations on Ethereum Mainnet and Base, including staking ETH for stETH, unstaking, wrapping, balance checks, and rewards data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lido MCP ServerStake 0.1 ETH"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lido MCP Server
Model Context Protocol (MCP) server for Lido Finance operations
Built by AOX (@AOXexchange, aox.llc) for The Synthesis Ethereum Agent Hackathon 2026.
Overview
This MCP server gives AI agents native access to Lido staking operations. Point Claude (or any MCP-compatible client) at this server and stake ETH from a conversation — zero custom code.
Transport: stdio (MCP standard — not an HTTP server)
Wallet: 0x7e7f825248Ae530610F34a5deB9Bc423f6d63373
Related MCP server: Universal Crypto MCP
Available Tools
Tool | Description | Network |
| Stake ETH for stETH | Ethereum Mainnet |
| Request unstake (withdrawal queue) | Ethereum Mainnet |
| Wrap stETH to wstETH | Base |
| Unwrap wstETH to stETH | Base |
| Check stETH/wstETH balances + live APY | Mainnet + Base |
| Get staking rewards data + projections | Mainnet + Base |
All write operations support dry_run: true for safe testing.
Installation
git clone https://github.com/GeObts/lido-mcp.git
cd lido-mcp
npm installEnvironment Setup
cp .env.example .env
# Edit .env and set AOX_BANKER_PRIVATE_KEY (never commit real keys)The server loads the private key from (first match wins):
AOX_BANKER_PRIVATE_KEYenvironment variable (set by MCP client config).envfile in the project root~/.openclaw/.env(legacy AOX agent path)
Usage with MCP Clients
Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"lido": {
"command": "node",
"args": ["/path/to/lido-mcp/index.js"],
"env": {
"AOX_BANKER_PRIVATE_KEY": "0xYourPrivateKeyHere"
}
}
}
}Restart Claude Desktop. The Lido tools appear automatically.
Claude Code
claude mcp add lido node /path/to/lido-mcp/index.jsExample Conversation
User: "Stake 0.01 ETH via Lido"
Claude: Calls lido_stake with dry_run: true first
Simulation successful:
Stake: 0.01 ETH → ~0.01 stETH
Gas: ~0.015 ETH
Current APY: 3.2% (live from Lido API)
Proceed with the real transaction?
User: "Yes"
Claude: Calls lido_stake with dry_run: false
Transaction confirmed:
Hash:
0x...stETH received: 0.00998
Now earning staking rewards
Live Proof — Dry Run Results
Real simulations executed on mainnet:
lido_stake (dry_run)
{
"success": true,
"dry_run": true,
"operation": "stake",
"amount": "0.01",
"contract": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
"network": "ethereum-mainnet",
"estimated_stETH": "0.01",
"current_apy_percent": 3.2,
"gas_estimate": "~0.015 ETH"
}lido_balance (live query)
{
"success": true,
"address": "0x7e7f825248Ae530610F34a5deB9Bc423f6d63373",
"total_stETH_equivalent": "0.0",
"current_apy_percent": 3.2,
"apy_source": "Lido API (live)"
}Security
This server handles real funds.
Private keys stored in
.env(gitignored) — never committedRate limiting: 10 calls/minute per tool
Input validation: 0.001–10 ETH per stake transaction
Dynamic gas pricing with 20% buffer
dry_runmode on all write operationsLive APY from Lido API (cached 5 min, falls back gracefully)
AOX Integration
This MCP server powers the Banker Agent in the AOX autonomous pipeline:
Marketplace Agent sells leads → receives USDC
Banker Agent swaps 20% of USDC → ETH
This MCP server stakes ETH → stETH via
lido_stakeTreasury earns 3-4% APY on idle funds
Fully autonomous. Zero human intervention.
Hackathon
Event: The Synthesis — Ethereum Agent Hackathon 2026 Team: AOX (Agent Opportunity Exchange) Prize Track: Lido MCP ($5,000) ERC-8004: Both Marketplace and Banker agents registered on-chain Repo: https://github.com/GeObts/lido-mcp
License
MIT — See LICENSE
Built by AOX · aox.llc · @AOXexchange
This server cannot be deployed
Maintenance
Related MCP Connectors
Native Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.
Non-custodial DeFi tools for AI agents on Solana: swaps, perps, lending, staking, equities.
Crypto yield data for AI agents: lending, savings, staking, borrowing & stablecoin rates. 18 tools.
Non-custodial DeFi for AI agents: swaps, concentrated liquidity (V3/V4) zaps + ranges, 5 EVM chains
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to interact with cryptocurrency ecosystems through wallet management, trading operations (swaps, DCA, limit orders), staking, and multi-chain support starting with Solana.37GPL 3.0
- AlicenseCqualityCmaintenanceEnables AI agents to interact with any EVM-compatible blockchain through natural language, supporting token swaps, cross-chain bridges, staking, lending, governance, gas optimization, and portfolio tracking across networks like Ethereum, BSC, Polygon, Arbitrum, and more.10030 npm41-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Lido protocol for ETH staking, position management, and governance participation across Ethereum and L2 networks. It provides tools for querying balances, simulating transactions, and executing complex workflows like withdrawals and DAO voting through a safety-first interface.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that gives any AI agent full access to Lido Finance's staking infrastructure through natural language. Stake ETH, manage positions, request withdrawals, and monitor protocol stats.-