Memungkinkan AI agent untuk menemukan network host, melakukan scan port TCP dan UDP, serta melakukan query pada record DNS atau mDNS.
Juga dikenal sebagai fstubner/netscli
- Stars
- 19
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 0.3.4
- Commit terakhir
- 14 Nov 2026
- Lisensi
- MIT
Apa itu NetsCLI MCP?
NetsCLI adalah MCP server. Memungkinkan AI agent untuk menemukan network host, melakukan scan port TCP dan UDP, serta melakukan query pada record DNS atau mDNS.
Ringkasan dibuat dari README proyek
Tentang NetsCLI MCP server
NetsCLI menyediakan rangkaian kemampuan network scanning yang dirancang untuk pengguna manusia maupun AI agent. Tool ini memungkinkan discovery host pada subnet lokal, scanning port TCP dan UDP, serta query record DNS atau mDNS secara mendalam. Developer dapat mengintegrasikan ini sebagai MCP server dengan menjalankan command netscli serve, atau menggunakan npx untuk menjalankannya tanpa instalasi lokal.
Server ini mengekspos sembilan tool default termasuk discover, scan, ping, DNS, ARP, inspect, sweep, interfaces, dan mDNS. Dibangun menggunakan Rust, server ini menjadi fondasi untuk CLI, terminal UI, dan aplikasi desktop. Dengan menggunakan server ini, AI client dapat berinteraksi langsung dengan data jaringan melalui schema terstruktur alih-alih melakukan parsing pada output terminal yang dibaca manusia. Hal ini membuatnya sangat cocok untuk agent yang perlu memonitor perubahan jaringan atau memverifikasi status port tertentu pada sebuah host.
Apa yang bisa Anda lakukan dengannya
- 1Identifikasi perangkat jaringan baruMinta AI untuk menemukan perangkat mana saja yang baru saja bergabung ke subnet lokal.
- 2Verifikasi ketersediaan port tertentuMinta pengecekan untuk melihat apakah port layanan tertentu terbuka pada host target.
- 3Melakukan inspeksi host secara komprehensifInstruksikan agent untuk melakukan ping, scan, dan resolve semua informasi untuk domain tertentu.
- 4Mengambil record DNSMinta agent untuk melakukan query terhadap semua tipe record yang tersedia untuk nama domain tertentu.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal NetsCLI MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal NetsCLI MCP di Claude Code
$ claude mcp add netscli -- npx -y netscliInstal NetsCLI MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Instal NetsCLI MCP di VS Code
.vscode/mcp.json
{
"servers": {
"netscli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Instal NetsCLI MCP di VS Code CLI
$ code --add-mcp '{"name":"netscli","type":"stdio","command":"npx","args":["-y","netscli"]}'Instal NetsCLI MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Instal NetsCLI MCP di Codex
$ codex mcp add netscli -- npx -y netscliInstal NetsCLI MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.netscli] command = "npx" args = ["-y", "netscli"]
Instal NetsCLI MCP di Gemini CLI
$ gemini mcp add -s user netscli npx -- -y netscliInstal NetsCLI MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Konfigurasi
NETSCLI_MCP_ALLOW_PUBLIC_TARGETSSet to 1 to allow targets outside your own networks. Off by default.
| Nama | Deskripsi | Tipe |
|---|---|---|
| NETSCLI_MCP_ALLOW_PUBLIC_TARGETS | Set to 1 to allow targets outside your own networks. Off by default. |
Pengecekan otomatis
Berjalan 12 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)Lolos
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerLolos
- Remote endpoint menggunakan HTTPSTidak diperiksa
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaLolos
README
Lihat di GitHubA 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.
Pertanyaan tentang NetsCLI MCP
Bagaimana cara menambahkan NetsCLI MCP ke Claude Code?
Jalankan claude mcp add netscli -- npx -y netscli di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan NetsCLI MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Tool apa saja yang tersedia di MCP server ini?
Secara default, server ini menyediakan sembilan tool: discover, scan, ping, DNS, ARP, inspect, sweep, interfaces, dan mDNS.
Bagaimana cara install NetsCLI di Windows?
Anda dapat menginstall CLI, TUI, dan MCP server menggunakan winget install netscli, atau aplikasi desktop menggunakan winget install netscli-gui.
Bisakah saya menggunakan NetsCLI tanpa melakukan instalasi terlebih dahulu?
Ya, Anda bisa menggunakan npx untuk menjalankan server dengan mengatur command ke npx dan args ke -y netscli serve.