MCP Server
Connect AI tools to Lido via the Model Context Protocol
The Moly MCP server integrates with the Lido protocol to provide staking, wrapping, withdrawals, and governance functionality across Hoodi testnet and Ethereum mainnet via the Model Context Protocol (MCP).
MCP is a standard protocol for AI model integration, allowing AI tools like Claude, Cursor, Windsurf, and VS Code Copilot to access external tools and data sources directly.
Quickstart
Run the setup wizard once, then add the MCP server to your AI tool:
npx @moly-mcp/lido{
"mcpServers": {
"moly": {
"command": "npx",
"args": ["@moly-mcp/lido", "--server"]
}
}
}Your AI assistant now has access to all 28 Lido tools. Try asking:
What's the stETH balance for 0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18?Configuration
The setup wizard (npx @moly-mcp/lido) configures network, mode, wallet, and AI provider. You can also change settings mid-session using the update_settings tool or moly setup.
| Setting | Options | Default |
|---|---|---|
| Network | hoodi, mainnet | hoodi |
| Mode | simulation, live | simulation |
| Wallet | Raw key, OWS vault, or skip | skip |
Tools (28)
Read Tools (7)
| Tool | Description |
|---|---|
| get_balance | ETH, stETH, wstETH balances |
| get_rewards | Staking reward history |
| get_conversion_rate | stETH/wstETH exchange rate |
| get_withdrawal_requests | Pending withdrawal IDs |
| get_withdrawal_status | Finalization status |
| get_proposals | DAO governance proposals |
| get_proposal | Single proposal details |
Write Tools (6)
| Tool | Description |
|---|---|
| stake_eth | Stake ETH → stETH |
| request_withdrawal | Queue stETH withdrawal |
| claim_withdrawals | Claim finalized withdrawals |
| wrap_steth | Wrap stETH → wstETH |
| unwrap_wsteth | Unwrap wstETH → stETH |
| cast_vote | Vote on DAO proposal |
Bridge Tools (4, mainnet only)
| Tool | Description |
|---|---|
| get_l2_balance | ETH and wstETH balances on Base or Arbitrum |
| get_bridge_quote | Quote for bridging to Ethereum L1 via LI.FI |
| bridge_to_ethereum | Bridge ETH or wstETH from L2 to L1 (supports dry_run) |
| get_bridge_status | Check status of in-progress bridge transaction |
Verify
After adding the config, ask your AI assistant:
What Lido tools are available?It should list all available tools. Then try:
What's the stETH balance for 0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18?