AI 에이전트가 네트워크 호스트를 탐색하고 TCP 및 UDP 포트를 스캔하며, DNS 또는 mDNS 레코드를 조회할 수 있도록 합니다.
다른 이름 fstubner/netscli
- 스타
- 19
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.3.4
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- MIT
NetsCLI MCP란?
NetsCLI은(는) MCP server입니다. AI 에이전트가 네트워크 호스트를 탐색하고 TCP 및 UDP 포트를 스캔하며, DNS 또는 mDNS 레코드를 조회할 수 있도록 합니다.
프로젝트 README에서 생성된 요약
NetsCLI MCP server 정보
NetsCLI는 사람과 AI 에이전트 모두를 위해 설계된 네트워크 스캔 기능 모음을 제공합니다. 로컬 서브넷의 호스트 탐색, TCP 및 UDP 포트 스캔, 상세한 DNS 또는 mDNS 레코드 조회가 가능합니다. 개발자는 netscli serve 명령어를 실행하여 이를 MCP server로 통합하거나, npx를 사용하여 로컬 설치 없이 실행할 수 있습니다.
이 server는 discover, scan, ping, DNS, ARP, inspect, sweep, interfaces, mDNS를 포함한 9가지 기본 도구를 노출합니다. Rust로 구축되었으며 CLI, 터미널 UI, 데스크톱 애플리케이션의 기반 역할을 합니다. 이 server를 사용하면 AI 클라이언트가 사람이 읽기 쉬운 터미널 출력을 파싱하는 대신 구조화된 스키마를 통해 네트워크 데이터와 직접 상호작용할 수 있습니다. 따라서 네트워크 변경 사항을 모니터링하거나 호스트의 특정 포트 상태를 확인해야 하는 에이전트에 적합합니다.
활용 사례
- 1새로운 네트워크 장치 식별로컬 서브넷에 최근 접속한 장치가 무엇인지 AI에게 요청합니다.
- 2특정 포트 가용성 확인대상 호스트의 특정 서비스 포트가 열려 있는지 확인하도록 요청합니다.
- 3포괄적인 호스트 검사 수행에이전트에게 특정 도메인에 대한 ping, scan 및 모든 정보 조회를 지시합니다.
- 4DNS 레코드 조회에이전트가 주어진 도메인 이름에 대해 사용 가능한 모든 레코드 유형을 조회하도록 합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
NetsCLI MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 NetsCLI MCP 설치
$ claude mcp add netscli -- npx -y netscliCursor에 NetsCLI MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}VS Code에 NetsCLI MCP 설치
.vscode/mcp.json
{
"servers": {
"netscli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}VS Code CLI에 NetsCLI MCP 설치
$ code --add-mcp '{"name":"netscli","type":"stdio","command":"npx","args":["-y","netscli"]}'Claude Desktop에 NetsCLI MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}Codex에 NetsCLI MCP 설치
$ codex mcp add netscli -- npx -y netscliCodex config.toml에 NetsCLI MCP 설치
~/.codex/config.toml
[mcp_servers.netscli] command = "npx" args = ["-y", "netscli"]
Gemini CLI에 NetsCLI MCP 설치
$ gemini mcp add -s user netscli npx -- -y netscliGemini settings.json에 NetsCLI MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"netscli": {
"command": "npx",
"args": [
"-y",
"netscli"
]
}
}
}구성
NETSCLI_MCP_ALLOW_PUBLIC_TARGETSSet to 1 to allow targets outside your own networks. Off by default.
| 이름 | 설명 | 유형 |
|---|---|---|
| NETSCLI_MCP_ALLOW_PUBLIC_TARGETS | Set to 1 to allow targets outside your own networks. Off by default. |
자동 검사
2026년 11월 12일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음통과
- 원격 엔드포인트가 HTTPS 사용검사되지 않음
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음통과
README
GitHub에서 보기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 질문
NetsCLI MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add netscli -- npx -y netscli를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
NetsCLI MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
MCP server에서 사용할 수 있는 도구는 무엇인가요?
기본적으로 discover, scan, ping, DNS, ARP, inspect, sweep, interfaces, mDNS 등 9가지 도구를 제공합니다.
Windows에서 NetsCLI를 어떻게 설치하나요?
winget install netscli 명령어로 CLI, TUI, MCP server를 설치하거나, winget install netscli-gui 명령어로 데스크톱 앱을 설치할 수 있습니다.
NetsCLI를 설치하지 않고 사용할 수 있나요?
네, command를 npx로, args를 -y netscli serve로 설정하여 npx로 서버를 실행할 수 있습니다.