MetaMask MCP

get-ens-name

Retrieve the primary ENS name associated with an Ethereum address using MetaMask MCP. Specify the address, chain ID, and optional block number to fetch the name securely.

Instructions

Fetch the primary ENS name for address.

Input Schema

NameRequiredDescriptionDefault
addressYesAddress to get the name for.
blockNumberNoBlock number to get name at.
chainIdNoID of chain to use when fetching data.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "address": { "description": "Address to get the name for.", "type": "string" }, "blockNumber": { "description": "Block number to get name at.", "format": "int64", "type": "integer" }, "chainId": { "description": "ID of chain to use when fetching data.", "type": "number" } }, "required": [ "address" ], "type": "object" }
ID: cw2ldcetl4