Skip to main content
Glama

MCP DNS

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
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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
            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 -
            3
            Python
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides network analysis tools for security professionals, enabling AI models like Claude to perform tasks such as ASN lookups, DNS analysis, WHOIS retrieval, and IP geolocation for security investigations.
            Last updated -
            1
            Python
            Apache 2.0
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides comprehensive domain analysis capabilities including WHOIS lookups, DNS record queries, and DNS health checking.
            Last updated -
            2
            Python
            MIT License
            • Linux
          • A
            security
            A
            license
            A
            quality
            A comprehensive Model Context Protocol server providing access to 70+ IT tools for developers and system administrators, including encoding/decoding, text manipulation, hashing, and network utilities.
            Last updated -
            76
            400
            6
            TypeScript
            MIT License
            • Linux

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/glucn/mcp-dns'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server