NetsCLI
io.github.fstubner/netscli · 16 stars · Rust · MIT
MCP server Network scanner for AI agents: discover hosts, scan TCP and UDP ports, query DNS and mDNS.
Install
The repo has no one-line install. Follow its README.
Published as
- npm
netsclistdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
NETSCLI_MCP_ALLOW_PUBLIC_TARGETSOptional | Env var | Set to 1 to allow targets outside your own networks. Off by default. |
Files
A network scanner written in Rust. CLI, terminal UI, desktop app, and MCP server. One library behind all four.
Documentation · Install · Changelog
Why this exists
The terminal UI came first. I wanted to understand how the newer TUIs work, the ones coding agents like Claude Code have put real effort into. Autocomplete, command history, in-place progress, and a UI that does not take over the terminal, so scrollback and copying text keep working. Building one seemed like the way to learn it, and a network scanner gave it something to do.
The MCP server came next. I thought it would be interesting to let an agent work with a network that way. Ask which device just joined, or whether port 22 is open on some host, instead of shelling out to another tool and parsing output that was written for a person to read.
Then the CLI, for programmatic use. A script or a cron job wants one command and JSON back, not an interactive session.
The desktop app came last. Some people would rather have a GUI than a terminal, and honestly I sometimes prefer it myself over running the commands locally.
Three of them are the same binary. netscli <command> is the CLI, netscli
on its own opens the terminal UI, and netscli serve starts the MCP server.
The desktop app is a separate download over the same core.
Screenshots
Install
# macOS / Linux brew tap fstubner/tap && brew install netscli # Windows winget install netscli # CLI, TUI and MCP server winget install netscli-gui # desktop app # Any platform, via cargo cargo install netscli
Desktop installers for Windows, macOS and Linux are attached to every release.
Scoop, the AUR, the one-line install scripts, packet-capture builds and signature verification are all covered in the install guide.
Usage
netscli discover # find hosts on the local subnet netscli scan 192.168.1.10 -p 22,80,443 netscli inspect example.com # ping + scan + resolve netscli dns example.com # all record types netscli arp # ARP table with vendor lookup netscli interfaces
Every command that returns a result takes --json or --yaml, so results
pipe straight into jq, and the ones that return a list also take --csv and
--md.
Run netscli with no arguments for the terminal UI: slash commands with
autocomplete, command history, scrollback and /export.
Full command reference: CLI · TUI · desktop app
MCP server
{
"mcpServers": {
"netscli": {
"command": "netscli",
"args": ["serve"]
}
}
}
That form needs netscli installed. To skip the install, use npx as the
command ("command": "npx", "args": ["-y", "netscli", "serve"]), or open an
.mcpb bundle from the
latest release in a
client that supports them.
Nine tools by default: discover, scan, ping, DNS, ARP, inspect, sweep, interfaces and mDNS. Packet-capture builds add four more. Details and the full schemas are in the MCP guide.
Documentation
| Page | Covers |
|---|---|
| Overview | What it does, the interface model, safety limits |
| Installation | Every install route, per platform |
| CLI | Commands, flags, structured output |
| Terminal UI | Slash commands and session behaviour |
| Desktop app | Tabs, filters, exports |
| MCP server | Tools, schemas, agent setup |
| Interface coverage | Which capabilities each interface exposes |
| Operations | What each scan actually does |
| Result model | Shape of the JSON and YAML output |
| Packet capture | Requirements and the pcap builds |
| Core library | Using netscli-core directly |
Contributing
Issues and pull requests are welcome. Building from source, the desktop app dev loop, packet-capture builds and the repository layout are all in CONTRIBUTING.md.
License
MIT. See LICENSE.
Facts
- Kind
- MCP server
- Repo
- fstubner/netscli
- Group
- Uncategorized
- Stars
- 16
- License
- MIT
- Language
- Rust
- Last push
- 2026-10-08
- MCP Registry
- io.github.fstubner/netscli
- Homepage
- netscli.com
- Topics
- cli, mcp-server, network-scanner, port-scanner, ratatui, rust, tauri, tui, mcp, networking, packet-capture
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k