NetsCLI
v0.3.4Network scanner for AI agents: discover hosts, scan TCP and UDP ports, query DNS and mDNS.
Values you need
| Variable | What it is | |
|---|---|---|
NETSCLI_MCP_ALLOW_PUBLIC_TARGETS | optional | 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 serveAdd 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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