operant-mcp is an MCP (Model Context Protocol) server for security testing, developed by Operant Labs and hosted on GitHub. Its core goal is to turn AI agents into "hacker" assistants usable for security testing by integrating with MCP, providing tool support for penetration testing, network forensics, memory analysis, and vulnerability assessment.
In terms of main capabilities, the server has 51 built-in tools covering multiple security testing domains. Web vulnerability testing includes: SQL injection (WHERE clause bypass, login bypass, UNION extraction, boolean blind injection, time-based blind injection, file reading via LOAD_FILE()), reflected XSS testing and context-aware XSS payload generation, command injection (including sleep timing-based blind injection detection), path traversal, and SSRF (including localhost bypass variants and cloud metadata access). Authentication and access control testing includes: CSRF token extraction, username enumeration and credential brute forcing, cookie tampering, IDOR, and privilege escalation. Business logic testing includes price/quantity manipulation, coupon stacking, and reuse. In addition, there are clickjacking (X-Frame-Options/CSP testing, frame-busting bypass), CORS misconfiguration, file upload bypass, NoSQL injection (MongoDB authentication bypass and detection), deserialization, GraphQL schema introspection, and hidden field discovery, among others.
In terms of forensics and analysis capabilities, PCAP/network forensics includes 8 tools (protocol layer and endpoint statistics, FTP/HTTP/SMTP credential extraction, DNS query analysis, HTTP object export, port scan detection, TCP/UDP stream tracking, TLS/SNI analysis, LLMNR/NTLM attack detection); reconnaissance includes 7 tools (quick reconnaissance, DNS enumeration, virtual host discovery, TLS certificate SAN extraction, directory brute forcing, git repository secret search, S3 bucket permission testing); memory forensics includes Linux and Windows memory analysis (using Volatility 2 and Volatility 3 respectively) as well as Linux rootkit detection; malware analysis includes an OLE document analysis pipeline and VBA macro extraction; cloud security includes CloudTrail log analysis and anomalous event detection.
The server also provides methodology guides,for structured security assessments, including web application penetration testing, PCAP forensics, memory forensics, reconnaissance checklists, malicious document analysis, CloudTrail analysis workflows, SQL injection testing guides, and XSS testing guides.
In terms of usage, it can be used through installation (the specific installation commands are not fully provided in the materials) or global installation, and added to the MCP configuration for use with Claude Code. Regarding system requirements, the tools depend on various CLI utilities, depending on the module used: most tools require curl; PCAP analysis requires tshark (Wireshark CLI); DNS reconnaissance requires dig and host; memory forensics requires volatility / vol.py / vol3; malware analysis requires olevba and oledump.py; cloud analysis requires jq; secret scanning requires git.
Applicable scenarios include penetration testing, vulnerability assessment, network forensics, memory forensics, malware document analysis, cloud security auditing, and security methodology guidance. In terms of limitations, the materials do not specify the specific license, pricing, platform support scope, or usage restrictions; because security testing tools are involved, actual use must comply with relevant laws and regulations and obtain authorization.