Skip to main content
Glama

MCP DNS

MCP DNS

提供 DNS 查询功能的模型上下文协议 (MCP) 工具。此工具允许您通过标准化的 MCP 接口对各种记录类型执行 DNS 查找。

特征

  • DNS 查询各种记录类型(A、AAAA、MX、TXT、CNAME、NS 等)
  • 简单、标准化的MCP接口
  • 使用 TypeScript 构建以确保类型安全
  • 使用 Node.js 原生 DNS 模块

用法

该工具提供了一个dns-query命令,该命令接受两个参数:

  • name :要查询的域名
  • type :DNS 记录类型(A、AAAA、MX、TXT、CNAME、NS 等)

发展

先决条件

  • Node.js(推荐使用最新 LTS 版本)
  • npm

设置

  1. 克隆存储库:
git clone https://github.com/glucn/mcp-dns.git cd mcp-dns
  1. 安装依赖项:
npm install
  1. 构建项目:
npm run build

项目结构

  • src/ ——源代码目录
    • server.ts - 主服务器实现
  • build/ ——编译后的 JavaScript 输出
  • package.json - 项目配置和依赖项

依赖项

  • @modelcontextprotocol/sdk - 用于服务器实现的 MCP SDK
  • zod - TypeScript 优先模式验证
  • TypeScript - 用于类型安全和现代 JavaScript 功能

其他链接

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.

一个模型上下文协议工具,通过标准化的 MCP 接口提供各种记录类型(A、AAAA、MX、TXT、CNAME、NS 等)的 DNS 查询功能。

  1. 特征
    1. 用法
      1. 发展
        1. 先决条件
        2. 设置
        3. 项目结构
      2. 依赖项
        1. 其他链接

          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
            974
            7
            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