NetsCLI

v0.3.4
io.github.fstubner/netscli Checked 1 hour ago Published 1 month ago

Network scanner for AI agents: discover hosts, scan TCP and UDP ports, query DNS and mDNS.

Values you need

VariableWhat it is
NETSCLI_MCP_ALLOW_PUBLIC_TARGETSoptional Set to 1 to allow targets outside your own networks. Off by default.

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add netscli -- npx -y netscli@0.3.4 serve
Add to claude_desktop_config.json
{
  "mcpServers": {
    "netscli": {
      "args": [
        "-y",
        "netscli@0.3.4",
        "serve"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "netscli": {
      "args": [
        "-y",
        "netscli@0.3.4",
        "serve"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "netscli": {
      "args": [
        "-y",
        "netscli@0.3.4",
        "serve"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.netscli]
command = "npx"
args = ["-y", "netscli@0.3.4", "serve"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: discover_network, scan_ports, ping_host, dns_lookup, get_arp_table, inspect_host, sweep_network, list_network_interfaces, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json