MCP.so
登录

NS Lookup MCP Server

@wgr1984

基本信息

分类

其他

传输方式

stdio

作者

wgr1984

关于 NS Lookup MCP Server

A simple MCP Server that exposes the nslookup command functionality

NS Lookup MCP Server 配置

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

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

NS Lookup MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What are the system requirements for NS Lookup MCP Server?

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

2

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`.

3

What parameters does the nslookup tool accept?

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

4

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`.

5

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 服务器