whois-mcp

whois-mcp

0

The WHOIS MCP is a Java-based application offering WHOIS lookup capabilities via the Model Context Protocol. It supports domain validation, caching, and error handling, facilitating domain queries through a standardized interface.

Overview

WHOIS MCP is a Java application that provides WHOIS lookup functionality through the Model Context Protocol. It allows users to query WHOIS information for domains using a standardized interface. The server communicates over standard input/output, making it compatible with MCP clients.

Features

  • Domain validation and sanitization
  • Caching of WHOIS server information
  • Fallback to IANA WHOIS server when specific servers are not found
  • Comprehensive error handling
  • Integration with the Model Context Protocol

Installation

Prerequisites

  • Java 21 or higher
  • Maven 3.6 or higher

Building the Project

  1. Clone the repository.
  2. Build with Maven to create an executable JAR file.
  3. Optionally, open the project in an IDE for development and debugging.

Usage

Once configured, the WHOIS MCP server will be available to any MCP client that supports the protocol.

Debugging the Server

To debug the server, use the MCP Inspector and connect to the server.