ens-mcp-server

ens-mcp-server

5

The ENS MCP Server is designed to interface with the Ethereum Name Service, allowing users to perform operations like resolving names, checking availability, and retrieving records seamlessly. It supports robust error handling and can be integrated into projects easily with Node.js.

ENS MCP Server

MCP Server for Ethereum Name Service (ENS), facilitating interactions like resolving names, checking availability, retrieving records, and more. Key features include:

  • resolve-name: Converts an ENS name to an Ethereum address
  • reverse-lookup: Finds the ENS name for a given Ethereum address
  • get-text-record: Retrieves text records for an ENS name
  • check-availability: Checks the registration availability of an ENS name
  • get-all-records: Fetches comprehensive details about an ENS name
  • get-subdomains: Lists subdomains for an ENS name with ownership info
  • get-name-history: Explores historical events for an ENS name
  • get-registration-price: Calculates registration price for an ENS name

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • Ethereum RPC providers

Installation

  1. Clone the repository
  2. Install dependencies
  3. Configure Ethereum providers

Usage

Integrate with Claude Desktop using npx or a local script.

Error Handling

The server handles errors from various issues such as network, invalid inputs, and ENS-specific errors.

License

MIT License.