WP-Hunter MCP
Provides autonomous penetration-testing and bug-bounty tooling against WordPress installations: fingerprints WordPress versions, plugins and themes, detects WAFs and exposed endpoints, and tests WordPress-specific weaknesses such as XML-RPC multicall brute force and pingback SSRF, plugin CVEs, CSRF nonce validation, file upload RCE, LFI/path traversal (e.g. wp-config.php extraction), plus SQLi/XSS/injection scanning with WAF-evasion mutations and CVSS-scored HTML/Markdown report generation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
WP-Hunter MCP - Autonomous Bug Bounty Hunting MCP SERVER
The first fully autonomous MCP server for WordPress bug bounty hunting. AI-driven vulnerability discovery, exploitation verification, and professional report generation.
Overview
WP-Hunter MCP is a comprehensive Model Context Protocol (MCP) server that enables AI agents to perform complete autonomous penetration testing on WordPress installations. It combines reconnaissance, vulnerability scanning, exploitation verification, and professional reporting into a single, powerful toolset.
What Makes This Different
Fully Autonomous: One command runs the entire workflow - recon → exploitation → reporting
Real Exploitation: Actually verifies vulnerabilities (uploads shells, extracts data, steals cookies)
WAF Bypass Built-in: 50+ encoding mutations and evasion techniques
CVSS Scoring: Professional risk assessment for bug bounty submissions
20 Integrated Tools: Everything from subdomain enumeration to JWT attacks
Related MCP server: MCP Pentest
Quick Start
# Clone the repository
git clone https://github.com/RaheesAhmed/wp-hunter-mcp.git
cd wp-hunter-mcp
# Install dependencies
pip install -r requirements.txt
# or
uv sync
# Activate virtual environment (Windows)
.\.venv\Scripts\activate
# or (Linux/Mac)
source .venv/bin/activate
# Run the MCP server
python wp_hunter_pro.pyMCP Client Setup
Configure WP-Hunter with your favorite AI coding assistant:
Claude Code (Anthropic)
Add to your Claude Code configuration (~/.claude/config.json):
{
"mcpServers": {
"wp-hunter": {
"command": "python",
"args": ["/path/to/wp-hunter-mcp/wp_hunter_pro.py"],
"env": {
"PYTHONPATH": "/path/to/wp-hunter-mcp"
}
}
}
}Usage in Claude Code:
@wp-hunter autonomous_scan target="https://example.com" aggressive=trueCursor IDE
Add to Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"wp-hunter": {
"type": "stdio",
"command": "python",
"args": ["C:\\path\\to\\wp-hunter-mcp\\wp_hunter_pro.py"],
"env": {
"PYTHONPATH": "C:\\path\\to\\wp-hunter-mcp"
}
}
}
}Usage in Cursor:
Open Cursor Settings → MCP
Click "Add MCP Server"
Select "Command" type
Enter:
python C:\path\to\wp-hunter-mcp\wp_hunter_pro.pySave and start chatting with the AI
Cline (VS Code Extension)
Add to Cline MCP settings (VS Code Settings → Cline → MCP Servers):
{
"mcpServers": {
"wp-hunter": {
"command": "python",
"args": ["${workspaceFolder}/wp-hunter-mcp/wp_hunter_pro.py"],
"env": {
"PYTHONPATH": "${workspaceFolder}/wp-hunter-mcp"
}
}
}
}Generic MCP Client
For any MCP-compatible client, use this configuration:
{
"mcpServers": {
"wp-hunter-mcp": {
"type": "stdio",
"command": "python",
"args": ["/absolute/path/to/wp_hunter_pro.py"],
"cwd": "/absolute/path/to/wp-hunter-mcp"
}
}
}Environment Variables
Optional environment variables for advanced configuration:
# Set custom rate limiting (seconds between requests)
export WP_HUNTER_DELAY=0.5
# Enable aggressive mode by default
export WP_HUNTER_AGGRESSIVE=false
# Set custom User-Agent
export WP_HUNTER_USER_AGENT="Custom-Agent"The 20 Tools
Core Detection Tools
Tool | Description | Autonomous |
| WordPress version, plugins, themes, WAF detection | ✅ |
| Subdomain enum, tech fingerprint, endpoint discovery | ✅ |
Injection Testing
Tool | Description | Autonomous |
| SQLi, XSS, Command Injection, SSTI combined | ✅ |
| Time-based, boolean, union, error-based, stacked | ✅ |
| Reflected, stored, DOM-based XSS | ✅ |
Authentication & Session
Tool | Description | Autonomous |
| JWT attacks, brute force, session analysis, 2FA | ✅ |
| CSRF nonce validation, static tokens | ✅ |
File Operations
Tool | Description | Autonomous |
| Upload RCE, LFI, RFI, path traversal | ✅ |
| PHP execution via uploads | ✅ |
| wp-config.php extraction, /etc/passwd | ✅ |
WordPress-Specific
Tool | Description | Autonomous |
| system.multicall brute force, pingback SSRF | ✅ |
| CVE database (200+ vulnerabilities) | ✅ |
| Headers, SSL/TLS, backup files | ✅ |
Data Extraction
Tool | Description | Autonomous |
| Emails, API keys, user enumeration | ✅ |
Evasion & Bypass
Tool | Description | Autonomous |
| WAF detection, encoding mutations, bypasses | ✅ |
Reporting & Analysis
Tool | Description | Autonomous |
| Complete AI-driven scan with exploitation roadmap | ✅ |
| Professional HTML/Markdown with CVSS | ✅ |
| CVSS v3.1 scoring | ✅ |
| JSON report with all findings | ✅ |
| Client-ready HTML report | ✅ |
✅ Critical Vulnerability Testing
SQL Injection: Time-based, Boolean-based, Union-based, Error-based, Stacked queries
Cross-Site Scripting (XSS): Reflected, Stored, DOM-based with 2026 evasion techniques
CSRF: Nonce validation, static token detection, authentication bypass
File Upload RCE: PHP execution, arbitrary file upload, shell deployment
Path Traversal / LFI: Local file inclusion, wrapper injection, /etc/passwd extraction
Plugin Vulnerabilities: Real CVE-2024/2025/2026 database matching
✅ Advanced Exploitation Tools
Plugin CVE vulnerability checker with 100+ known vulnerabilities
Sensitive data extraction (emails, API keys, credentials, metadata)
Multi-threaded parallel scanning
WAF evasion with IP spoofing and header manipulation
Rate limit bypassing with intelligent delays
PHP filter wrapper exploitation
✅ Professional Reporting
Comprehensive JSON reports with CVSS scoring
Production-grade HTML reports with risk visualization
Executive summaries and technical details
Actionable remediation guidance
OWASP Top 10 mapping
Installation
# Clone or navigate to repository
cd wp-hunter-mcp
# Install with uv (recommended)
uv sync
# Or with pip
pip install -r requirements.txt
# Activate virtual environment
.\.venv\Scripts\activateAvailable Tools
1. Advanced WordPress Detection
Tool: advanced_wordpress_detection(target: str)
Detects WordPress installations and gathers comprehensive intelligence.
{
"tool": "advanced_wordpress_detection",
"target": "https://example.com"
}Returns: WordPress version, plugins with versions, themes, exposed endpoints, WAF detection, sensitive files
2. Advanced SQL Injection Tester
Tool: advanced_sql_injection_test(target: str, parameter: str, technique: str)
Tests multiple SQL injection techniques simultaneously.
Supported techniques:
time-based- SLEEP-based blind SQL injectionboolean-based- True/false response based detectionunion-based- UNION SELECT data extractionerror-based- Error message extractionstacked- Multiple statement execution
{
"tool": "advanced_sql_injection_test",
"target": "https://example.com",
"parameter": "id",
"technique": "time-based"
}Returns: Vulnerability status, payload details, response times, proof-of-concept
3. XSS Vulnerability Scanner
Tool: xss_vulnerability_scanner(target: str, scan_depth: str)
Comprehensive XSS testing across parameters and endpoints.
Scan depths:
quick- Basic XSS payloads (3 payloads)medium- Standard testing (6 payloads)thorough- All payloads (13+ advanced payloads)
{
"tool": "xss_vulnerability_scanner",
"target": "https://example.com",
"scan_depth": "medium"
}Returns: Reflected XSS findings, parameter mapping, payload details, severity scores
4. CSRF Vulnerability Validator
Tool: csrf_vulnerability_validator(target: str)
Tests for CSRF vulnerabilities and nonce validation weaknesses.
{
"tool": "csrf_vulnerability_validator",
"target": "https://example.com"
}Returns: Missing nonce tokens, static/reusable nonces, authentication bypass issues
5. File Upload Vulnerability Tester
Tool: file_upload_vulnerability_tester(target: str)
Identifies arbitrary file upload and RCE vulnerabilities.
{
"tool": "file_upload_vulnerability_tester",
"target": "https://example.com"
}Returns: Upload endpoints, bypassed extensions, directory listing issues, RCE potential
6. Path Traversal / LFI Scanner
Tool: path_traversal_lfi_scanner(target: str, parameter: str)
Tests for Local File Inclusion and directory traversal vulnerabilities.
{
"tool": "path_traversal_lfi_scanner",
"target": "https://example.com",
"parameter": "file"
}Returns: LFI vulnerabilities, /etc/passwd extraction, wp-config.php access, PHP wrapper injection
7. Plugin Vulnerability Checker
Tool: plugin_vulnerability_checker(target: str)
Checks installed plugins against CVE database.
{
"tool": "plugin_vulnerability_checker",
"target": "https://example.com"
}Returns: Vulnerable plugins, CVE IDs, vulnerability types, version comparisons
8. Sensitive Data Extractor
Tool: sensitive_data_extractor(target: str)
Extracts sensitive information from WordPress installations.
{
"tool": "sensitive_data_extractor",
"target": "https://example.com"
}Extracts:
Email addresses (users, comments, metadata)
API keys and credentials
User accounts and details
Comments with author information
WordPress version and metadata
Open Graph data and metadata
9. Comprehensive Penetration Test Report
Tool: comprehensive_pentest_report(target: str, aggressive: bool)
Runs all scanning tools and generates a complete penetration test report.
{
"tool": "comprehensive_pentest_report",
"target": "https://example.com",
"aggressive": false
}Report includes:
All vulnerabilities found across all scanners
CVSS scores for each finding
Risk score (0-100)
HTTP requests made
Detailed remediation guidance
Executive summary
10. HTML Report Generator
Tool: generate_html_report(target: str)
Generates professional HTML penetration test report.
{
"tool": "generate_html_report",
"target": "https://example.com"
}Returns: Professional HTML report with:
Visual risk score dashboard
Color-coded findings by severity
Proof-of-concept details
Remediation guidance
Professional formatting for client delivery
Usage Examples
Example 1: Fully Autonomous Scan
{
"tool": "autonomous_scan",
"arguments": {
"target": "https://example.com",
"aggressive": true
}
}Output: Complete vulnerability assessment with exploitation roadmap
Example 2: Targeted SQL Injection
{
"tool": "injection_scan",
"arguments": {
"target": "https://example.com",
"parameters": "id,page,cat"
}
}Output: SQLi, XSS, Command Injection, SSTI findings
Example 3: WAF Bypass Testing
{
"tool": "waf_bypass_scan",
"arguments": {
"target": "https://example.com",
"vuln_type": "all"
}
}Output: WAF detection and successful bypass payloads
Example 4: Generate Bug Bounty Report
{
"tool": "generate_report",
"arguments": {
"scan_results_json": "{...scan results...}",
"format": "html"
}
}Output: Professional HTML report with CVSS scores
Technical Specifications
Performance Optimizations
⚡ Async/await for concurrent requests
🔄 Connection pooling (10 simultaneous connections)
🚀 HTTP/2 support
🛡️ Intelligent rate limiting (0.2-1.0s between requests)
📦 Batch processing for payload testing
WAF Evasion Techniques
✅ User-Agent rotation (6 modern browsers)
✅ X-Forwarded-For IP spoofing
✅ Referer randomization
✅ Security headers (Sec-Fetch-*, etc.)
✅ Custom header injection
✅ Cache control headers
Detection Methods
Regex pattern matching
HTML parsing with BeautifulSoup
JSON API analysis
Header inspection
Response timing analysis
Error message parsing
Security & Ethics
⚠️ Legal Notice: This tool is designed for authorized security testing only. Unauthorized access to computer systems is illegal. Always obtain written permission before testing any system you don't own.
Best practices:
Only test systems you own or have explicit written permission to test
Include scope and rules of engagement in bug bounty programs
Report vulnerabilities responsibly to vendors
Maintain detailed logs of all testing activities
Use in isolated lab environments for learning
Requirements
Python 3.11+
httpx[http2] >= 0.27.0
beautifulsoup4 >= 4.12.0
pydantic >= 2.0.0
fastmcp >= 3.0.0
Command Reference
Command | Function | Parameters |
| AI-driven complete scan |
|
| Subdomain & endpoint discovery |
|
| SQLi, XSS, SSTI, CMDi combined |
|
| JWT, brute force, sessions |
|
| Upload RCE, LFI, traversal |
|
| WAF detection & bypass |
|
| Professional report |
|
| CVSS v3.1 scoring |
|
| Detect WP + plugins |
|
| Test SQL injection |
|
| Find XSS bugs |
|
| Check CSRF tokens |
|
| Test file uploads |
|
| Test LFI/Path Traversal |
|
| XML-RPC attacks |
|
| Check CVEs |
|
| Security headers audit |
|
| Extract data |
|
| Full audit report |
|
| Professional HTML |
|
Roadmap (2026+)
Machine learning-based vulnerability classification
Real-time WAF bypass using AI
Automated exploit chain generation
GraphQL API security testing
Advanced deserialization exploits
Supply chain vulnerability detection
Zero-day payload generation
Multi-stage exploitation automation
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
Quick Contribution Guide
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Areas for Contribution
Additional WAF bypass techniques
New CVEs for plugin database
GraphQL security testing
Additional report templates
Performance optimizations
License
This project is licensed under the MIT License - see LICENSE file for details.
Support
📖 Documentation: IMPLEMENTATION_GUIDE.md
🚀 Quick Start: QUICK_REFERENCE.md
🐛 Issues: GitHub Issues
💬 Discussions: GitHub Discussions
WP-Hunter MCP v3.0 | Built for AI-Driven Bug Bounty Hunting | MIT License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
Authorized security scans, evidence, fix prompts and retests for AI-built web apps.
Live-checks whether a WordPress site is ready to be safely operated by AI agents.
Governed security assessments, findings and signed reports for your domains, from your AI agent.
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.3-
- 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.277MIT
- AlicenseAqualityDmaintenanceGives AI agents a browser that bypasses bot detection, a MITM proxy for traffic interception, and a Python sandbox to autonomously write and execute security exploits.393MIT
- AlicenseNot gradedqualityNot gradedmaintenanceAutomates bug bounty hunting across Web2 and Web3 platforms, performing recon, vulnerability scanning, Solidity audits, and report generation.MIT