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:AIPentest CyberStrikeAI MCP Pent Claude Agent Server

From Leeroopedia
Knowledge Sources
Domains MCP_Server, Multi_Agent, Pentest
Last Updated 2026-10-19 04:10 GMT

Overview

Concrete tool implementing the standalone Python MCP server for the pent_claude_agent — a Claude sub-agent that executes delegated pentest tasks, exposing 5 tools over MCP, provided by the mcp-servers/pent_claude_agent package.

Description

Uses the mcp Python SDK to implement a stdio MCP server exposing 5 tools (run_pentest_task, analyze_vulnerability, agent_execute, agent_diagnose, status). Internally drives a Claude-based agent (via claude-agent-sdk) configured from pent_claude_agent_config.yaml. Configurable with its own MCP servers/tools. The standalone MCP server that makes CyberStrikeAI a multi-agent pentest orchestrator — a Claude sub-agent executes delegated pentest tasks.

Usage

  • Federate via MCP: register this server as an external MCP server; CyberStrikeAI delegates pentest tasks to the Claude sub-agent.
  • Sub-agent delegation: run_pentest_task drives a Claude agent to perform a scoped pentest objective.

Code Reference

Source Location

Signature

# stdio MCP server exposing 5 tools:
#   run_pentest_task(objective, context)  -> drives a Claude sub-agent to perform a pentest objective
#   analyze_vulnerability(finding)       -> Claude sub-agent analyzes a vulnerability
#   agent_execute(command)               -> execute an agent action
#   agent_diagnose(issue)                -> Claude sub-agent diagnoses an issue
#   status()                             -> sub-agent runtime status

def main() -> None  # MCP server entry; config from pent_claude_agent_config.yaml

Import

# Run as a standalone script (python mcp_pent_claude_agent.py)
# Registered by CyberStrikeAI as an external MCP server.

I/O Contract

Inputs

Name Type Required Description
objective string Yes (run_pentest_task) Scoped pentest objective
context string No (run_pentest_task) Engagement context
finding string Yes (analyze_vulnerability) Vulnerability to analyze

Outputs

Name Type Description
run_pentest_task returns string Sub-agent execution result
status returns dict Sub-agent runtime state

Usage Examples

Delegate a Pentest Task

# Federated as MCP tools by CyberStrikeAI:
result = run_pentest_task(
    objective="Enumerate subdomains of example.com",
    context="external black-box",
)

Related Pages

Implements Principle

Requires Environment

Page Connections

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