pentest-mcp-extended
Enables Docker host security auditing using docker-bench, checking against CIS benchmarks and best practices.
Provides GraphQL API analysis tools, including endpoint fingerprinting, schema introspection, and route scanning.
Offers vulnerability scanning for container images, filesystems, and Kubernetes clusters using Trivy.
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., "@pentest-mcp-extendedCheck our AWS environment for misconfigurations using Prowler."
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.
pentest-mcp-extended
An MCP server that extends kali-mcp
into three areas it doesn't cover: Cloud (AWS/Azure/GCP),
API / GraphQL / JWT, and OSINT depth. Same architecture as kali-mcp —
a Dockerized toolbox exposed over an HTTP MCP endpoint with an execute_command
escape hatch plus typed, per-technique tools — so it drops straight into the
same agent workflow and runs alongside kali-mcp.
Authorized use only. This is red-team / penetration-testing tooling. Use it exclusively against systems you own or have written permission to test (engagement scope, your own lab, or a CTF). Set
PENTEST_SCOPEand keep it accurate — network-facing tools refuse out-of-scope targets. You are responsible for staying within your authorization and the law.
What it adds
Category | MCP tools |
Cloud |
|
API / GraphQL / JWT |
|
OSINT |
|
Container / K8s |
|
K8s / escape (deep-dive) |
|
IaC / secrets / SAST |
|
Mobile (static) |
|
Binary / RE / exploit-dev |
|
Reporting |
|
Core |
|
Underlying tools: cloud_enum, ScoutSuite, Prowler, awscli · graphw00f, kiterunner, arjun, jwt_tool · theHarvester, amass, sherlock, holehe · Trivy, kube-bench, kube-hunter, docker-bench · Checkov, tfsec, gitleaks, trufflehog, Semgrep · apktool, jadx, mobsfscan · checksec, radare2, ROPgadget, pwntools.
File-based scanners (IaC, mobile, binary) read from /work — drop the target
code/APK/binary into ./work on the host.
Related MCP server: Arsenal MCP
Architecture
Agent (Claude Code / Cursor / …)
│ MCP over HTTP
▼
http://localhost:6667/mcp ── FastMCP (streamable-http)
│
▼
Kali container ── cloud / api / osint CLI toolsapp/common.py— shared FastMCP instance, command runner, scope guard.app/tools_cloud.py,tools_api.py,tools_osint.py— typed tool wrappers.app/server.py— registers modules, addsexecute_command, serves MCP.
Quick start
cp .env.example .env # set PENTEST_SCOPE to your engagement scope
docker compose up --build # builds the toolbox, serves MCP on :6667Register it with your agent (already provided in .mcp.json for Claude Code):
{ "mcpServers": { "pentest-extended": { "type": "http", "url": "http://localhost:6667/mcp" } } }Then drive a session with the bundled commands:
/pentest-ext-audit acme-lab.com # remote assessment: cloud / API / OSINT
/pentest-ext-artifacts # static analysis of files dropped in ./workRunning natively on Kali (no Docker)
On a Kali host you can install every tool and run the server directly:
./setup-kali.sh # install all tools (apt + pipx + release binaries)
./setup-kali.sh --run # install, then start the MCP server on :6667Then launch Claude Code in this directory — it auto-detects .mcp.json
(localhost:6667). Docker (above) is still the most reproducible option; the
script is the convenience path when you already live on Kali.
Starting the server by hand (not via
setup-kali.sh --run)? Set a writableREPORTS_DIR, otherwise findings default to the absolute/reportsand fail for a non-root user:REPORTS_DIR=./reports python3 -m app.server
Smoke-testing the stack
Validate the whole thing in one command on the VM:
./test.sh --docker # build + start Docker, then run all checks
./test.sh # server already running (Docker or native)
./test.sh --url http://VM-IP:6667/mcp # test a remote endpointThree layers, no external target touched: (1) offline unit check of the CVSS 3.1
remediation logic, (2) server reachability + tool inventory via
list_capabilities, (3) a safeadd_finding->generate_reportdry-run.
CI vs. host validation. GitHub CI validates our code — it compiles every
module, runs the reporting unit tests, and builds a slim image (Dockerfile.ci,
python-slim + our code) to smoke-test the live MCP server, tool registration and
report pipeline. It deliberately does not build the full Kali toolchain image
(Dockerfile) — that's too heavy for a free runner and is validated on your Kali
host instead, where ./test.sh --docker and list_capabilities confirm all 35+
tools are present.
Auditing your own cloud accounts
scoutsuite_scan / prowler_scan use the container's ambient credentials.
Mount them read-only (uncomment in docker-compose.yml) and point them at
accounts you own:
volumes:
- ${HOME}/.aws:/root/.aws:roScope enforcement
Set PENTEST_SCOPE=acme-lab.com,10.10.0.0 in .env. Any network-facing tool
called with a target outside the list returns a [scope-block] refusal instead
of running. Empty scope = tools run but append an authorization reminder.
Notes & extending
Add a tool: write a
@mcp.tool()function in the relevanttools_*.py; it's auto-registered on import.Reports (ScoutSuite/Prowler HTML) land in
./reports.Out of scope by design: victim-facing phishing kits, malware distribution, and real-world detection-evasion payloads. Lab detection/evasion for purple-team exercises belongs in your kali-mcp knowledge base.
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.
Related MCP Servers
- Flicense-qualityFmaintenanceA configurable MCP server that adapts any HTTP API into an MCP toolset with generic HTTP tools (GET, POST, PUT, DELETE) and pluggable authentication. Includes API discovery scripts and supports dynamic tool generation from OpenAPI specs or wordlist scans.
- -license-quality-maintenanceA Kali Linux-based MCP server that exposes over 45 penetration testing tools for AI-assisted security auditing and vulnerability scanning. It features strict scope enforcement, structured output parsing, and persistent finding storage to automate the offensive security workflow.
- Alicense-qualityBmaintenanceConfig-driven MCP server that exposes Kali Linux penetration testing tools to AI agents, with automatic tool discovery, man page integration, and local/remote execution modes.MIT
- Flicense-qualityBmaintenanceProduction-grade MCP server that exposes Kali Linux penetration testing tools to AI agents, enabling automated reconnaissance, web application testing, vulnerability assessment, and more.
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/RafaDiazRios/pentest-mcp-extended'
If you have feedback or need assistance with the MCP directory API, please join our Discord server