Ermöglicht es einem AI Agent, Netzwerk-Hosts zu entdecken, TCP- und UDP-Ports zu scannen sowie DNS- oder mDNS-Records abzufragen.
Auch bekannt als fstubner/netscli
- Stars
- 19
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- 0.3.4
- Letzter Commit
- 14. Nov. 2026
- Lizenz
- MIT
Was ist NetsCLI MCP?
NetsCLI ist ein MCP server. Ermöglicht es einem AI Agent, Netzwerk-Hosts zu entdecken, TCP- und UDP-Ports zu scannen sowie DNS- oder mDNS-Records abzufragen.
Zusammenfassung generiert aus dem README des Projekts
Über NetsCLI MCP server
NetsCLI bietet eine Suite von Netzwerk-Scanning-Funktionen, die sowohl für menschliche Nutzer als auch für AI Agents entwickelt wurden. Es ermöglicht die Host-Discovery in lokalen Subnetzen, TCP- und UDP-Port-Scanning sowie detaillierte Abfragen von DNS- oder mDNS-Records. Entwickler können dies als MCP server integrieren, indem sie den Befehl netscli serve ausführen, oder npx nutzen, um es ohne lokale Installation zu starten.
Dieser Server stellt neun Standard-Tools bereit, darunter discover, scan, ping, DNS, ARP, inspect, sweep, interfaces und mDNS. Er ist in Rust geschrieben und dient als Basis für ein CLI, ein Terminal UI und eine Desktop-App. Durch die Nutzung dieses Servers kann ein AI Client direkt über strukturierte Schemas mit Netzwerkdaten interagieren, anstatt menschenlesbare Terminal-Ausgaben parsen zu müssen. Das macht ihn ideal für Agents, die Netzwerkänderungen überwachen oder den Status spezifischer Ports auf einem Host verifizieren müssen.
Was du damit machen kannst
- 1Neue Netzwerkgeräte identifizierenFrag die AI, welche Geräte kürzlich dem lokalen Subnetz beigetreten sind.
- 2Verfügbarkeit spezifischer Ports prüfenFordere eine Prüfung an, um zu sehen, ob ein bestimmter Service-Port auf einem Ziel-Host offen ist.
- 3Umfassende Host-Inspektion durchführenAnweise den Agent, einen Ping auszuführen, zu scannen und alle Informationen für eine spezifische Domain aufzulösen.
- 4DNS-Records abrufenLass den Agent alle verfügbaren Record-Typen für einen gegebenen Domainnamen abfragen.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du NetsCLI MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügenNetsCLI MCP in Claude Code installieren
$ claude mcp add netscli -- npx -y netscliNetsCLI MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}NetsCLI MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"netscli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}NetsCLI MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"netscli","type":"stdio","command":"npx","args":["-y","netscli"]}'NetsCLI MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}NetsCLI MCP in Codex installieren
$ codex mcp add netscli -- npx -y netscliNetsCLI MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.netscli] command = "npx" args = ["-y", "netscli"]
NetsCLI MCP in Gemini CLI installieren
$ gemini mcp add -s user netscli npx -- -y netscliNetsCLI MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Konfiguration
NETSCLI_MCP_ALLOW_PUBLIC_TARGETSSet to 1 to allow targets outside your own networks. Off by default.
| Name | Beschreibung | Typ |
|---|---|---|
| NETSCLI_MCP_ALLOW_PUBLIC_TARGETS | Set to 1 to allow targets outside your own networks. Off by default. |
Automatisierte Checks
Geluften am 12. Nov. 2026Vollständiger Bericht →Unsere automatisierten Checks bestanden. Das ist kein Security-Audit: Lies den Code und gib dem Server nur den minimal notwendigen Zugriff. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbarBestanden
- Open Source Lizenz (OSI)Bestanden
- Commit oder Release im letzten JahrBestanden
- Package-Name ähnelt keinem populären PackageBestanden
- Remote Endpoint nutzt HTTPSNicht geprüft
- Destruktive Tools sind markiertNicht geprüft
- Keine versteckten Anweisungen an das ModellBestanden
- Keine kritischen Advisories im Paket oder seinen AbhängigkeitenBestanden
README
Auf GitHub ansehenA 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.
NetsCLI MCP Fragen
Wie füge ich NetsCLI MCP zu Claude Code hinzu?
Führe claude mcp add netscli -- npx -y netscli in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich NetsCLI MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Welche Tools sind im MCP server verfügbar?
Standardmäßig werden neun Tools bereitgestellt: discover, scan, ping, DNS, ARP, inspect, sweep, interfaces und mDNS.
Wie installiere ich NetsCLI unter Windows?
Du kannst das CLI, das TUI und den MCP server über winget install netscli installieren, oder die Desktop-App über winget install netscli-gui.
Kann ich NetsCLI nutzen, ohne es vorher zu installieren?
Ja, du kannst npx verwenden, um den Server zu starten, indem du den Befehl auf npx und die args auf -y netscli serve setzt.