MCP.so
登录

NS Lookup MCP Server

@wgr1984

关于 NS Lookup MCP Server

A simple MCP Server that exposes the nslookup command functionality

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

wgr1984

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "ns-lookup-mcp": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-e",
        "."
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is NS Lookup MCP Server?

A simple MCP (Model Context Protocol) Server that exposes the nslookup command functionality via a REST API. It provides forward and reverse DNS lookup capabilities for integrating DNS resolution into applications.

How to use NS Lookup MCP Server?

Requires Python 3.9+ and the uv package manager. Clone the repository, install dependencies with uv pip install -e ., then start the server with uv run ns-lookup-mcp. For debugging, use npx @modelcontextprotocol/inspector uv run ns-lookup-mcp. Configure an MCP client by adding the provided JSON entry with the correct workspace path.

Key features of NS Lookup MCP Server

  • Exposes nslookup command via a REST API
  • Supports forward and reverse DNS lookups
  • Configurable DNS server selection
  • Clean and concise output formatting
  • Modern Python tooling with uv and pyproject.toml

Use cases of NS Lookup MCP Server

  • Perform forward DNS lookups for domain names
  • Perform reverse DNS lookups for IP addresses
  • Query specific DNS servers (e.g., Google, Cloudflare, OpenDNS)
  • Integrate DNS resolution into MCP‑enabled workflows

FAQ from NS Lookup MCP Server

What are the system requirements for NS Lookup MCP Server?

Python 3.9 or higher and the uv package manager are required.

How do I install and run NS Lookup MCP Server?

Clone the repository, run uv pip install -e . to install dependencies, then start with uv run ns-lookup-mcp.

What parameters does the nslookup tool accept?

It accepts a required hostname (domain or IP) and an optional server (DNS server to use).

Can I specify a custom DNS server for a lookup?

Yes, you can provide the server parameter to use a specific DNS server, such as 8.8.8.8 or 1.1.1.1.

What output format does NS Lookup MCP Server return?

The server returns a clean, concise format showing DNS server, queried name, and resolved address.

评论

其他 分类下的更多 MCP 服务器