ENS

v0.1.1
io.github.thenamespace/ens-mcp Checked 5 hours ago Published 8 days ago

ENS names: resolve, read profiles and ownership, list names, prepare registrations and changes

Values you need

VariableWhat it is
ENS_MCP_RPC_URLoptional secret RPC URL for the chain; a rate-limited public RPC when unset
ENS_MCP_CHAINoptional Chain to read ENS from Default: mainnet
ENS_MCP_TOOLSETSoptional Comma-separated toolsets: lookup, lists, register, manage, advanced, utils, or all Default: lookup,lists,register,utils

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ens-mcp -- npx -y @thenamespace/ens-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ens-mcp": {
      "args": [
        "-y",
        "@thenamespace/ens-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ens-mcp": {
      "args": [
        "-y",
        "@thenamespace/ens-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "ens-mcp": {
      "args": [
        "-y",
        "@thenamespace/ens-mcp@0.1.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ens-mcp]
command = "npx"
args = ["-y", "@thenamespace/ens-mcp@0.1.1"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http ens-mcp https://ens-mcp.namespace.ninja/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "ens-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://ens-mcp.namespace.ninja/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ens-mcp": {
      "url": "https://ens-mcp.namespace.ninja/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "ens-mcp": {
      "type": "http",
      "url": "https://ens-mcp.namespace.ninja/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ens-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://ens-mcp.namespace.ninja/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: resolve_name, get_primary_name, get_profile, get_records, get_name_details, get_permissions, search_names, list_names_for_address, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json