{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":false}},"agentGuidance":{"description":"General guidance for external AI agents using this MCP server. Read before selecting a project endpoint, requesting tool schemas, or calling protocol tools.","skillUrl":"https://erc8004.heyanon.ai/mcp/skill.md"},"serverInfo":{"name":"heyanon-erc8004-lido","version":"1.0.0"},"tools":[{"name":"stakeETH","description":"Stake ETH(native) through Lido and receive stETH in return.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"amount":{"type":"string","description":"Amount of tokens in human-readable decimal format (e.g. \"1.5\")"},"userAddress":{"type":"string","description":"The EVM wallet address of the user"}},"required":["chainName","amount","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number","description":"EVM chain ID"},"transaction":{"type":"object","properties":{"target":{"type":"string","description":"Target contract address"},"data":{"type":"string","description":"ABI-encoded calldata"},"value":{"description":"Native token value in wei","type":"string"}},"required":["target","data"],"additionalProperties":false,"description":"EVM transaction parameters"}},"required":["chainId","transaction"],"additionalProperties":false},"description":"EVM transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"wrapStETH","description":"Wrap stETH into wstETH","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"amount":{"type":"string","description":"Amount of tokens in human-readable decimal format (e.g. \"1.5\")"},"userAddress":{"type":"string","description":"The EVM wallet address of the user"}},"required":["chainName","amount","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number","description":"EVM chain ID"},"transaction":{"type":"object","properties":{"target":{"type":"string","description":"Target contract address"},"data":{"type":"string","description":"ABI-encoded calldata"},"value":{"description":"Native token value in wei","type":"string"}},"required":["target","data"],"additionalProperties":false,"description":"EVM transaction parameters"}},"required":["chainId","transaction"],"additionalProperties":false},"description":"EVM transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"unwrapWstETH","description":"Unwrap wstETH into stETH","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"amount":{"type":"string","description":"Amount of tokens in human-readable decimal format (e.g. \"1.5\")"},"userAddress":{"type":"string","description":"The EVM wallet address of the user"}},"required":["chainName","amount","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number","description":"EVM chain ID"},"transaction":{"type":"object","properties":{"target":{"type":"string","description":"Target contract address"},"data":{"type":"string","description":"ABI-encoded calldata"},"value":{"description":"Native token value in wei","type":"string"}},"required":["target","data"],"additionalProperties":false,"description":"EVM transaction parameters"}},"required":["chainId","transaction"],"additionalProperties":false},"description":"EVM transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"requestWithdrawStETH","description":"Request a withdrawal of stETH back to ETH","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"amount":{"type":"string","description":"Amount of tokens in human-readable decimal format (e.g. \"1.5\")"},"userAddress":{"type":"string","description":"The EVM wallet address of the user"}},"required":["chainName","amount","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number","description":"EVM chain ID"},"transaction":{"type":"object","properties":{"target":{"type":"string","description":"Target contract address"},"data":{"type":"string","description":"ABI-encoded calldata"},"value":{"description":"Native token value in wei","type":"string"}},"required":["target","data"],"additionalProperties":false,"description":"EVM transaction parameters"}},"required":["chainId","transaction"],"additionalProperties":false},"description":"EVM transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"claimWithdrawStETH","description":"Claim a pending withdrawal of ETH","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"requestId":{"type":"number","description":"ID of the withdrawal request to claim"},"userAddress":{"type":"string","description":"The EVM wallet address of the user"}},"required":["chainName","requestId","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number","description":"EVM chain ID"},"transaction":{"type":"object","properties":{"target":{"type":"string","description":"Target contract address"},"data":{"type":"string","description":"ABI-encoded calldata"},"value":{"description":"Native token value in wei","type":"string"}},"required":["target","data"],"additionalProperties":false,"description":"EVM transaction parameters"}},"required":["chainId","transaction"],"additionalProperties":false},"description":"EVM transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getWithdrawalRequests","description":"Get all withdrawal requests for a user.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"userAddress":{"type":"string","description":"The EVM wallet address of the user"}},"required":["chainName","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"requests":{"type":"array","items":{"type":"object","properties":{"requestId":{"type":"number","description":"Withdrawal request ID"},"amountOfStETH":{"type":"string","description":"Amount of stETH in human-readable decimal format (e.g. \"1.5\")"},"isFinalized":{"type":"boolean","description":"Whether the request is finalized"},"isClaimed":{"type":"boolean","description":"Whether the request has been claimed"},"estimatedFinalization":{"description":"Estimated finalization time","type":"string"}},"required":["requestId","amountOfStETH","isFinalized","isClaimed"],"additionalProperties":false},"description":"List of withdrawal requests"}},"required":["requests"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getWstETHByStETH","description":"Calculate how much wstETH you get for a given stETH amount","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"amount":{"type":"string","description":"Amount of tokens in human-readable decimal format (e.g. \"1.5\")"}},"required":["chainName","amount"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"stETHAmount":{"type":"string","description":"Input stETH amount in human-readable decimal format (e.g. \"1.5\")"},"wstETHAmount":{"type":"string","description":"Equivalent wstETH amount in human-readable decimal format (e.g. \"1.5\")"}},"required":["stETHAmount","wstETHAmount"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getStETHByWstETH","description":"Calculate how much stETH you get for a given wstETH amount","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"amount":{"type":"string","description":"Amount of tokens in human-readable decimal format (e.g. \"1.5\")"}},"required":["chainName","amount"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"wstETHAmount":{"type":"string","description":"Input wstETH amount in human-readable decimal format (e.g. \"1.5\")"},"stETHAmount":{"type":"string","description":"Equivalent stETH amount in human-readable decimal format (e.g. \"1.5\")"}},"required":["wstETHAmount","stETHAmount"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getTotalRewardsEarned","description":"Get the total rewards earned for stETH staking.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"},"userAddress":{"type":"string","description":"The EVM wallet address of the user"}},"required":["chainName","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"totalRewards":{"type":"string","description":"Total staking rewards earned in human-readable decimal format (e.g. \"1.5\")"},"unit":{"type":"string","description":"Token unit of the rewards"}},"required":["totalRewards","unit"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getLidoAPR","description":"Get the latest Lido APR","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum"],"description":"Chain name where the operation takes place"}},"required":["chainName"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"apr":{"type":"string","description":"Current Lido staking APR (e.g. \"3.5%\")"}},"required":["apr"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getDescriptionLido","description":"Get detailed information about Lido features and how to use them.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"description":{"type":"string","description":"Lido protocol features and usage information"}},"required":["description"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}}]}