Bir AI agent'ın ağ ana bilgisayarlarını keşfetmesine, TCP ve UDP portlarını taramasına ve DNS veya mDNS kayıtlarını sorgulamasına olanak tanır.
Ayrıca bilinen adı fstubner/netscli
- Yıldızlar
- 19
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- 0.3.4
- Son commit
- 14 Kas 2026
- Lisans
- MIT
NetsCLI MCP nedir?
NetsCLI bir MCP sunucusudur. Bir AI agent'ın ağ ana bilgisayarlarını keşfetmesine, TCP ve UDP portlarını taramasına ve DNS veya mDNS kayıtlarını sorgulamasına olanak tanır.
Özet, projenin README dosyasından oluşturuldu
NetsCLI MCP sunucusu hakkında
NetsCLI, hem insan kullanıcılar hem de AI agent'lar için tasarlanmış bir ağ tarama yetenekleri paketi sunar. Yerel alt ağlarda host keşfi, TCP ve UDP port tarama ile ayrıntılı DNS veya mDNS kayıt sorgulamalarına olanak tanır. Geliştiriciler, netscli serve komutunu çalıştırarak bunu bir MCP server olarak entegre edebilir veya yerel kurulum yapmadan çalıştırmak için npx kullanabilir.
Bu server; discover, scan, ping, DNS, ARP, inspect, sweep, interfaces ve mDNS dahil olmak üzere dokuz varsayılan araç sunar. Rust ile geliştirilmiştir ve bir CLI, terminal UI ve masaüstü uygulamasının temelini oluşturur. Bu server'ı kullanarak bir AI istemcisi, insan tarafından okunabilir terminal çıktılarını ayrıştırmak yerine yapılandırılmış şemalar aracılığıyla ağ verileriyle doğrudan etkileşime girebilir. Bu da onu ağ değişikliklerini izlemesi veya bir host üzerindeki belirli port durumlarını doğrulaması gereken agent'lar için uygun hale getirir.
Neler yapabilirsiniz
- 1Yeni ağ cihazlarını tanımlamaAI'dan yerel alt ağa yakın zamanda hangi cihazların katıldığını bulmasını isteyin.
- 2Belirli port kullanılabilirliğini doğrulamaHedef bir host üzerinde belirli bir servis portunun açık olup olmadığını kontrol etmesini talep edin.
- 3Kapsamlı host incelemesi yapmaAgent'a belirli bir alan adı için ping atmasını, tarama yapmasını ve tüm bilgileri çözümlemesini talimat verin.
- 4DNS kayıtlarını almaAgent'ın belirli bir alan adı için mevcut tüm kayıt türlerini sorgulamasını sağlayın.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
NetsCLI MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıCursor'a ekleGoose'a ekleNetsCLI MCP'yi Claude Code içine yükleyin
$ claude mcp add netscli -- npx -y netscliNetsCLI MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}NetsCLI MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"netscli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}NetsCLI MCP'yi VS Code CLI içine yükleyin
$ code --add-mcp '{"name":"netscli","type":"stdio","command":"npx","args":["-y","netscli"]}'NetsCLI MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}NetsCLI MCP'yi Codex içine yükleyin
$ codex mcp add netscli -- npx -y netscliNetsCLI MCP'yi Codex config.toml içine yükleyin
~/.codex/config.toml
[mcp_servers.netscli] command = "npx" args = ["-y", "netscli"]
NetsCLI MCP'yi Gemini CLI içine yükleyin
$ gemini mcp add -s user netscli npx -- -y netscliNetsCLI MCP'yi Gemini settings.json içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Yapılandırma
NETSCLI_MCP_ALLOW_PUBLIC_TARGETSSet to 1 to allow targets outside your own networks. Off by default.
| Ad | Açıklama | Sunucu |
|---|---|---|
| NETSCLI_MCP_ALLOW_PUBLIC_TARGETS | Set to 1 to allow targets outside your own networks. Off by default. |
Otomatik kontroller
Çalıştırıldı 12 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirGeçti
- Açık kaynak lisansı (OSI)Geçti
- Son bir yıl içinde commit veya sürüm mevcutGeçti
- Paket adı popüler bir pakete yakın değilGeçti
- Uzak uç nokta HTTPS kullanıyorKontrol edilmedi
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Modele yönelik gizli talimat yokGeçti
- Pakette veya bağımlılıklarında kritik uyarı yokGeçti
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.
NetsCLI MCP soruları
NetsCLI MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add netscli -- npx -y netscli komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
NetsCLI MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
MCP server içinde hangi araçlar mevcuttur?
Varsayılan olarak dokuz araç sağlar: discover, scan, ping, DNS, ARP, inspect, sweep, interfaces ve mDNS.
NetsCLI'yi Windows'a nasıl kurarım?
CLI, TUI ve MCP server'ı winget install netscli komutuyla, masaüstü uygulamasını ise winget install netscli-gui komutuyla kurabilirsiniz.
NetsCLI'yi önce kurmadan kullanabilir miyim?
Evet, komutu npx ve argümanları -y netscli serve olarak ayarlayarak sunucuyu çalıştırmak için npx kullanabilirsiniz.