Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:0xSteph Pentest ai get findings mcp

From Leeroopedia
Knowledge Sources
Domains Security_Testing, MCP
Last Updated 2026-10-23 12:00 GMT

Overview

Concrete MCP tool that reads cumulative findings from an engagement with filters for severity, status, URL, and incremental polling via timestamp.

Description

The get_findings MCP tool lets the MCP host model read findings accumulated during an engagement. Findings include the verdict (candidate/verified/refuted) and a parsed receipt dict when oracle-verified.

Filters:

  • engagement_id: Filter to a specific engagement
  • severity: critical/high/medium/low/info
  • status: confirmed/pending/false_positive/unverified
  • url: LIKE match against the target field
  • since: ISO-8601 timestamp for incremental polling (only findings after this time)

Usage

This is an MCP tool called by the MCP host model to read engagement findings.

Code Reference

Source Location

Signature

@mcp.tool()
async def get_findings(
    engagement_id: str | None = None,
    severity: str | None = None,
    status: str | None = None,
    url: str | None = None,
    since: str | None = None,
) -> list[dict[str, Any]]:
    """Get findings with optional filters."""

I/O Contract

Inputs

Name Type Required Description
engagement_id None No Filter to a specific engagement
severity None No critical/high/medium/low/info
status None No confirmed/pending/false_positive/unverified
url None No LIKE match against target
since None No ISO-8601 for incremental polling

Outputs

Name Type Description
returns Each finding with verdict and parsed receipt (if oracle-verified)

Usage Examples

Called via MCP

Tool: get_findings
Arguments: {"engagement_id": "a1b2c3d4", "severity": "high"}

Response:
[
    {"id": "f1", "title": "SQL Injection in Login", "severity": "high",
     "verdict": "verified", "receipt": {...}},
    ...
]

Related Pages

Implements Principle

Requires Environment

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment