The ENS MCP Server enables Claude to interact with the Ethereum Name Service, providing tools to resolve ENS names to Ethereum addresses, perform reverse lookups, retrieve text records, check name availability, get registration prices, and explore name history. Built with TypeScript using the Model Context Protocol SDK, it connects to Ethereum networks through configurable providers and implements robust error handling for network issues and invalid inputs. This implementation by JustaName offers a complete interface to ENS functionality, making it valuable for blockchain applications that need to work with decentralized naming systems or verify Ethereum identity information.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Resolve an ENS name to an Ethereum address. Required inputs: name (string): The ENS name to resolve (e.g., 'vitalik.eth'). Returns: The corresponding Ethereum address or an error message.
Get the ENS name for an Ethereum address. Required inputs: address (string): The Ethereum address to look up. Returns: The corresponding ENS name or an indication that no name was found.
Get a text record for an ENS name. Required inputs: name (string): The ENS name to query, key (string): The record key to look up (e.g., 'email', 'url', 'avatar', 'description', 'twitter', etc.). Returns: The value of the specified text record or indication that no record was found.
Check if an ENS name is available for registration. Required inputs: name (string): The ENS name to check. Returns: Availability status and owner information if registered.
Get all available information for an ENS name. Required inputs: name (string): The ENS name to query. Returns: Comprehensive information including resolver address, text records, addresses, content hash, ownership, and expiration details.
Get subdomains for an ENS name. Required inputs: name (string): The ENS name to query for subdomains. Returns: List of subdomains with their owner information.
Get the history of an ENS name. Required inputs: name (string): The ENS name to check history for. Returns: Historical events related to the name, including transfers, resolver changes, and registration events.
Get the price to register an ENS name. Required inputs: name (string): The ENS name to check price for. Optional inputs: duration (number, default: 1): Registration duration in years. Returns: Registration price breakdown including base price, premium, and total.