Skip to main content
Glama

MetaMask MCP

by Xiawpohr

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Xiawpohr/metamask-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server