AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Pentest

mcp-allsmog-mcp-pentest · by allsmog

MCP server for authorized pentest workflows: Nmap/Gobuster orchestration, context aggregation, AI-assisted triage, and reporting.

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add mcp-allsmog-mcp-pentest

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-allsmog-mcp-pentest)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Pentest? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

mcp-pentest

Authorized penetration-testing MCP server for AI-assisted security operators. It orchestrates common assessment tools, normalizes engagement context, and keeps the human pentester in control of scope, methodology, and reporting.

[](https://mseep.ai/app/allsmog-mcp-pentest)

An AI-driven assistant and middleware for penetration testing engagements

[](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](https://www.docker.com/) [](https://github.com/allsmog/mcp-pentest/releases/tag/v0.1.0)

At a glance

| Area | What mcp-pentest provides | | --- | --- | | MCP surface | Local stdio server that exposes pentest tools to compatible AI clients | | Tooling | Nmap, Gobuster, and extensible integrations for authorized assessments | | Workflow | Reconnaissance, scanning, exploitation support, post-exploitation notes, and reporting | | Output | Normalized scan events, engagement context, findings, and report-ready notes | | Safety | Built for legal testing with explicit authorization and human operator control |

Status

mcp-pentest is in alpha and under active development. Contributors are welcome for new tool integrations, UI/UX, documentation, testing, and reporting workflows. See [CONTRIBUTING.md](CONTRIBUTING.md) for how to get started.

🔍 Overview

The Model Context Provider (MCP) is an open-source framework that bridges AI with penetration testing tools. MCP interfaces with a wide array of pentesting tools, parses and enriches their output in real-time, and strictly follows the standard penetration testing process. It guides human pentesters through each phase – from reconnaissance and scanning to exploitation, post-exploitation, and reporting – aligning with established methodologies.

> ⚠️ Disclaimer: This tool is intended for legal security testing with proper authorization. Misuse of this software for unauthorized access to systems is illegal and unethical.

✨ Key Features

  • Methodology Enforcement: Ensures each engagement progresses through proper phases (reconnaissance → scanning → exploitation → post-exploitation → reporting) in order.
  • Real-time Context Aggregation: Captures tool outputs, normalizes the data into a unified engagement context, and stores it for analysis.
  • LLM-Powered Insights: Leverages a large language model to interpret findings and provide guidance during the engagement.
  • Seamless Tool Integration: Acts as a middleware layer that hooks into major pentest tools, converting their results into a common event format.
  • Secure Data Handling: Enforces strict security on processed data, including sanitization when interacting with the LLM.
  • Reporting and Knowledge Retention: Logs all findings and actions in a structured format for report generation.

🏗️ Architecture

MCP is built on a microservices-based, event-driven system deployed in a containerized environment:

  • Core Context Processing Engine: Central brain that aggregates and normalizes data from all tools
  • AI-Powered Attack Path Analyzer: Identifies potential attack paths and prioritizes targets
  • Plugin-Based Integration Framework: Extensible system for interfacing with external tools
  • Secure Logging & Reporting Module: Maintains engagement logs and produces reports
  • Real-Time LLM Query Interface: Provides natural language interface for querying findings
  • Role-Based Access Control: Enforces security across all operations

🧰 Integrated Tools

MCP currently integrates with the following tools:

Network Scanning & Enumeration

  • Nmap: Network discovery and security auditing
  • Masscan: High-speed port scanner

Web Enumeration

  • Gobuster: Directory and file brute forcing
  • Nikto: Web server scanner for vulnerabilities

Exploitation & Post-Exploitation

Password Attacks

Privilege Escalation

  • LinPEAS: Linux Privilege Escalation enumeration script

🚀 Getting Started

Prerequisites

  • Python 3.8+
  • Nmap (for network scanning)
  • Gobuster (for web enumeration)
  • Proper authorizations and scope definitions for penetration testing

Installation

  1. Clone this repository:
git clone https://github.com/allsmog/mcp-pentest.git
cd mcp-pentest
  1. Install the MCP server:
pip install -e .
  1. Install required dependencies:
pip install mcp

Testing with Claude Desktop

  1. Add this MCP server to your Claude Desktop configuration. Edit your claude_desktop_config.json:
{
  "mcpServers": {
    "mcp-pentest": {
      "command": "python",
      "args": ["/path/to/mcp-pentest/server.py"],
      "env": {}
    }
  }
}
  1. Restart Claude Desktop
  1. You should now see the penetration testing tools available in Claude Desktop. Try commands like:
  • "Run an nmap scan on 127.0.0.1"
  • "Perform a gobuster directory scan on https://httpbin.org"
  • "Show me the latest scan events"

Manual Testing

You can also test the server directly:

# Run the MCP server
python server.py

# The server will communicate via stdio using the MCP protocol

See our [documentation](docs/API_SPECIFICATION.md) for complete API references and examples.

📋 Project Roadmap

Here's what we're currently working on:

  • [ ] Completing core Context Engine implementation
  • [ ] Finishing initial tool integrations
  • [ ] Building the AI-powered attack path analyzer
  • [ ] Developing the web UI
  • [ ] Creating comprehensive test suite
  • [ ] Adding additional tool integrations
  • [ ] Implementing report generation

We welcome contributions to any of these areas!

🤝 Contributing

Contributions are welcome and appreciated! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

How You Can Help

We're particularly looking for help with:

  1. Tool Integrations: Adding support for more security tools
  2. Testing: Real-world testing and bug reporting
  3. Documentation: Improving and expanding guides
  4. UI Development: Building the web interface
  5. AI Components: Enhancing LLM integration and attack path analysis

Adding New Tool Integrations

We especially welcome contributions for new tool integrations. See our [Tool Integration Guide](docs/TOOL_INTEGRATION.md) for how to add support for additional tools.

💬 Community

  • Issues: Use GitHub issues for bug reports and feature requests
  • Discussions: GitHub discussions for general questions and ideas

📜 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

🔐 Security Considerations

Given the nature of this tool, please be especially mindful of security:

  • Never commit credentials, API keys, or sensitive information
  • Always follow responsible disclosure practices
  • Ensure proper authorization before testing any systems

📚 Documentation

  • [API Reference](docs/API_SPECIFICATION.md)
  • [Architecture Guide](docs/ARCHITECTURE.md)
  • [Tool Integration Guide](docs/TOOL_INTEGRATION.md)
  • [Deployment Guide](docs/DEPLOYMENT.md)

🙏 Acknowledgments

  • Thanks to all the open-source penetration testing tools this project builds upon
  • Special recognition to the security researchers and tool developers who inspire this work

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.