cybermes-mcp
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., "@cybermes-mcpAssess https://example.com for vulnerabilities and generate a report."
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.
Cybermes
Autonomous Offensive Security & Bug Bounty Automation Framework
Installation • Architecture • Why Cybermes? • Features • Workspace Structure • Toolchain • Documentation
Installation & Setup
Cybermes can be used directly through your AI assistant via Model Context Protocol (MCP) or executed as a standalone CLI / pipeline.
1. MCP Server Installation (Recommended for AI Workflows)
Cybermes includes a high-performance native Go MCP server (cybermes-mcp) that exposes 10+ security tools and context providers directly to AI coding environments (Google Antigravity / Gemini, Kilo Code, Cursor, Claude Desktop, Windsurf, Cline, Roo Code, OpenCode, Claude Code CLI, Continue.dev, Zed, Hermes, and Codex).
Universal Auto-Installer (1-Click)
# Auto-detect and configure all installed AI clients
npx -y cybermes-mcp install
# Install ONLY to specific AI providers:
npx -y cybermes-mcp install --kilo
npx -y cybermes-mcp install --gemini --cursorGlobal Installation (No NPX Startup Latency)
npm install -g cybermes-mcp
cybermes-mcp install --globalLocal Interactive MCP Manager & Optimizer
# Windows
.\mcp.bat # or .\mcp.ps1
# Linux / macOS
./mcp.sh # or python3 scripts/mcp.pyManual Client Configuration
To manually register the MCP server in your client configuration (mcpServers section):
{
"mcpServers": {
"cybermes": {
"command": "npx",
"args": ["-y", "cybermes-mcp"]
}
}
}For client-specific paths, direct flags (
--kilo,--gemini,--global,--dry-run), and native binary setup, see the MCP Integration Guide.
2. Standalone CLI Installation
If you plan to run Cybermes directly from the terminal or in headless CI/CD pipelines:
Windows (Native PowerShell)
# Clone repository and execute installer
git clone https://github.com/Zyrexnn/Cybermes.git
cd Cybermes
.\setup_windows.ps1
# Configure environment variables and API keys
notepad .env(For WSL2 or manual setups, refer to the Windows Installation Guide)
Linux / macOS
# Clone repository and execute installer
git clone https://github.com/Zyrexnn/Cybermes.git
cd Cybermes
./setup.sh
# Configure environment variables and API keys
nano .envDocker Container
git clone https://github.com/Zyrexnn/Cybermes.git && cd Cybermes
cp .env.example .env && nano .env
docker compose up -d3. Environment Health Check
Verify system dependencies, path bindings, and tool integrity:
# Run environment diagnostics
python tools/doctor.py
# Automatically resolve and repair missing components
python tools/doctor.py --fix4. Running an Assessment
# Linux / macOS
./cybermes "Assess https://example.com"
# Windows
.\cybermes.bat "Assess https://example.com"
# Docker
docker compose exec cybermes cybermes "Assess https://example.com"Local Testing: Run the included mock vulnerable application in
examples/:python examples/mock_vulnerable_app.py # Starts mock app on http://127.0.0.1:8888 ./cybermes "Assess http://127.0.0.1:8888"
Related MCP server: apex
Architecture & Operational Pipeline
Cybermes provides two distinct operational workflows tailored to different execution environments:
Autonomous Hermes CLI Workflow: Fully autonomous terminal/headless execution where the local Hermes engine reasons, spawns subprocesses, filters streaming outputs via
smart_pipe, and executes validation loops directly on the OS.Model Context Protocol (MCP) Server Workflow: Client-Server architecture exposing 10+ high-performance native Go tools and 200+ security SOPs over JSON-RPC 2.0 stdio to external AI coding assistants and IDEs (Gemini/Antigravity, Claude Desktop, Cursor, Windsurf, Cline, Roo Code).
1. 🤖 Autonomous Hermes CLI Workflow
The standalone CLI mode utilizes the built-in Hermes Agent engine (hermes.exe / cybermes) as an autonomous reasoning brain. The operator provides a target prompt, and Hermes autonomously maps the attack surface, invokes CLI binaries, filters outputs through smart_pipe to prevent LLM context saturation, verifies hypotheses with standalone PoC scripts, and produces executive reports.
Hermes CLI Execution Flow:
flowchart LR
subgraph P1["1. Scope & Recon"]
direction TB
A([CLI Input]) --> B[Hermes Agent]
B --> C[Recon Tools]
C --> D[smart_pipe Filter]
end
subgraph P2["2. Skill & Validation Gate"]
direction TB
D --> E[Knowledge & SOPs]
E --> F[Validation Gate]
F --> G[Run PoC Script]
end
subgraph P3["3. Deliverables"]
direction TB
G --> H[reports/ Workspace]
H --> I([Executive Reports])
end
P1 ==> P2 ==> P3Hermes Pipeline Stages:
Target Ingestion & Scope Validation: Operator issues a single CLI prompt. Hermes resolves domain boundaries and initializes target workspace directories (
recon/<TARGET_SLUG>/andreports/<TARGET_SLUG>/).Autonomous Toolchain Orchestration: Hermes spawns external reconnaissance tools (
subfinder,httpx,katana,ffuf) in sequence.High-Speed Stream Filtering (
smart_pipe): Raw outputs are archived to disk inrecon/whilesmart_pipestreams only relevant endpoints, HTTP status codes, and leaked secrets into Hermes' context window.Hypothesis & Skill Retrieval: Hermes queries the offline database (
search_knowledge) and loads relevant offensive playbooks fromskills/.Deterministic PoC Validation Gate: Hermes writes and executes a non-destructive script (
pocs/poc_<vuln>.py), capturing raw HTTP request/response evidence.Report Compilation: Calls native Go
aggregate_reportsandgenerate_pdf.pyto compileSUMMARY.md,metadata.json, interactivereport.html, andREPORT_<target>.pdf.
2. 🔌 Cybermes MCP Server Workflow
In the MCP workflow, Cybermes operates as a native JSON-RPC 2.0 server (cybermes-mcp) providing specialized security tools, prompts, and context providers directly to external AI assistants and IDEs (Cursor, Antigravity / Gemini, Claude, Windsurf, VS Code / Cline). The external model acts as the reasoning engine while Cybermes handles high-speed tool execution, local knowledge lookups, and reporting.
MCP Protocol Execution Flow:
flowchart LR
Client([AI Editor / IDE]) <-->|JSON-RPC 2.0 stdio| MCP[Cybermes MCP: cybermes-mcp]
subgraph Tools["Modular Capabilities"]
direction TB
T1[Recon & Probing]
T2[200+ SOPs & Knowledge]
T3[Secrets & Nuclei Scan]
T4[Findings & Evidence]
end
MCP <--> Tools
Tools --> Out[(reports/SLUG/ Deliverables)]MCP Tooling & Interaction Lifecycle:
Handshake & Discovery: AI Client starts
cybermes-mcpvia stdio and discovers exposed tools, schemas, and resource templates.Environment & Scope Assessment: The AI invokes
cybermes_validate_scopeandcybermes_check_environmentto inspect target authorization and system tool health.Structured Recon & Secret Mining: AI executes
cybermes_recon_crawl,cybermes_http_probe, orcybermes_scan_secrets. The MCP server executes compiled routines and returns clean, structured JSON results without context bloat.On-Demand Playbook & Exploit Lookup: When a vulnerability vector is identified, the AI calls
cybermes_search_knowledgeandcybermes_get_skillto retrieve targeted exploitation steps in sub-50ms.Deterministic Evidence Recording & Aggregation: AI logs verified findings with
cybermes_record_finding/cybermes_record_evidenceand compiles target deliverables viacybermes_aggregate_report.
3. ⚖️ Hermes CLI vs. Cybermes MCP Comparison
Feature / Dimension | 🤖 Hermes CLI Workflow | 🔌 Cybermes MCP Workflow |
Primary Interface | Terminal / PowerShell / Docker CLI | AI Coding Editors / IDEs / Web Chat (JSON-RPC) |
Reasoning Engine | Built-in Hermes Autonomous Agent ( | Host AI Client (Gemini, Claude 3.7, GPT-4o, etc.) |
Execution Model | Autonomous sub-process loop from CLI prompt | Modular Tool & Context calls requested by the AI |
Token Optimization | OS pipe streaming via Go | Native JSON-RPC schema with compact response filters |
Knowledge Access | CLI binary execution ( | In-memory MCP tools ( |
Deliverables Output | Direct filesystem generation in | Programmatic management via |
Why Cybermes?
Challenge | Traditional Approach | Cybermes Solution |
AI Assistant Integration | Manual copy-pasting of terminal outputs or fragile custom wrappers. | Native Go MCP Server ( |
LLM Token & Context Noise | Fuzzer/crawler outputs flood context with thousands of lines of 404s and static assets. | High-Speed Stream Filter ( |
Exploit Verification | Speculative or pattern-matched alerts without reproducible verification. | Zero-False-Positive PoC Gate: Requires standalone, non-destructive Python scripts ( |
Payload & Methodology Retrieval | Manually searching external wikis, repositories, and cheat sheets online. | Sub-50ms Local Knowledge Base ( |
Structured Deliverables | Unorganized text dumps requiring tedious manual report compilation. | Multi-Format Report Aggregator: Automated generation of |
OS & Environment Portability | Most offensive tools assume Kali/Linux, complicating Windows setups. | Native Multi-Platform Support: Automated native installers for Windows (PowerShell), Linux, macOS, and Docker with a built-in health check and repair tool ( |
Core Features
Native Go Toolchain: Zero-overhead compiled utilities for output stream filtering (
smart_pipe), credential scanning (secret_scan), offline knowledge retrieval (search_knowledge), and report aggregation (aggregate_reports).Model Context Protocol (MCP): Native Go MCP server (
cybermes-mcp) exposing security tools and context providers to AI assistants like Claude Desktop, Cursor, Windsurf, and VS Code / Cline.200+ Offensive Playbooks: Standard operating procedures in
skills/covering API security (IDOR/BOLA, JWT, BPLA), web vulnerabilities (SSRF, XSS, SQLi, Race Conditions), and cloud misconfigurations.Integrated Reconnaissance: Pre-configured pipelines for
subfinder,httpx,katana,ffuf,nuclei, andsqlmap.Target Workspace Isolation: Strict target-scoped evidence tracking, preventing context contamination across engagements.
Multi-Format Reporting: Automated output generation in Markdown (
SUMMARY.md), JSON metrics (metadata.json), standalone HTML dashboards, and PDF reports (REPORT_<target>.pdf).Cross-Platform Compatibility: Fully supported on Windows (native PowerShell), Linux, macOS, and Docker.
Target Workspace & Deliverables
Every target assessment creates a dedicated directory structure under reports/ and recon/:
Cybermes/
├── reports/<TARGET_SLUG>/ # Verified findings & deliverables
│ ├── SUMMARY.md # Consolidated executive findings matrix
│ ├── metadata.json # Structured JSON metrics & counters
│ ├── report.html # Standalone interactive HTML report
│ ├── REPORT_<target>.pdf # Print-ready PDF report (named per assessed target)
│ ├── findings/ # Confirmed vulnerability writeups (low, medium, high, critical)
│ │ └── high_idor_orders.md
│ ├── pocs/ # Standalone Python proof-of-concept scripts
│ │ └── poc_idor_orders.py
│ └── evidence/ # Raw logs, screenshots, recon notes
│ └── recon_notes.md
└── recon/<TARGET_SLUG>/ # Raw tool outputs & streaming dumps
├── subdomains.txt
└── endpoints.txtToolchain
Tool | Type | Purpose | Standard Syntax |
| Go Binary | Stream output filter & context token optimizer |
|
| Go Binary | Multi-pattern credential leak scanner |
|
| Go Binary | Sub-50ms offline exploit & payload search |
|
| Go Binary | Markdown findings indexer & report compiler |
|
| Go Binary / NPX | Native MCP Server for AI assistants |
|
| External | Passive subdomain discovery |
|
| External | Web probing & technology fingerprinting |
|
| External | Web crawler & SPA endpoint miner |
|
| External | High-speed web fuzzer |
|
| External | Template-based vulnerability scanner |
|
| Python | Automated SQL injection auditor |
|
| Python | Environment health check & auto-repair |
|
| Python | PDF and HTML executive report generator |
|
Documentation
Detailed guides and references are available in the docs/ directory:
Windows Installation Guide — Setup via PowerShell, WSL2, and troubleshooting.
MCP Setup Guide — Integration guide for all supported AI coding editors and clients.
Prompt Engineering Guide — Structuring security research prompts effectively.
Telegram Gateway Setup — Configuring remote execution via Telegram.
Tools & Skills Reference — Breakdown of offensive playbooks and built-in tools.
Troubleshooting & FAQ — Common error resolutions and diagnostics.
Autonomous Swarm Playbook — 24/7 fleet architecture: orchestrator/executor topology, swarm design, two-layer validator, evaluation framework, and deployment runbook.
Fleet Operations Skill — SSH access patterns for VM2 (lab) and Tencent (executor), dispatch patterns, concurrency limits, and credential handling.
Validation Pipeline
Findings are gated by two independent layers before they reach findings/.
No claim enters a report on model prose alone.
agent claim
|
v
[LAPIS 1] reports/<slug>/pocs/validate.py deterministic: baseline / attack / negative / gate
| exit 0 = PASS exit 1 -> evidence/recon_notes.md
v
[LAPIS 2] jev judge (MCP) adversarial: does the wire evidence support
| SEPATUT the claimed class and severity?
v TIDAK SEPATUT -> evidence/recon_notes.md
reports/<slug>/findings/<severity>_<name>.mdGate types: differential (IDOR, auth bypass), reflected (XSS, SSTI),
timing (blind injection), oob (SSRF, XXE).
The validator is pure Python stdlib — no LLM, no dependencies. CI runs a three-scenario smoke test on every push (real IDOR must PASS, no-IDOR must FAIL, non-discriminative target must FAIL).
Fleet Topology
Host | Role | Traffic to targets |
VM1 (orchestrator) | Hermes gateway, Telegram, Chromium, validator, reports | None |
VM2 (lab) | Juice Shop, VAmPI — harness testing | None |
Tencent (executor) | subfinder, httpx, katana, nuclei | All scanning |
Scanning traffic never originates from the orchestrator. See docs/AUTONOMOUS_SWARM_PLAYBOOK.md.
Acknowledgments & Upstream Credits
Cybermes integrates and builds upon foundational work from the open-source and offensive security research communities:
Project / Tool | Maintainer / Author | Contribution / Reference |
Privilege escalation, service exploitation & offensive knowledge base | ||
Web application payloads and bypass vectors | ||
ProjectDiscovery Team | Core toolchain ( | |
Bernardo Damele & Miroslav Stampar | Automated SQL injection auditor | |
Bug bounty engagement patterns & validation playbooks | ||
Strix Security Team | Autonomous multi-agent coordination architecture | |
High-speed web fuzzer | ||
NousResearch | Autonomous agent core framework |
(See ATTRIBUTION.md for full license notices and upstream details)
Contributors
Thank you to everyone who helps build, maintain, and research Cybermes:
Contributor | Type | Contribution | Reference |
| Creator, Core Architecture & Offensive Framework | Main | |
| Playwright PDF rendering engine fix | ||
| Windows Python launcher fallback & Long Path documentation | ||
| Target-specific PDF report filename & Docker gateway crash-loop fix | ||
| Linux setup audit, Docker config mounts & workflow diagnostic report | ||
| Windows PowerShell setup & script parser bug report |
Want to contribute? Check out our Contributing Guide and Contributors List.
License
This project is licensed under the Apache License 2.0.
Third-party research materials, datasets, and upstream tools referenced or incorporated within this repository retain their respective original licenses (see ATTRIBUTION.md).
Legal & Ethical Disclaimer
IMPORTANT: Cybermes is developed exclusively for authorized security testing, legitimate bug bounty research, and academic security education.
Testing against targets without explicit, prior written permission from the target owner is illegal and strictly prohibited. The maintainers assume no liability and are not responsible for any misuse, damage, or legal consequences resulting from this tool.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Offline methodology engine for authorized penetration testing, CTF, and security research.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables security work such as threat modeling, scanning, compliance checks, and remediation through AI assistants using the Model Context Protocol.MIT- AlicenseNot gradedqualityBmaintenanceEnables authorized bug bounty automation via a scope-enforced MCP bridge, supporting web, secrets, mobile, and LLM red-team scanning, with reporting and advisory.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to orchestrate 100+ security tools over MCP for authorized penetration testing, including recon, scanning, exploitation, attack-chain planning, and knowledge-base retrieval.6Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to conduct authorized pentests and bug-bounty workflows with scope enforcement, audit logging, reconnaissance, safe vulnerability checks, payload/wordlist generation, and professional report generation.MIT