rdap-mcp-server

rdap-mcp-server

0

rdap-mcp-server is a protocol server that facilitates the lookup of domain names and IP addresses using RDAP. It extends the functionality of the previous whois-mcp to accommodate TLDs that no longer support Whois, making it a flexible tool for web resource inquiries.

rdap-mcp-server

Model Context Protocol server to look up domain names and IPs using RDAP.

This project is forked from whois-mcp. Some TLDs such as .dev no longer support the whois protocol, but do support RDAP.

Available Tools

ToolDescription
rdap_domainLooks up rdap information about a domain
rdap_ipLooks up rdap information about an IP
rdap_asLooks up rdap information about an Autonomous System Number (ASN)

Usage

"mcpServers": {
  "domains": {
    "command": "docker",
    "args": ["run", "-i", "--rm", "ghcr.io/clareliguori/rdap-mcp-server"]
  }
}

Development

# Debug locally
npm install
npm run build
npx @modelcontextprotocol/inspector node dist/index.js

# Build and debug with Docker
docker build -t ghcr.io/clareliguori/rdap-mcp-server:latest .
npx @modelcontextprotocol/inspector docker run -i --rm ghcr.io/clareliguori/rdap-mcp-server:latest


# Publish
docker push ghcr.io/clareliguori/rdap-mcp-server:latest