← Back to directory
P

PentestMCP

Community
Call penetration testing tools through MCP.
Category
Other #628 of 678
Stars
★ 122 Popular
Transport
stdio (local process)
Runtime
Docker
Credentials
No credential needed
Last commit
Tools
35
35FMRS · D

The README describes a Dockerized server that exposes security assessment tools to MCP clients over stdio, and lists scanning and Active Directory utilities. No server manifest was provided, so available tools, parameters, and capabilities are limited to what the README states. The README's MIT badge and license section conflict with the supplied metadata's unknown license value and should be verified separately.

Strongest · Setup experience 10/20 Weakest · Security and permissions 5/20

Reliability
6/20
Security and permissions
5/20
Maintenance
5/20
Documentation
9/20
Setup experience
10/20
Why each score
Reliability 6/20
The README describes FastMCP, stdio, a concurrency semaphore, and asynchronous launch/fetch flows for some long-running tasks, and lists tool names. However, no manifest, source code, CI, or tests are provided to verify initialization, tool schemas, or actual behavior. The README also flags possible input-validation weaknesses, so error handling and edge behavior are unsubstantiated.
Security and permissions 5/20
The README says the container runs as appuser and restricts use to authorized targets. The listed tools nevertheless include high-impact actions such as password spraying, credential checks, secrets dumping, DCSync, poisoning, and relay setup, with no per-tool scope controls, call confirmations, or credential data-flow details shown. The evidence does not establish a listed red line, but permissions and side-effect safeguards are notably incomplete.
Maintenance 5/20
The supplied metadata reports an unknown license, despite the README claiming MIT, 120 stars, 2 open issues, and that the repository is not archived. There is no evidence of releases, commit activity, issue response, dependency updates, or a security-response channel. The license uncertainty and missing maintenance record reduce the score.
Documentation 9/20
The README provides an architecture overview, Docker setup steps, Claude and VS Code configuration examples, tool categories, and an authorization warning. It omits tool parameters, authentication details, operational limits, costs, and troubleshooting, and acknowledges possible input-validation weaknesses. It is useful for initial orientation but insufficient for thorough review and safe operation.
Setup experience 10/20
The README gives a prebuilt Docker image pull command, stdio configuration examples for Claude and VS Code, and local build steps. The missing server manifest prevents verification that the image and configurations work. Docker is required, some scans need separately prepared SecLists, and ZAP tools depend on an accessible external instance, so setup still has manual and environment requirements.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Penetration testers and security assessors with written authorization.
  • Users who want to invoke Docker-packaged security utilities from an MCP client.

Not for

  • Scanning or testing targets without explicit written authorization.
  • Users seeking an embedded LLM or a setup that runs without Docker.

Required permissions

  • Docker must be installed and running; tools inside the container run as appuser.
  • Selected tools may need network access to targets; ZAP tools require a ZAP instance reachable from the container.
  • Use the tools only against systems for which you have explicit prior written authorization.

Risks and side effects

  • Scans and Active Directory tools can affect target systems, accounts, or networks; unauthorized use may be illegal.
  • Docker itself runs with host privileges; the README advises caution with tools that modify files or need elevated system access.
  • The README notes that underlying tools may remain vulnerable to crafted arguments if wrapper input handling is not robust.
  • Mapping the ZAP port can expose it to the network; restrict access with a firewall and configure a ZAP API key.

Setup

Before you start

Runtime:Docker

Install and start Docker, then pull the ramgameer/pentest-mcp:latest image. Add the provided JSON configuration under Claude Desktop's mcpServers settings and restart the application. The README also gives a stdio configuration example for VS Code Copilot Chat, while noting that the settings location may vary by agent implementation. For a local build, the README says Linux is currently the most efficient and supported environment; SecLists is optional but strongly recommended for some wordlist scans.

