About Ens MCP Server
Ens MCP Server is an MCP server published by josheleonard in the Developer Tools category: an MCP server for Ethereum Name Service resolutions.
The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/josheleonard/ens-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Ens MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
MCP Server Demo
This project demonstrates a Model Context Protocol (MCP) server implementation that provides Ethereum Name Service (ENS) lookup functionality. It's built using the MCP SDK and provides a simple HTTP server with Server-Sent Events (SSE) support.
Features
- ENS name resolution (address → name)
- ENS address lookup (name → address)
- Server-Sent Events (SSE) for real-time communication
- Express.js HTTP server
Available Tools
The server provides two main tools:
-
get-ens-name: Resolves an Ethereum address to its associated ENS name- Input: Ethereum address (format: 0x...)
- Output: ENS name or "No ENS name found"
-
get-ens-address: Looks up the Ethereum address for an ENS name- Input: ENS name (e.g., "vitalik.eth")
- Output: Ethereum address or "No ENS address found"
Technical Stack
- @modelcontextprotocol/sdk - MCP SDK for server implementation
- Express.js - Web server framework
- Viem - Ethereum interaction library
- Zod - Runtime type validation
Getting Started
-
Install dependencies:
npm install -
Build the server:
npm run build -
Start the server:
npm run start
The server will start on port 8080.
API Endpoints
GET /sse- Establishes an SSE connectionPOST /messages- Handles incoming messages/requests
README fetched from the repository 8 days ago. The original is authoritative.