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 list probes mcp

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

Overview

Concrete MCP tool that lists every registered web/AD probe with metadata (bug class, severity, auth requirement, runtime budget), enabling the MCP client to discover and select probes by name.

Description

The list_probes MCP tool discovers what bug classes pentest-ai can test for. It imports the probe registration modules (engine.probes.web, engine.probes.ad) to trigger @probe decorators, then returns all registered probes with their metadata.

Filters:

  • bug_class: Only return probes for a specific bug class (sqli, idor, ssti, race_condition, etc.)
  • requires_auth_only: Only return probes that need a logged-in session

Each probe entry includes: name, bug_class, severity_max, requires_auth, runtime_budget_s, owasp, tags.

Usage

This is an MCP tool called by the MCP host model to discover available probes.

Code Reference

Source Location

Signature

@mcp.tool()
async def list_probes(
    bug_class: str = "",
    requires_auth_only: bool = False,
) -> list[dict[str, Any]]:
    """List every registered web probe with its metadata."""

I/O Contract

Inputs

Name Type Required Description
bug_class str No Filter to a specific bug class
requires_auth_only bool No Only return auth-gated probes

Outputs

Name Type Description
returns Each: name, bug_class, severity_max, requires_auth, runtime_budget_s, owasp, tags

Usage Examples

Called via MCP

Tool: list_probes
Arguments: {"bug_class": "sqli"}

Response:
[
    {"name": "sqli_login_bypass", "bug_class": "sqli", "severity_max": "critical",
     "requires_auth": false, "runtime_budget_s": 30, "owasp": "A03", "tags": ["auth", "login"]},
    ...
]

Related Pages

Implements Principle

Requires Environment

Page Connections

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