Pentest Tools

com.pentest-tools由 pentest-tools.com 發布官方發布者v0.1.13更新於 Oct 24, 2026

MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

面向 Pentest-Tools.com 的遠端 MCP 伺服器,讓助理執行弱點掃描、管理目標與發現項目並產生報告。

可以做什麼
對目標執行 Website Scanner、Subdomain Finder 與 Network Scanner 掃描,支援深度掃描與免費掃描,並可透過自然語言提示串接成多階段偵察與分診流程。管理目標、工作區、掃描與發現項目,包括對結果進行分診。產生並下載報告,包括供區域團隊使用的翻譯版報告。
適用情境
當你希望由 AI 助理驅動對自有 Web 應用程式與網路基礎設施的授權安全測試時使用:發起掃描、檢視並分診發現項目、產生報告,不必離開對話。
執行需求
透過 streamable HTTP 連線 mcp.pentest-tools.com 遠端端點,或使用本機 Python 套件(Python 3.10+)以 ptt mcp 執行。需要付費方案提供的 Pentest-Tools.com API 金鑰,以 Authorization bearer 標頭傳送(本機可用 PTT_API_KEY 或 --key)。需要連線該服務的網路。
安裝前請注意
API 金鑰屬於憑證,請勿寫入共用設定或日誌。掃描會主動探測目標系統,只應掃描你獲授權測試的資產。伺服器可建立與修改目標、工作區、掃描與發現項目並產生報告,掃描活動與結果由 Pentest-Tools.com 保存。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Pentest Tools,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.pentest-tools%2Fmcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "pentest-tools": {
      "type": "http",
      "url": "https://mcp.pentest-tools.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Pentest-Tools.com CLI & MCP Server

Command-line interface, Python bindings, and MCP server for Pentest-Tools.com, a platform for scanning web applications and network infrastructure for vulnerabilities.

MCP Server

Connect any MCP-compatible AI assistant to your Pentest-Tools.com account to run scans, triage findings, and generate reports. You'll need an API key from a paid plan. Get one at My Account > API.

Supported clients: Claude, Cursor, VS Code, Gemini CLI, and any MCP-compatible tool. Full documentation: pentest-tools.com/docs/ai/mcp/overview

What you can do

  • Run Website Scanner, Subdomain Finder, and Network Scanner scans
  • Manage targets, workspaces, scans, and findings
  • Generate and download reports, including translated reports for regional teams
  • Chain tools into multi-phase workflows that include recon, vulnerability triage, and executive summaries, through plain language prompts

Quick setup: remote server (recommended)

For terminal-based clients, use directly:

Claude Code

bash
claude mcp add --transport http ptt-mcp https://mcp.pentest-tools.com/mcp --header "Authorization: Bearer your_api_key_here"

Gemini CLI

bash
gemini mcp add ptt-mcp --transport http https://mcp.pentest-tools.com/mcp --header "Authorization: Bearer your_api_key_here"

Cursor: paste this URL in your browser for one-click install, then add your API key:

cursor://anysphere.cursor-deeplink/mcp/install?name=ptt-mcp&config=eyJ1cmwiOiJodHRwczovL21jcC5wZW50ZXN0LXRvb2xzLmNvbS9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiJCZWFyZXIgeW91cl9hcGlfa2V5X2hlcmUifX0=

Or manually add according to your preferred agent and config file location:

{  "servers": {    "ptt-mcp": {      "type": "http",      "url": "https://mcp.pentest-tools.com/mcp",      "headers": { "Authorization": "Bearer your_api_key_here" }    }  }}

Local server

Requires Python 3.10+.

bash
pip install "pentesttools[mcp]"PTT_API_KEY=your_api_key_here ptt mcp

You can also pass the key inline: --key your_api_key_here. For client-specific local setup, see the full documentation.

CLI

Run scans from the terminal or integrate PTT into your scripts and CI/CD pipelines.

For AI assistant integration, see the MCP Server section above.

Installing

PentestTools Python module is delivered through PyPI, so it can be installed directly via pip:

bash
pip install pentesttools

Usage

The pentesttools package provides a command line interface through the ptt utility. Right now it supports the Website Scanner service.

Example for the simplest scan:

bash
ptt run website_scanner <url>

This runs a freemium Website Scanner scan on the <url>. Unlike in the platform itself, you can omit the schema part from the url.

Global arguments, like a suitable key for a deep scan, have to be passed straight to ptt. Tool arguments have to be passed to the tool.

bash
ptt --key <key> run website_scanner --scan_type deep <url>

If you want the command to fail if the report contains vulnerabilities with a higher risk than some value, you can use the --fail argument.

bash
ptt --fail high run website_scanner <url>

You can also run ptt using docker. The docker image has ptt as an entrypoint, so you don't have to type it anymore. Note that the old ptt-scan name is still used on docker.

bash
docker run pentesttoolscom/ptt-scan:latest run website_scanner <url>

Development installation

If you want to easily modify the sources and your modifications:

bash
pip install --edit .

Uninstalling

bash
pip uninstall pentesttools

Testing and Coverage

You can run the tests and make coverage reports like this:

bash
python3 -m pytest src/tests
bash
coverage run -m pytest src/testscoverage report -m

來源:README.md,提交 52361b7

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v0.1.13最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

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

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