原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Pentest MCP Server

作者:cyanheads版本 0.3.0i★ –i电脑或云端
注册名称io.github.cyanheads/pentest-mcp-server

安装

概览

作者提供的说明(英文原文)

Offline methodology engine for authorized penetration testing, CTF, and security research.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:3 项中通过 3 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 可以做 7 件事(工具) pentest_get_guide, pentest_analyze_response, pentest_lookup_technique, pentest_lookup_group …
  • 需要你自己填写: PENTEST_ENABLE_PAYLOAD_GENERATION, MCP_LOG_LEVEL

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://pentest.caseyjhand.com/mcp

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "pentest": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/pentest-mcp-server"
      ],
      "env": {
        "PENTEST_ENABLE_PAYLOAD_GENERATION": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http pentest https://pentest.caseyjhand.com/mcp

或者在你的电脑上运行

claude mcp add pentest --env PENTEST_ENABLE_PAYLOAD_GENERATION=your-value --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/pentest-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "pentest": {
      "url": "https://pentest.caseyjhand.com/mcp"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "pentest": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/pentest-mcp-server"
      ],
      "env": {
        "PENTEST_ENABLE_PAYLOAD_GENERATION": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "pentest": {
      "type": "http",
      "url": "https://pentest.caseyjhand.com/mcp"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "pentest": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/pentest-mcp-server"
      ],
      "env": {
        "PENTEST_ENABLE_PAYLOAD_GENERATION": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://pentest.caseyjhand.com/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • PENTEST_ENABLE_PAYLOAD_GENERATION env
    Enable payload generation and encoding. Set false to retain the five reference tools only.
  • MCP_LOG_LEVEL env
    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • pentest_get_guide

    Return an authorized-testing methodology for a selected vector and optional target context. The playbook covers reconnaissance, enumeration, exploitation, and post-exploitation phases with objectives, techniques, detection signals, mitigations, common pitfalls, references, and co

  • pentest_analyze_response

    Analyze an HTTP response from authorized probing for information leakage, fingerprinting signals, and related exposure. Structured findings cover version disclosures, stack traces, debug headers, internal paths, authentication patterns, CORS configuration, detection signals, reme

  • pentest_lookup_technique

    Look up a MITRE ATT&CK technique by exact ID or keyword. Results include tactics, platforms, description, detection data, public procedure examples, mitigations, related sub-techniques, and dataset version.

  • pentest_lookup_group

    Look up a MITRE ATT&CK threat group or software entry by ID, name, or keyword. Results include ATT&CK identity, aliases, type, description, and associated techniques with procedure-level context from public ATT&CK reporting.

  • pentest_map_techniques

    Rank ATT&CK techniques and OWASP test cases against an authorized target profile of technology stack, exposed services, authentication type, and operating system. Results include profile-specific relevance, detection opportunities, mitigations, and associated methodology vectors.

  • pentest_generate_payloads

    Generate context-specific payload templates for authorized systems. Each template includes its vulnerability category, context rationale, WAF/IDS detection signature, mitigation, optional WAF research note, and optional encoded variant.

  • pentest_encode_payload

    Transform a payload string through an ordered encoding chain for authorized filter research. Results include the final value, intermediate values, optional decode path and rationale, and detection guidance. All transforms are local; no live probing occurs.

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 cyanheads 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✓ 通过

    端点有响应

    在 39 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 7 个工具描述,未发现针对 AI 的隐藏指令

与“网络安全”中的其他服务器比较i

  • 星标数多于此分类中其他 1000 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1000 个服务器的 82% 更新
  • 基础检查结果等于或优于此分类中其他 1000 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Pentest MCP Server 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.0)于9天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Phishnoo Sandbox, Zovo Dependency Audit, TeamOnly

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Phishnoo Sandbox

Explore synthetic security awareness metrics and file example threat reports.

作者:api.phishnoo.nl起步阶段今天更新

在云端运行✓ api.phishnoo.nl

Zovo Dependency Audit

Audit a dependency list for known vulnerabilities, licenses and outdated versions.

作者:theluckystrike起步阶段今天更新

在云端运行

TeamOnly

Deploy AI-built internal apps behind your company login, with a database, files and secrets.

作者:sohelsd非常新↓ 315/周今天更新

在你的电脑上运行✓ teamonly.dev

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@cyanheads/pentest-mcp-server Offline methodology engine and payload workshop for authorized penetration testing, CTF, security research, and education via MCP. STDIO or Streamable HTTP. 7 Tools

Public Hosted Server: https://pentest.caseyjhand.com/mcp


Authorized use only. This server is designed for penetration testers, red teamers, CTF players, security researchers, and students working on systems they own or have explicit written authorization to test. Users are solely responsible for ensuring their testing is lawful and appropriately scoped. Unauthorized access to computer systems is illegal — this server does not and cannot enforce authorization on your behalf.

Dual-audience design. Every offensive technique is paired with detection indicators and mitigations. Blue teamers, developers, and anyone building detection coverage will find the methodology and ATT&CK data as useful as the red team workflows.


Overview

An offline methodology engine for authorized penetration testing, CTFs, and security research, built on MITRE ATT&CK, the OWASP Testing Guide, and annotated payload templates. Generate a phased test plan, map techniques to a target, analyze HTTP responses for leaks, and generate or encode payloads, each paired with detection and mitigation context.

Tools
ToolDescription
pentest_get_guideStep-by-step authorized-testing methodology playbook for a chosen attack vector, phase-filterable, with detection and mitigation per technique.
pentest_analyze_responseAnalyzes raw HTTP response headers/body from authorized probing for leakage, fingerprinting, and misconfiguration.
pentest_lookup_techniqueLooks up a MITRE ATT&CK technique by ID or keyword, with detection data, mitigations, and procedure examples.
pentest_lookup_groupLooks up a MITRE ATT&CK threat group or software entry by ID or name, with aliases and technique usage.
pentest_map_techniquesRanks ATT&CK techniques and OWASP test cases against a target profile (stack, services, auth type, OS).
pentest_generate_payloadsGenerates annotated payload templates for a vulnerability category and injection context, with optional WAF bypass variants and encoding.
pentest_encode_payloadApplies an ordered encoding chain to a payload string with decode-path tracing.

Capability reference

pentest_get_guide tool
  • vector: auth_bypass, idor, ssrf, xss, sqli, xxe, path_traversal, cors, csrf, open_redirect, deserialization, race_condition, ssti, command_injection, or jwt_attack; phase: all (default), recon, enumeration, exploitation, or post_exploitation
  • Playbook techniques carry detection and mitigation, with owasp_references, attack_technique_ids, and context-derived nextToolSuggestions
  • Optional target_context (stack, waf, recon_notes) narrows the playbook

pentest_analyze_response tool
  • Supply response_headers (≤20,000 characters), response_body (≤10,000 characters), or both; optional status_code (100–599) and context (≤2,000 characters). Missing both response fields returns no_input
  • Findings carry category, severity (info/low/medium/high), detection, and remediation, ordered by severity descending
  • fingerprints (server_software, framework, language, database, cloud_provider, other) and nextToolSuggestions support follow-up calls

pentest_lookup_technique tool
  • Supply an ATT&CK ID (T1190, T1059.001) or keyword; include_subtechniques defaults to true
  • Returns tactics, platforms, description, detection (summary, data_sources, indicators), mitigations, procedure examples, and attack_version
  • Returns no_match when the ID or keyword resolves to nothing

pentest_lookup_group tool
  • Supply an ATT&CK group ID (G0007), software ID (S0002), or name/keyword; returns no_match when nothing resolves
  • type distinguishes group from software; results include aliases, description (≤800 characters), and attack_version
  • techniques_used returns up to 20 techniques with procedure context and technique_id for pentest_lookup_technique

pentest_map_techniques tool
  • Supply at least one of stack, services, auth_type (jwt/session_cookie/api_key/oauth2/basic_auth/ntlm/kerberos/none/unknown), or os (linux/windows/macos/unknown); otherwise returns no_profile
  • ranked_techniques carries relevance_score, relevance_rationale, detection_opportunity, mitigation_summary, and optional pentest_guide_vector; owasp_test_cases returns up to 10 cases
  • limit caps techniques at 1–50 (default 15); enrichment (truncated, shown, cap) discloses the cap

pentest_generate_payloads tool
  • category: xss, sqli, ssrf, xxe, path_traversal, ssti, command_injection, open_redirect, csrf, deserialization, jwt, ldap_injection, nosql_injection, or http_header; injection_context: html_attribute, html_body, js_string, js_template, js_script_block, url_parameter, url_path, sql_where, sql_integer, xml_element, xml_attribute, http_header, json_value, cookie_value, file_name, or generic
  • count caps templates at 1–20 (default 5); each carries detection_signature and mitigation, with optional encoding applied to every template
  • waf_profile: cloudflare, aws_waf, modsecurity_crs, imperva, akamai, f5_bigip_asm, nginx_modsecurity, fortinet_fortiwaf, none (default), or unknown; profiles other than none add waf_bypass_note

pentest_encode_payload tool
  • payload accepts up to 10,000 characters; chain applies 1–6 steps left to right from url, double_url, html_entity, unicode, hex, base64, js_escape, null_byte, mixed_case, or comment_break
  • Returns intermediate_steps and detection_note; explain (default true) adds decode_path and bypass_rationale
  • Returns encoding_error when a transform fails

Features

Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.

Methodology-specific:

  • Fully offline at runtime — no external API calls, no credentials required; all data loaded at startup, zero I/O during request handling
  • MITRE ATT&CK Enterprise embedded at build time via scripts/refresh-attack.ts and indexed in memory by ID/keyword; fails fast with an actionable error if the data file is missing
  • OWASP Testing Guide methodology and payload template library curated as structured TypeScript modules, one per vector/category
  • WAF bypass variants keyed by WAF product and attack vector, referencing public research
  • All tools annotated readOnlyHint: true, openWorldHint: false — deterministic output from a bounded embedded dataset

Agent-friendly output:

  • authorized_use_reminder rendered as the first line of content[] on every guide/payload/encoding response — consistent framing regardless of which surface a client forwards
  • Techniques and payloads require detection and mitigation context; response findings require detection and remediation
  • attack_version echoed on every ATT&CK-backed response so callers can reason about data vintage
  • nextToolSuggestions pre-filled with arguments derived from the current context, reducing agent planning overhead
  • pentest-guide supports response-evidence review and ATT&CK detection coverage assessment; available through plugin installs and the MCP resource skill://pentest-guide/SKILL.md

Build-time data step

The server embeds MITRE ATT&CK Enterprise data (~20 MB JSON) fetched by a one-time script into a gitignored path. Self-hosters and Docker builders must run this step before the server will start:

bun run scripts/refresh-attack.ts

This downloads the latest ATT&CK Enterprise JSON from the MITRE GitHub release endpoint, writes it to src/data/attack/enterprise.json (gitignored), and updates src/data/attack/version.ts with a version string such as Enterprise v16.1. The version file is committed; the JSON is not (too large for git history).

The Dockerfile handles this automatically — the build stage runs scripts/refresh-attack.ts before the TypeScript compile, so docker build produces a self-contained image.

If you clone the repo and skip this step, attack-service will fail fast at startup with an actionable error message pointing to scripts/refresh-attack.ts.

Run the script quarterly (or before each release) to pull the latest ATT&CK version.


Getting started

Connect to the hosted instance:

claude mcp add --transport http pentest-mcp-server https://pentest.caseyjhand.com/mcp

Or run it locally:

claude mcp add pentest-mcp-server -- npx -y @cyanheads/pentest-mcp-server

For other clients, add this to the MCP config file:

{

"mcpServers": { "pentest-mcp-server": { "command": "npx", "args": ["-y", "@cyanheads/pentest-mcp-server"] } } }

No API keys required. For Docker or a source build, see Running the server.


Configuration

No API keys required. The server is fully offline at runtime.

VariableDescriptionDefault
MCP_TRANSPORT_TYPETransport: stdio or http.stdio
MCP_HTTP_PORTPort for HTTP server.3010
MCP_AUTH_MODEAuth mode: none, jwt, or oauth.none

| `M

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx