Operant Mcp

io.github.operantlabs由 GitHub 帳號 operantlabs 發布v1.0.1更新於 Oct 24, 2026

Security testing MCP server for penetration testing, forensics, and vulnerability assessment

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

在本機執行的安全測試 MCP 伺服器,提供 51 個工具,用於網頁漏洞測試、偵察、PCAP 與記憶體鑑識及惡意文件分析。

可以做什麼
  • 測試網頁應用的 SQL 注入、XSS、指令注入、路徑遍歷、SSRF、NoSQL 注入、反序列化、CORS、點擊劫持、檔案上傳與 GraphQL 問題
  • 探測驗證與存取控制:擷取 CSRF 權杖、暴力破解、Cookie 竄改、IDOR 與角色提升
  • 檢查業務邏輯,例如價格竄改與優惠券濫用
  • 執行偵察:DNS 列舉、虛擬主機探索、TLS SAN 擷取、目錄暴力掃描、git 機密搜尋與 S3 儲存桶權限檢查
  • 分析 PCAP 中的協定、憑證、DNS、HTTP 物件、連接埠掃描、資料流、TLS/SNI 與 LLMNR/NTLM
  • 進行記憶體鑑識、rootkit 偵測、惡意文件與 VBA 巨集分析以及 CloudTrail 異常檢視
適用情境
適用於取得授權的滲透測試、弱點評估、事件應變與鑑識調查,讓助理呼叫標準安全工具並依結構化方法推進。不適用於測試你並不擁有或未取得書面許可的系統。
執行需求
透過 npx 或全域 npm 安裝後在本機執行(需要 Node.js)。多個工具依賴外部命令列程式:多數工具需要 curl,PCAP 分析需要 tshark,DNS 偵察需要 dig 與 host,記憶體鑑識需要 volatility/vol.py/vol3,惡意文件分析需要 olevba 與 oledump.py,CloudTrail 分析需要 jq,機密掃描需要 git。未宣告任何 API 金鑰或環境變數。
安裝前請注意
這些工具會主動送出攻擊載荷、暴力破解憑證並探測目標,只能對你已獲授權的系統使用。部分工具會讀取檔案並從封包擷取或文件中取出憑證,結果可能含敏感資料。本機命令列相依套件需自行安裝並確認可信。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Operant Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

operant-mcp

[NPM Version] [npm downloads] [GitHub stars] [License: MIT] [TypeScript] [MCP Server] [smithery badge]

[Install in VS Code] [Install in Cursor]

[operant-mcp MCP server]

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-mcpoperant-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

來源:README.md,提交 448fa63

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分