Pentest-Tools.com MCP by usefulapi
v1.2.1Read scans and findings; start website and network scans and update findings in Pentest-Tools.com.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pentesttoolscom_list_workspaces List workspaces
List the workspaces in the account. Use the workspace id in other calls. Pentest-Tools.com API: GET /api/v2/workspaces.
pentesttoolscom_list_targets List targets
List scan targets (hostnames, IP addresses or URLs) in the account or one workspace. Pentest-Tools.com API: GET /api/v2/targets.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
page | integer | Page number for pagination. |
type | string | Only targets of this type. |
workspace_id | integer | Workspace id (from pentesttoolscom_list_workspaces). |
pentesttoolscom_get_target Get a target
Get one target by id. Pentest-Tools.com API: GET /api/v2/targets/{id}.
| Parameter | Type | Description |
|---|---|---|
target_id * | integer | Target id (from pentesttoolscom_list_targets). |
pentesttoolscom_list_scans List scans
List scans, newest first, with status (running, finished, failed to start, stopped, timed out, and others). Filter by tool, workspace, target or status. Pentest-Tools.com API: GET /api/v2/scans.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
page | integer | Page number for pagination. |
status | string | Only scans with this status_name, for example running or finished. |
target_id | integer | Only scans of this target. |
tool_id | integer | Scanner tool id, for example 170 for Website Scanner. |
workspace_id | integer | Workspace id (from pentesttoolscom_list_workspaces). |
pentesttoolscom_get_scan Get scan status
Get one scan by id: its status_name (running, finished, ...), target and timing. Poll this after starting a scan. Pentest-Tools.com API: GET /api/v2/scans/{id}.
| Parameter | Type | Description |
|---|---|---|
scan_id * | integer | Scan id (from pentesttoolscom_start_* or pentesttoolscom_list_scans). |
pentesttoolscom_get_scan_output Get scan results
Get the structured JSON output of a finished scan (findings and details per tool). Large scans return much data. Pentest-Tools.com API: GET /api/v2/scans/{id}/output (limit 60 per minute).
| Parameter | Type | Description |
|---|---|---|
scan_id * | integer | Scan id of a finished scan. |
pentesttoolscom_get_scan_tests List scan tests
List the individual tests a scan ran, with their results. Pentest-Tools.com API: GET /api/v2/scans/{id}/tests.
| Parameter | Type | Description |
|---|---|---|
scan_id * | integer | Scan id. |
resource_id | integer | Only tests for this resource id. |
resource_type | string | Only tests for this resource type (see the scan output). |
pentesttoolscom_list_findings List findings
List vulnerability findings across scans. Filter by workspace, target or risk range. Risk levels: 0 info, 1 low, 2 medium, 3 high, 4 critical. Pentest-Tools.com API: GET /api/v2/findings.
| Parameter | Type | Description |
|---|---|---|
group_duplicates | boolean | Group duplicate findings into one. |
max_risk_level | integer | Highest risk level to include. |
min_risk_level | integer | Lowest risk level to include. |
target_id | integer | Only findings of this target. |
workspace_id | integer | Workspace id (from pentesttoolscom_list_workspaces). |
pentesttoolscom_get_finding Get a finding
Get one finding by id with its details, status, risk level and how to reproduce it. Pentest-Tools.com API: GET /api/v2/findings/{id}.
| Parameter | Type | Description |
|---|---|---|
finding_id * | integer | Finding id (from pentesttoolscom_list_findings). |
pentesttoolscom_list_reports List reports
List generated reports and their status. Pentest-Tools.com API: GET /api/v2/reports.
pentesttoolscom_get_report Get a report
Get one report's status and details by id. The file itself is downloaded in the Pentest-Tools.com app. Pentest-Tools.com API: GET /api/v2/reports/{id}.
| Parameter | Type | Description |
|---|---|---|
report_id * | integer | Report id (from pentesttoolscom_create_report). |
pentesttoolscom_add_target Add a target
Add a target (hostname, IP address or URL) to the account. Add only assets you are authorized to test. Pentest-Tools.com API: POST /api/v2/targets.
| Parameter | Type | Description |
|---|---|---|
name * | string | The target, for example example.com or https://example.com. |
description | string | Short note about the target. |
workspace_id | integer | Workspace id (from pentesttoolscom_list_workspaces). |
pentesttoolscom_start_website_scan Start a website scan
Start a Website Scanner run (tool 170) on a web target. Only scan targets you have written authorization to test. Starts paid scan time. light is the default and checks fewer items; deep runs more checks. Poll pentesttoolscom_get_scan. Pentest-Tools.com API: POST /api/v2/scans.
| Parameter | Type | Description |
|---|---|---|
max_scan_time | integer | Maximum run time in minutes (1-1440). |
scan_type | string | light (default) or deep. |
target_id | integer | Existing target id. Use this or target_name. |
target_name | string | A URL, for example https://example.com. Use this or target_id. |
workspace_id | integer | Workspace id (from pentesttoolscom_list_workspaces). |
pentesttoolscom_start_network_scan Start a network scan
Start a Network Scanner run (tool 350) on a host or IP address. Only scan hosts you have written authorization to test. Starts paid scan time. light covers the top 100 ports; deep covers the top 5000 TCP ports and runs more engines. Poll pentesttoolscom_get_scan. Pentest-Tools.com API: POST /api/v2/scans.
| Parameter | Type | Description |
|---|---|---|
max_scan_time | integer | Maximum run time in minutes (1-1440). |
preset | string | light (default) or deep. |
target_id | integer | Existing target id. Use this or target_name. |
target_name | string | A hostname or IP address. Use this or target_id. |
workspace_id | integer | Workspace id (from pentesttoolscom_list_workspaces). |
pentesttoolscom_stop_scan Stop a scan
Stop a scan that is still running. Stopping an already stopped scan has no further effect. Pentest-Tools.com API: POST /api/v2/scans/{id}/stop.
| Parameter | Type | Description |
|---|---|---|
scan_id * | integer | Scan id of a running scan. |
pentesttoolscom_update_finding Update a finding
Change a finding's status (open, false_positive, ignored, fixed, accepted) and/or its risk level. Risk levels: 0 info, 1 low, 2 medium, 3 high, 4 critical. Each change is recorded in the finding history with the reason you give. Pentest-Tools.com API: PATCH /api/v2/findings/{id}.
| Parameter | Type | Description |
|---|---|---|
finding_id * | integer | Finding id (from pentesttoolscom_list_findings). |
risk_level | integer | New risk level, 0 to 4. |
risk_reason | string | Why the risk level changes. |
status | string | New status. |
status_reason | string | Why the status changes. |
pentesttoolscom_create_report Create a report
Create a report (pdf, html, json, csv, xlsx or docx) for scans or findings. The report is built in the background: check it with pentesttoolscom_get_report, then download it in the app. Pentest-Tools.com API: POST /api/v2/reports.
| Parameter | Type | Description |
|---|---|---|
format * | string | Output format. |
group_by * | string | Group the report by target or by vulnerability. |
resources * | array | Scan ids (source scans) or finding ids (source findings). |
source * | string | Build the report from scans or findings. |