netscan MCP Server
Provides tools for scanning MongoDB instances to detect unauthenticated access and perform reconnaissance.
Provides tools for scanning MySQL servers to enumerate databases and check for vulnerabilities.
Provides tools for scanning Redis servers to identify unauthenticated instances and gather information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@netscan MCP ServerLaunch a ping scan on 192.168.1.0/24 with 300 workers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 workingPython 3.12+
Claude Desktop
Related MCP server: defined-mcp
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.txt2. Run MCP Server
Run the following command to start the MCP server
.venv/bin/python server.py3. 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 |
|
| Path to the netscan binary |
|
| Max seconds per scan |
|
| 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 workersScan ports 22, 80, 443, 8080 on the hosts in /tmp/ips.txtEnumerate SMB shares on 10.0.0.0/24 with a null sessionRun an AD scan on 10.0.0.1, dump users and check for kerberoastable accounts
domain: corp.local user: jdoe password: P@ssw0rdScan for unauthenticated Redis and MongoDB instances on 10.0.0.0/16
Other example :


Available scanners
Category | Tools |
Discovery |
|
Remote access |
|
Windows / AD |
|
Web |
|
DNS |
|
Databases |
|
Network services |
|
History
Every command and its output is automatically logged.
show me the last 5 scansclear the scan historyLog 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)This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/elweth-sec/netscan-mcpserver'
If you have feedback or need assistance with the MCP directory API, please join our Discord server