Claude Pentest Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Claude Pentest Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that wraps common web penetration testing tools inside a Docker container and exposes them as Claude tools — for educational use in controlled lab environments only.
| Tool | Binary | Description |
|---|---|---|
nmap_scan | nmap | Port scan, service/OS detection |
nikto_scan | nikto | Web server misconfiguration & vulnerability scan |
sqlmap_scan | sqlmap | SQL injection detection and exploitation |
dirb_scan | dirb | Web directory/file brute-force |
wpscan_scan | wpscan | WordPress vulnerability scanner |
searchsploit_query | searchsploit | ExploitDB search for known CVEs/exploits |
whois_lookup | whois | Domain/IP registration info |
dns_recon | dig | DNS record enumeration |
nc_banner_grab | netcat | Raw TCP banner grabbing |
list_tools | built-in | Show all tools and usage |
Claude Desktop
│
▼
docker/mcp-gateway (reads registry.yaml + custom.yaml)
│
▼
pentest-mcp-server (Debian + Kali tools, non-root)
│
▼
nmap / nikto / sqlmap / dirb / wpscan / searchsploit / whois / dig / ncgit clone https://github.com/YOUR_USERNAME/pentest-mcp-server.git
cd pentest-mcp-serverdocker build -t pentest-mcp-server .First build takes ~3-5 minutes — it pulls Debian slim and installs all Kali tools.
Windows (CMD):
mkdir %USERPROFILE%\.docker\mcp\catalogs
copy custom.yaml %USERPROFILE%\.docker\mcp\catalogs\custom.yamlmacOS / Linux:
mkdir -p ~/.docker/mcp/catalogs
cp custom.yaml ~/.docker/mcp/catalogs/custom.yamlOpen %USERPROFILE%\.docker\mcp\registry.yaml (Windows) or ~/.docker/mcp/registry.yaml (macOS/Linux) and add under the registry: key:
registry:
pentest:
ref: ""Open your Claude Desktop config:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonReplace or update the mcpServers section:
Windows:
{
"mcpServers": {
"MCP_DOCKER": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "//var/run/docker.sock:/var/run/docker.sock",
"-v", "C:\\Users\\YOUR_USERNAME\\.docker\\mcp:/mcp",
"docker/mcp-gateway",
"--catalog=/mcp/catalogs/docker-mcp.yaml",
"--catalog=/mcp/catalogs/custom.yaml",
"--config=/mcp/config.yaml",
"--registry=/mcp/registry.yaml",
"--tools-config=/mcp/tools.yaml",
"--transport=stdio"
],
"env": {
"LOCALAPPDATA": "C:\\Users\\YOUR_USERNAME\\AppData\\Local",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files"
}
}
}
}macOS / Linux:
{
"mcpServers": {
"MCP_DOCKER": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "/var/run/docker.sock:/var/run/docker.sock",
"-v", "/home/YOUR_USERNAME/.docker/mcp:/mcp",
"docker/mcp-gateway",
"--catalog=/mcp/catalogs/docker-mcp.yaml",
"--catalog=/mcp/catalogs/custom.yaml",
"--config=/mcp/config.yaml",
"--registry=/mcp/registry.yaml",
"--tools-config=/mcp/tools.yaml",
"--transport=stdio"
]
}
}
}Replace YOUR_USERNAME with your actual system username.Fully quit and reopen Claude Desktop. Open a new chat and type list_tools — you should see all 10 pentest tools listed.
WPScan works without a token but won't return vulnerability data for plugins/themes. To enable it:
docker mcp secret set WPSCAN_API_TOKEN="your_token_here"Ask Claude in a new chat:
Scan 192.168.56.101 for open ports
Run a full service version scan on 192.168.56.101
Run Nikto on http://192.168.56.101
Check http://192.168.56.101/login.php?id=1 for SQL injection
Brute-force directories on http://192.168.56.101
Scan the WordPress site at http://192.168.56.101/wp and enumerate plugins
Search ExploitDB for Apache 2.4 exploits
Grab the banner on port 22 of 192.168.56.101
Do a DNS lookup for example.local| Variable | Default | Description |
|---|---|---|
CMD_TIMEOUT | 300 | Max seconds for most commands |
NMAP_TIMEOUT | 120 | Max seconds for nmap specifically |
WPSCAN_API_TOKEN | (empty) | WPScan API token for vuln data |
mcpuser (uid 1000)subprocess.run()Tools not showing in Claude:
# Confirm image exists
docker images | grep pentest
# Test gateway manually (Windows)
docker run --rm -i -v //var/run/docker.sock:/var/run/docker.sock -v %USERPROFILE%\.docker\mcp:/mcp docker/mcp-gateway --catalog=/mcp/catalogs/docker-mcp.yaml --catalog=/mcp/catalogs/custom.yaml --config=/mcp/config.yaml --registry=/mcp/registry.yaml --tools-config=/mcp/tools.yaml --transport=stdioLook for pentest: (10 tools) in the output.
`docker mcp gateway run` shows 0 tools: Use the explicit docker run docker/mcp-gateway style in claude_desktop_config.json instead — the shorthand doesn't mount the Docker socket correctly on Windows.
nmap returns permission errors: The Dockerfile runs setcap on nmap. Rebuild: docker build -t pentest-mcp-server .
Build fails with 404 apt errors: Kali's rolling mirrors occasionally lag. Wait 10 minutes and retry — it's a transient mirror sync issue.
This tool is for authorized, educational use only. Only scan systems you own or have explicit written permission to test. Unauthorized scanning is illegal in most jurisdictions.
MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.