项目介绍
MCP 服务 · 2026-11-09 更新 · 本站尚未实测
operant-mcp 是一个以 MCP 服务器形式发布的安全测试工具集,仓库描述为“Security testing MCP server with 51 tools for penetration testing, network forensics, memory analysis, and vulnerability assessment”。它通过 MCP 协议把安全测试相关工具和提示词提供给支持 MCP 的 AI 客户端,使客户端可以按结构化方法调用这些工具。仓库使用 TypeScript 编写,README 顶部标注了 MCP Server 徽章,说明其定位是 MCP 服务器而非独立的应用框架。
需要特别说明:该项目面向安全测试场景,README 没有说明授权范围、目标系统同意流程或滥用防护,使用前应确认对目标系统具备合法测试授权。
核心能力
点击能力名称查看输入、输出和原文依据。
README 列出的工具共 51 个,按领域大致包括:
- SQL 注入相关 6 个,如 WHERE 绕过、登录绕过、UNION 提取、布尔盲注、时间盲注、文件读取。
- XSS 2 个、命令注入 2 个、路径穿越 1 个、SSRF 2 个。
- PCAP/网络取证 8 个,涉及协议统计、凭据提取、DNS 分析、HTTP 对象导出、扫描检测、流跟随、TLS/SNI 分析、LLMNR/NTLM 攻击检测。
- 侦察 7 个,包括 robots.txt 与常见目录探测、DNS 枚举、虚拟主机发现、TLS SAN 提取、目录爆破、Git 仓库密钥搜索、S3 桶权限测试。
- 内存取证 3 个(Volatility 2/3 及 Linux rootkit 检测)、恶意文档分析 2 个、云安全 2 个(CloudTrail 分析)。
- 身份认证 3 个、访问控制 2 个、业务逻辑 2 个、点击劫持 2 个、CORS 1 个、文件上传 1 个、NoSQL 注入 2 个、反序列化 1 个、GraphQL 2 个。
同时提供 8 个提示词(Prompts),对应 Web 应用渗透测试、PCAP 取证、内存取证、侦察、恶意软件分析、云安全审计、SQL 注入方法、XSS 方法等结构化流程,供客户端组织测试任务。
实际应用场景
适用场景
- 在获授权的测试环境中,由支持 MCP 的 AI 客户端调用工具完成初步安全检查。
- 对已有 PCAP 文件进行协议与凭据分析,或对内存转储做离线取证。
- 对防御方自身的 Web 应用进行漏洞验证、云日志审计和恶意文档分析。
- 不适合作为无授权的攻击工具使用;README 未提供滥用防护或授权约束说明,需使用者自行保证合规。
安装与接入
README 给出的运行方式:
npx operant-mcp
或者全局安装:
npm install -g operant-mcp
operant-mcp
在 Claude Code 中,README 给出加入 MCP 配置的示例:
{
"mcpServers": {
"operant": {
"command": "npx",
"args": ["-y", "operant-mcp"]
}
}
}
README 还提供了 VS Code、Cursor 的安装跳转徽章,以及 Smithery 与 Glama 的目录链接。服务器配置(server.json)显示该包通过 npm 发布,传输方式为 stdio。上述客户端之外的接入方式、远程部署或 HTTPS 端点,资料未说明,待核验。
依赖的系统命令:多数工具需要 curl;PCAP 分析需要 tshark;DNS 侦察需要 dig、host;内存取证需要 volatility、vol.py 或 vol3;恶意文档分析需要 olevba、oledump.py;云日志分析需要 jq;密钥扫描需要 git。这些工具需要单独安装,README 未说明自动安装。
使用条件与限制
- 是否需要部署
- 需自行准备运行环境,具体要求见正文
- 是否需要注册
- 账号和认证要求见正文;未明确说明的项目仍待核验
- 是否需要 API Key
- 待核验
- 费用与额度
- 费用边界见正文,项目许可不代表模型或托管服务免费
- 所需权限
- 待核验
- 许可证与服务条款
- 待核验
权限费用与限制
- 该仓库代码采用 MIT 许可,仓库为公开状态。代码开源不代表其依赖的工具、托管目录或目标系统授权免费或开放。
- README 未说明是否收费、是否有商业模块或托管服务;Smithery、Glama 等第三方目录的服务条款与费用需另行核验。
- 工具会在执行中访问目标系统、读取本地文件并进行网络请求,调用前应确认权限边界。README 未说明对目标系统的授权要求、数据处理方式或日志留存,待核验。
- README 未列出完整的模型支持矩阵,仅提供部分客户端安装示例,未说明 Windows 平台支持情况,也未说明国内网络可用性或本地化支持,均待核验。
- 涉及漏洞验证、凭据提取等功能具有较强攻击性,应只在合法授权范围内使用。
国内使用情况
网友核验 用户经验分享
与站长实测独立,不代表官方认证或本站已实测。
最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。
分项统计、有效期与样本量
| 核验项目 | 有效人数 | 成功 / 部分 / 失败 / 无法判断 | 成功率 | 最近核验 / 有效期 |
|---|---|---|---|---|
| 官方网站访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| GitHub 仓库访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 安装与运行 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 官方服务国内连接 / MCP 连接 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 国内网络情况 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 国内模型兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 自定义 API | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外服务依赖 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外账号要求 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 中文界面 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 客户端兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 账号及费用信息 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。
最近有效核验
暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。
查看全部有效核验 →国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。
- 官方网站访问
- 尚未实测 待核验
- GitHub 仓库访问
- 尚未实测 待核验
- 官方服务国内连接
- 尚未实测 待核验
- 国内网络情况
- 尚未实测 待核验
- 国内模型兼容性
- 尚未实测 待核验
- 自定义 API
- 尚未实测 待核验
- 海外服务依赖
- 尚未实测 待核验
- 海外账号要求
- 尚未实测 待核验
- 中文界面
- 尚未实测 待核验
- 国内最后核验时间
- 尚未实测
许可与国内使用
仓库 LICENSE 文件声明为 MIT License,版权归属 Operant(2025)。该许可仅覆盖仓库内代码;NPM 包发布、第三方目录服务、系统依赖工具(tshark、volatility、olevba 等)各有自己的许可证,需分别核验。README 未说明域名或服务的部署地域,也未说明国内网络访问与备案情况。仓库当前未被归档(metadata 显示 archived: false),但推送时间等维护状态仅供参考,需以官方仓库最新信息为准。
项目资料与来源
字段依据与待核验事项
access:来源确认 · npx operant-mcp
project_type:来源确认 · Security testing MCP server with 51 tools for penetration testing, network forensics, memory analysis, and vulnerability assessment.
原始 README(折叠技术参考)
# operant-mcp
[](https://www.npmjs.com/package/operant-mcp) [](https://www.npmjs.com/package/operant-mcp) [](https://github.com/operantlabs/operant-mcp) [](https://opensource.org/licenses/MIT) [](https://www.typescriptlang.org/)  [](https://smithery.ai/server/operant-mcp)
[](https://insiders.vscode.dev/redirect/mcp/install?name=operant-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm9wZXJhbnQtbWNwIl19) [](https://cursor.com/en/install-mcp?name=operant-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm9wZXJhbnQtbWNwIl19)
<a href="https://glama.ai/mcp/servers/operantlabs/operant-mcp">
<img width="380" height="200" src="https://glama.ai/mcp/servers/operantlabs/operant-mcp/badge" alt="operant-mcp MCP server" />
</a>
Security testing MCP server with 51 tools for penetration testing, network forensics, memory analysis, and vulnerability assessment.
## Quick Start
```bash
npx operant-mcp
```
Or install globally:
```bash
npm install -g operant-mcp
operant-mcp
```
## Usage with Claude Code
Add to your MCP config:
```json
{
"mcpServers": {
"operant": {
"command": "npx",
"args": ["-y", "operant-mcp"]
}
}
}
```
## Tools (51)
### SQL Injection (6)
- `sqli_where_bypass` — Test OR-based WHERE clause bypass
- `sqli_login_bypass` — Test login form SQL injection
- `sqli_union_extract` — UNION-based data extraction
- `sqli_blind_boolean` — Boolean-based blind SQLi
- `sqli_blind_time` — Time-based blind SQLi
- `sqli_file_read` — Read files via LOAD_FILE()
### XSS (2)
- `xss_reflected_test` — Test reflected XSS with 10 payloads
- `xss_payload_generate` — Generate context-aware XSS payloads
### Command Injection (2)
- `cmdi_test` — Test OS command injection
- `cmdi_blind_detect` — Blind command injection via sleep timing
### Path Traversal (1)
- `path_traversal_test` — Test directory traversal with encoding variants
### SSRF (2)
- `ssrf_test` — Test SSRF with localhost bypass variants
- `ssrf_cloud_metadata` — Test cloud metadata access via SSRF
### PCAP/Network Forensics (8)
- `pcap_overview` — Protocol hierarchy and endpoint stats
- `pcap_extract_credentials` — Extract FTP/HTTP/SMTP credentials
- `pcap_dns_analysis` — DNS query analysis
- `pcap_http_objects` — Export HTTP objects
- `pcap_detect_scan` — Detect port scanning
- `pcap_follow_stream` — Follow TCP/UDP streams
- `pcap_tls_analysis` — TLS/SNI analysis
- `pcap_llmnr_ntlm` — Detect LLMNR/NTLM attacks
### Reconnaissance (7)
- `recon_quick` — Quick recon (robots.txt, headers, common dirs)
- `recon_dns` — Full DNS enumeration
- `recon_vhost` — Virtual host discovery
- `recon_tls_sans` — Extract SANs from TLS certificates
- `recon_directory_bruteforce` — Directory brute-force
- `recon_git_secrets` — Search git repos for secrets
- `recon_s3_bucket` — Test S3 bucket permissions
### Memory Forensics (3)
- `volatility_linux` — Linux memory analysis (Volatility 2)
- `volatility_windows` — Windows memory analysis (Volatility 3)
- `memory_detect_rootkit` — Linux rootkit detection
### Malware Analysis (2)
- `maldoc_analyze` — Full OLE document analysis pipeline
- `maldoc_extract_macros` — Extract VBA macros
### Cloud Security (2)
- `cloudtrail_analyze` — CloudTrail log analysis
- `cloudtrail_find_anomalies` — Detect anomalous CloudTrail events
### Authentication (3)
- `auth_csrf_extract` — Extract CSRF tokens
- `auth_bruteforce` — Username enumeration + credential brute-force
- `auth_cookie_tamper` — Cookie tampering test
### Access Control (2)
- `idor_test` — Test for IDOR vulnerabilities
- `role_escalation_test` — Test privilege escalation
### Business Logic (2)
- `price_manipulation_test` — Test price/quantity manipulation
- `coupon_abuse_test` — Test coupon stacking/reuse
### Clickjacking (2)
- `clickjacking_test` — Test X-Frame-Options/CSP
- `frame_buster_bypass` — Test frame-busting bypass
### CORS (1)
- `cors_test` — Test CORS misconfigurations
### File Upload (1)
- `file_upload_test` — Test file upload bypasses
### NoSQL Injection (2)
- `nosqli_auth_bypass` — MongoDB auth bypass
- `nosqli_detect` — NoSQL injection detection
### Deserialization (1)
- `deserialization_test` — Test insecure deserialization
### GraphQL (2)
- `graphql_introspect` — Full schema introspection
- `graphql_find_hidden` — Discover hidden fields
## Prompts (8)
Methodology guides for structured security assessments:
- `web_app_pentest` — Full web app pentest methodology
- `pcap_forensics` — PCAP analysis workflow
- `memory_forensics` — Memory dump analysis (Linux/Windows)
- `recon_methodology` — Reconnaissance checklist
- `malware_analysis` — Malware document analysis
- `cloud_security_audit` — CloudTrail analysis workflow
- `sqli_methodology` — SQL injection testing guide
- `xss_methodology` — XSS testing guide
## System Requirements
Tools require various CLI utilities depending on the module:
- **Most tools**: `curl`
- **PCAP analysis**: `tshark` (Wireshark CLI)
- **DNS recon**: `dig`, `host`
- **Memory forensics**: `volatility` / `vol.py` / `vol3`
- **Malware analysis**: `olevba`, `oledump.py`
- **Cloud analysis**: `jq`
- **Secrets scanning**: `git`
## License
MIT
历史前置条件说明(补充参考)
Node.js 与 npm(npx 运行);多数工具需要 curl;PCAP 分析需要 tshark;DNS 侦察需要 dig、host;内存取证需要 volatility、vol.py 或 vol3;恶意文档分析需要 olevba、oledump.py;云日志分析需要 jq;密钥扫描需要 git。是否需要模型或 API Key、是否收费、Windows 支持情况、国内网络可用性均待核验。
项目来源与清单版权许可
https://github.com/operantlabs/operant-mcp
整理来源:https://github.com/slavakurilyak/awesome-ai-agents
清单版权与许可:
MIT License
Copyright (c) 2024 Slava Kurilyak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.