{"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-merkl","version":"1.0.0"},"tools":[{"name":"claimRewards","description":"Prepare one unsigned Merkl claim on a supported chain after reward discovery. Refreshes proofs, checks claimed amounts and configured recipients, and simulates the claim. Select reward-token addresses or null for all tokens. Claims full unclaimed entitlements; excludes pending rewards and deposit principal. Requires gas on that chain, with no approval. The caller signs and broadcasts; refresh rewards after confirmation. Use a separate call for each chain.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["ethereum","optimism","bsc","gnosis","polygon","sonic","base","avalanche","arbitrum","scroll","hyperevm","plasma","monad","robinhood","ink","elysium"]},"userAddress":{"type":"string"},"tokenAddresses":{"anyOf":[{"minItems":1,"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Reward-token addresses on this chain; null selects all currently available tokens. Each token is claimed in full."}},"required":["chainName","userAddress","tokenAddresses"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"note":{"type":"string"},"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}}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"error":{"type":"string"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getClaimableRewards","description":"Find the supplied EVM wallet's currently claimable Merkl incentives across all 16 supported networks. Returns exact token quantities, estimated USD values using Merkl prices, configured payout recipients and completeness errors. Null USD values mean unavailable. Incomplete discovery does not establish that no rewards exist. Excludes pending rewards and native deposit interest.","inputSchema":{"type":"object","properties":{"userAddress":{"type":"string"}},"required":["userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"note":{"type":"string"},"data":{"type":"object","properties":{"walletAddress":{"type":"string"},"complete":{"type":"boolean"},"usdValuationComplete":{"type":"boolean"},"totalClaimableValueUsd":{"anyOf":[{"type":"string","description":"Amount in human-readable decimal format (e.g. '1.5'); null when unavailable"},{"type":"null"}]},"message":{"type":"string"},"messageRu":{"anyOf":[{"type":"string"},{"type":"null"}]},"rewards":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"chainName":{"type":"string"},"tokenAddress":{"type":"string"},"symbol":{"anyOf":[{"type":"string"},{"type":"null"}]},"decimals":{"anyOf":[{"type":"integer","minimum":0,"maximum":255},{"type":"null"}]},"claimableAmount":{"anyOf":[{"type":"string","description":"Amount in human-readable decimal format (e.g. '1.5'); null when unavailable"},{"type":"null"}]},"claimableAmountRaw":{"type":"string"},"priceUsd":{"anyOf":[{"type":"string","description":"Amount in human-readable decimal format (e.g. '1.5'); null when unavailable"},{"type":"null"}]},"claimableValueUsd":{"anyOf":[{"type":"string","description":"Amount in human-readable decimal format (e.g. '1.5'); null when unavailable"},{"type":"null"}]},"recipient":{"type":"string"},"distributor":{"type":"string"},"blockNumber":{"type":"string"}},"required":["chainId","chainName","tokenAddress","symbol","decimals","claimableAmount","claimableAmountRaw","priceUsd","claimableValueUsd","recipient","distributor","blockNumber"],"additionalProperties":false}},"networks":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"chainName":{"type":"string"},"complete":{"type":"boolean"},"blockNumber":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["chainId","chainName","complete","blockNumber"],"additionalProperties":false}},"errors":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"chainName":{"type":"string"},"tokenAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"type":"string"}},"required":["chainId","chainName","tokenAddress","message"],"additionalProperties":false}}},"required":["walletAddress","complete","usdValuationComplete","totalClaimableValueUsd","message","messageRu","rewards","networks","errors"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"error":{"type":"string"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getSupportedChains","description":"List this integration's Merkl reward-distribution networks with canonical chain names and IDs.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"note":{"type":"string"},"data":{"type":"object","properties":{"project":{"type":"string"},"chains":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"chainName":{"type":"string"}},"required":["chainId","chainName"],"additionalProperties":false}}},"required":["project","chains"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"error":{"type":"string"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getDescription","description":"Explain Merkl incentives, reward discovery, estimated USD values and unsigned claim preparation.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"note":{"type":"string"},"data":{"type":"object","properties":{"description":{"type":"string"}},"required":["description"],"additionalProperties":false}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string"},"operation":{"type":"string"},"error":{"type":"string"}},"required":["project","operation","error"],"additionalProperties":false}]}}]}