UNPKG

whodis-mcp-server

Version:

Whodis MCP Server for checking the availability of domain names using WHOIS lookups.

20 lines (19 loc) 769 B
import { ControllerResponse } from '../types/common.types.js'; /** * @namespace DomainAvailabilityController * @description Controller for handling domain availability checks. */ /** * Checks domain availability and returns a formatted response. * * @function check * @memberof DomainAvailabilityController * @param {string[]} domains - An array of domain names. * @returns {Promise<ControllerResponse>} A promise resolving to the standard controller response containing the availability results as JSON. * @throws {McpError} Propagates errors from the service layer, handled by `handleControllerError`. */ declare function check(domains: string[]): Promise<ControllerResponse>; declare const _default: { check: typeof check; }; export default _default;