Permite que um agente de IA descubra hosts na rede, realize varreduras de portas TCP e UDP e consulte registros DNS ou mDNS.
Também conhecido como fstubner/netscli
- Stars
- 19
- Ferramentas
- —
- Downloads, 30 dias
- —
- Versão mais recente
- 0.3.4
- Último commit
- 14 de nov. de 2026
- Licença
- MIT
O que é o MCP NetsCLI?
NetsCLI é um MCP server. Permite que um agente de IA descubra hosts na rede, realize varreduras de portas TCP e UDP e consulte registros DNS ou mDNS.
Resumo gerado a partir do README do projeto
Sobre o MCP server de NetsCLI
O NetsCLI oferece um conjunto de recursos de varredura de rede projetados tanto para usuários humanos quanto para agentes de IA. Ele permite a descoberta de hosts em sub-redes locais, varredura de portas TCP e UDP e consultas detalhadas de registros DNS ou mDNS. Desenvolvedores podem integrar isso como um MCP server executando o comando netscli serve, ou usar o npx para rodá-lo sem uma instalação local.
Este servidor expõe nove ferramentas padrão, incluindo discover, scan, ping, DNS, ARP, inspect, sweep, interfaces e mDNS. Ele é construído em Rust e serve como base para um CLI, uma interface de terminal (TUI) e um aplicativo desktop. Ao usar este servidor, um cliente de IA pode interagir diretamente com dados de rede por meio de esquemas estruturados, em vez de processar saídas de terminal legíveis por humanos. Isso o torna ideal para agentes que precisam monitorar mudanças na rede ou verificar o status de portas específicas em um host.
O que você pode fazer com ele
- 1Identificar novos dispositivos de redePeça à IA para encontrar quais dispositivos entraram recentemente na sub-rede local.
- 2Verificar a disponibilidade de portas específicasSolicite uma verificação para ver se uma porta de serviço específica está aberta em um host de destino.
- 3Realizar inspeção abrangente de hostInstrua o agente a realizar ping, scan e resolver todas as informações de um domínio específico.
- 4Recuperar registros DNSPeça ao agente para consultar todos os tipos de registros disponíveis para um determinado nome de domínio.
Escrito a partir do README do projeto. Cada caso de uso é verificado com uma citação dele.
Como instalar o MCP NetsCLI
Formatos verificados em 10 nov 2026Adicionar ao CursorAdicionar ao GooseInstalar o MCP NetsCLI no Claude Code
$ claude mcp add netscli -- npx -y netscliInstalar o MCP NetsCLI no Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Instalar o MCP NetsCLI no VS Code
.vscode/mcp.json
{
"servers": {
"netscli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Instalar o MCP NetsCLI no VS Code CLI
$ code --add-mcp '{"name":"netscli","type":"stdio","command":"npx","args":["-y","netscli"]}'Instalar o MCP NetsCLI no Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Instalar o MCP NetsCLI no Codex
$ codex mcp add netscli -- npx -y netscliInstalar o MCP NetsCLI no Codex config.toml
~/.codex/config.toml
[mcp_servers.netscli] command = "npx" args = ["-y", "netscli"]
Instalar o MCP NetsCLI no Gemini CLI
$ gemini mcp add -s user netscli npx -- -y netscliInstalar o MCP NetsCLI no Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Configuração
NETSCLI_MCP_ALLOW_PUBLIC_TARGETSSet to 1 to allow targets outside your own networks. Off by default.
| Nome | Descrição | Tipo |
|---|---|---|
| NETSCLI_MCP_ALLOW_PUBLIC_TARGETS | Set to 1 to allow targets outside your own networks. Off by default. |
Verificações automatizadas
Executado em 12 de nov. de 2026Relatório completo →Passou em nossas verificações automatizadas. Isso não é uma auditoria de segurança: leia o código e dê ao servidor o acesso mais restrito de que ele precisa. Como as verificações funcionam
- Repositório de origem vinculado e acessívelPassou
- Licença de código aberto (OSI)Passou
- Commit ou release no último anoPassou
- Nome do pacote não é próximo a um pacote popularPassou
- O endpoint remoto usa HTTPSNão verificado
- Ferramentas destrutivas estão rotuladasNão verificado
- Sem instruções ocultas para o modeloPassou
- Nenhum aviso crítico no pacote ou em suas dependênciasPassou
README
Ver no 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.
Perguntas sobre o MCP NetsCLI
Como adiciono o MCP NetsCLI ao Claude Code?
Execute claude mcp add netscli -- npx -y netscli no seu terminal. Adicione --scope user para torná-lo disponível em todos os projetos.
Como adiciono o MCP NetsCLI ao Cursor?
Abra ~/.cursor/mcp.json e adicione o servidor em mcpServers, usando a configuração do Cursor mostrada na seção de instalação acima.
Quais ferramentas estão disponíveis no MCP server?
Por padrão, ele fornece nove ferramentas: discover, scan, ping, DNS, ARP, inspect, sweep, interfaces e mDNS.
Como instalo o NetsCLI no Windows?
Você pode instalar o CLI, a TUI e o MCP server usando winget install netscli, ou o aplicativo desktop usando winget install netscli-gui.
Posso usar o NetsCLI sem instalá-lo primeiro?
Sim, você pode usar o npx para rodar o servidor definindo o comando como npx e os args como -y netscli serve.