Offensive Security MCP Server
Click on "Deploy 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., "@Offensive Security MCP ServerCreate an engagement for Client-X and add example.test to scope."
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.
Offensive Security MCP Server
A professional-grade MCP server that provides an AI agent with structured, safe, and authorized penetration testing capabilities.
Features
Engagement Management: Track assessments, authorization, and status.
Strict Scope Engine: Validate targets against domains, IPs, CIDRs, and wildcards.
Policy-Driven Execution: Enforce risk levels (Passive $\rightarrow$ Safe $\rightarrow$ Intrusive $\rightarrow$ Destructive).
Controlled Executor: Safe subprocess management with timeouts and scope validation.
Tool Integration: Orchestrates industry-standard tools like Nmap, Nuclei, and Subfinder.
Finding Correlation: (Phase 5+) Merge results from multiple tools into validated findings.
Related MCP server: BugBounty MCP Server
Installation
Prerequisites
Python 3.10+
Security tools installed in PATH (Nmap, Nuclei, etc.)
Setup
Clone the repository.
Create a virtual environment:
python -m venv .venv source .venv/bin/activate # Linux/macOS .venv\Scripts\activate # WindowsInstall dependencies:
pip install .Copy
.env.exampleto.envand configure your database path.
Connecting to OpenCode
Add the following to your MCP configuration:
{
"mcpServers": {
"offsec-mcp": {
"command": "python",
"args": ["D:/offsec-mcp/src/server.py"],
"env": {
"PYTHONPATH": "D:/offsec-mcp/src"
}
}
}
}Usage Example
Create Engagement:
engagement_create(name="Client-X-Web-Assessment", authorization_confirmed=true)Set Scope:
scope_add(target="example.test", entry_type="domain")Verify Scope:
scope_check(target="sub.example.test")Check Tools:
tool_status()
This server cannot be deployed
Maintenance
Related MCP Connectors
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
Agent-native security, trust, reliability, data and procurement tools for AI workflows.
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAI-powered cybersecurity automation platform with 150+ security tools and 12+ autonomous AI agents for penetration testing, vulnerability assessment, and bug bounty hunting. Enables comprehensive security testing through intelligent tool selection and automated workflows.2-
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive security testing and penetration testing through natural language conversations with 92+ tools for reconnaissance, vulnerability assessment, web application testing, OSINT, and reporting. Designed for authorized bug bounty hunting and security assessments.43MIT
- AlicenseCqualityDmaintenanceAn automated penetration testing framework that enables intelligent security assessments through reconnaissance, vulnerability scanning, and controlled exploitation. Features AI-driven workflow management with comprehensive reporting for authorized security testing.252787BSD 3-Clause
- AlicenseNot gradedqualityDmaintenanceIntegrates 7 security tools (nmap, nuclei, dirsearch, sqlmap, hydra, Acunetix, Metasploit) via MCP protocol for AI-assisted penetration testing with enterprise-grade safety features.1MIT