MCP DNS

MIT License
Integrations
  • Utilizes Node.js native DNS module to perform DNS lookups for various record types (A, AAAA, MX, TXT, CNAME, NS, etc.) through a standardized MCP interface.

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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

  1. Features
    1. Usage
      1. Development
        1. Prerequisites
        2. Setup
        3. Project Structure
      2. Dependencies
        1. Other Links

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.
            Last updated -
            95
            Python
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) server that provides intelligent access to PowerPlatform/Dataverse entities and records. This tool offers context-aware assistance, entity exploration and metadata access.
            Last updated -
            466
            1
            JavaScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) server implementation for the Didlogic API. This server allows Large Language Models (LLMs) to interact with Didlogic services through a standardized interface.
            Last updated -
            1
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables natural language querying of the Censys Search API for domain, IP, and FQDN reconnaissance, providing information about hosts, DNS, certificates, and services in real-time.
            Last updated -
            1
            Python

          View all related MCP servers

          ID: 54n7tv1l8z