JUHE API Marketplace
glucn avatar
MCP Server

MCP DNS

A Model Context Protocol tool that provides DNS querying capabilities for various record types (A, AAAA, MX, TXT, CNAME, NS, etc.) through a standardized MCP interface.

0
GitHub Stars
8/23/2025
Last Updated
No Configuration
Please check the documentation below.

README Documentation

MCP DNS

A Model Context Protocol (MCP) tool that provides DNS querying capabilities. This tool allows you to perform DNS lookups for various record types through a standardized MCP interface.

Features

  • DNS querying for various record types (A, AAAA, MX, TXT, CNAME, NS, etc.)
  • Simple and standardized MCP interface
  • Built with TypeScript for type safety
  • Uses Node.js native DNS module

Usage

The tool provides a dns-query command that accepts two parameters:

  • name: The domain name to query
  • type: The DNS record type (A, AAAA, MX, TXT, CNAME, NS, etc.)

Development

Prerequisites

  • Node.js (latest LTS version recommended)
  • npm

Setup

  1. Clone the repository:
git clone https://github.com/glucn/mcp-dns.git
cd mcp-dns
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Project Structure

  • src/ - Source code directory
    • server.ts - Main server implementation
  • build/ - Compiled JavaScript output
  • package.json - Project configuration and dependencies

Dependencies

  • @modelcontextprotocol/sdk - MCP SDK for server implementation
  • zod - TypeScript-first schema validation
  • TypeScript - For type safety and modern JavaScript features

Other Links

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source