claude_desktop_config.json
{"mcpServers":{"pentestMCP":{"command":"docker","args":["run","--rm","-i","ramgameer/pentest-mcp:latest"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "pentestMCP": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "ramgameer/pentest-mcp:latest"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.pentestMCP]
command = "docker"
args = ["run", "--rm", "-i", "ramgameer/pentest-mcp:latest"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add pentestMCP -- docker run --rm -i ramgameer/pentest-mcp:latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that pentestMCP tools, such as run_subfinder, appear in your MCP client’s tool list. You can also request a service scan of scanme.nmap.org to confirm the server returns scan results.

Troubleshooting

  1. Confirm Docker is installed, its daemon is running, and the image named in the client configuration has been pulled.
  2. Fully restart Claude Desktop after changing its configuration, then check whether the MCP tools appear.
  3. Confirm the container can reach the target network; for ZAP tools, confirm the ZAP instance is reachable from inside the container.
  4. If Gobuster or fuzzing scans need wordlists, check whether SecLists has been installed.

Things to try

Once connected, you can ask your AI assistant things like:

  • Run a service scan on scanme.nmap.org and summarize what you find.
  • Find subdomains for example.com.
  • Run a Nuclei vulnerability scan on example.com and fetch the results.
  • Look up the WHOIS information for this domain.

Tools 35

run_subfinder read-only
Discover subdomains using Subfinder.
launch_nmap_scan read-only
Start an Nmap network scan.
fetch_nmap_results read-only
Retrieve Nmap scan results.
run_gobuster_scan read-only
Run Gobuster directory, file, or DNS brute forcing asynchronously.
check_gobuster_status read-only
Check Gobuster scan status.
launch_gofang_scan read-only
Start gofang web crawling.
fetch_gofang_results read-only
Retrieve gofang scan results.
run_harvester read-only
Run theHarvester asynchronously for OSINT collection.
Show 27 more tools
check_harvester_status read-only
Check theHarvester task status.
run_dig_tool read-only
Run DNS dig queries.
fetch_whois_data read-only
Retrieve WHOIS information.
run_curl_tool read-only
Perform HTTP interactions with cURL.
launch_nuclei_scan read-only
Start an asynchronous template-based Nuclei vulnerability scan.
fetch_nuclei_results read-only
Retrieve Nuclei scan results.
launch_arjun_scan read-only
Start an Arjun HTTP parameter discovery scan.
fetch_arjun_results read-only
Retrieve Arjun scan results.
run_searchsploit read-only
Search the local Exploit-DB database.
run_sqlmap_tool read-only
Run SQLmap SQL injection testing asynchronously.
check_sqlmap_status read-only
Check SQLmap task status.
ad_user_enum read-only
Enumerate Active Directory users.
ad_shares_enum read-only
Enumerate Active Directory shares.
ad_smb_signing_check read-only
Check SMB signing.
ad_certipy_enum read-only
Perform Active Directory enumeration with Certipy.
ad_ldap_dump read-only
Dump LDAP information.
ad_bloodhound_collect read-only
Collect BloodHound data.
ad_asreproast read-only
Perform AS-REP Roasting.
ad_kerberoast read-only
Perform Kerberoasting.
ad_password_spray read-only
Perform password spray testing.
ad_coerce_petitpotam writes
Perform PetitPotam authentication coercion testing.
ad_coerce_printerbug writes
Perform PrinterBug authentication coercion testing.
ad_responder_poison writes
Perform Responder poisoning.
ad_relay_setup writes
Set up relay operations.
ad_check_credentials read-only
Check credentials.
ad_secrets_dump read-only
Dump Active Directory secrets.
ad_dcsync read-only
Perform DCSync.

Use cases

Perform network reconnaissance and service scans on authorized targets.
Run template-based vulnerability scans and web parameter analysis.
Conduct Active Directory enumeration and security testing.

Supported clients

Claude Desktop
VS Code Copilot ChatPartial support

Listed from the project's documentation, not tested by this site.

Overview

PentestMCP is a server built with the Python MCP SDK that exposes security assessment utilities such as Nmap, Nuclei, ZAP, and SQLMap through Docker to compatible MCP clients. It does not embed or directly connect to a specific LLM. The README lists more than 20 tools for reconnaissance, vulnerability scanning, web analysis, exploitation support, and Active Directory analysis.

Similar servers

Source revision ea509c0b1b7a Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/pentestmcp.svg)](https://followmcp.com/en/servers/pentestmcp)