netscan MCP Server
MCP server that enables Claude to perform network scans using netscan, supporting discovery, remote access, Windows/AD, web, DNS, database, and network service scanners via natural language commands.
README
netscan MCP Server
MCP server wrapping netscan — connect Claude to your network scanning toolkit and launch scans via natural language.
Requirements
- netscan (branch:
dev) installed and working - Python 3.12+
- Claude Desktop
Install
1. Clone and set up the virtual environment
git clone https://github.com/elweth-sec/netscan-mcpserver
cd netscan-mcpserver
python3.12 -m venv .venv
.venv/bin/pip install -r requirements.txt
2. Run MCP Server
Run the following command to start the MCP server
.venv/bin/python server.py
3. Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json :
{
"mcpServers": {
"netscan": {
"command": "/path/to/netscan-mcpserver/.venv/bin/python",
"args": ["/path/to/netscan-mcpserver/server.py"],
"env": {
"NETSCAN_PATH": "/path/to/netscan/netscan",
"NETSCAN_SCAN_TIMEOUT": "600",
"NETSCAN_HISTORY_FILE": "/tmp/netscan_history.log"
}
}
}
}
| Variable | Default | Description |
|---|---|---|
NETSCAN_PATH |
netscan |
Path to the netscan binary |
NETSCAN_SCAN_TIMEOUT |
600 |
Max seconds per scan |
NETSCAN_HISTORY_FILE |
~/.netscan_history.log |
Command history log |
4. Restart Claude Desktop
The netscan tools appear in the "Settings" menu :

Usage
Just describe what you want to do. Claude picks the right tool and parameters automatically.
Launch a ping scan on 192.168.1.0/24 with 300 workers
Scan ports 22, 80, 443, 8080 on the hosts in /tmp/ips.txt
Enumerate SMB shares on 10.0.0.0/24 with a null session
Run an AD scan on 10.0.0.1, dump users and check for kerberoastable accounts
domain: corp.local user: jdoe password: P@ssw0rd
Scan for unauthenticated Redis and MongoDB instances on 10.0.0.0/16

Other example :


Available scanners
| Category | Tools |
|---|---|
| Discovery | pingscan, portscan |
| Remote access | sshscan, rdpscan, vncscan, telnetscan, winrmscan |
| Windows / AD | smbscan, adscan |
| Web | httpscan, tlsscan |
| DNS | dnsscan |
| Databases | mysqlscan, mssqlscan, postgrescan, mongoscan, redisscan |
| Network services | snmpscan, ftpscan, rsyncscan, rpcscan, rtspscan, jdwpscan |
History
Every command and its output is automatically logged.
show me the last 5 scans
clear the scan history
Log format:
────────────────────────────────────────────────────────────────────────
[2026-02-25 21:45:12] exit 0
CMD: netscan pingscan 192.168.1.0/24 -w 300 --nodb
────────────────────────────────────────────────────────────────────────
192.168.1.1 - alive
192.168.1.10 - alive
192.168.1.254 - alive

Add a new scanner
Drop a file in netscan/scanners/ — it's picked up automatically on next start.
# netscan/scanners/myscanner.py
from typing import Optional
from netscan import mcp
from netscan.core import add_common, add_targets, base_cmd, run
@mcp.tool()
async def myscanner(targets: Optional[str] = None, ...) -> str:
"""Description shown to Claude."""
c = base_cmd("myscanner")
add_targets(c, targets, target_file)
add_common(c, workers, timeout, delay, resume, nodb)
return await run(c)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。