Skip to main content
Glama

🚧 SecPipe AI is under active development. Expect breaking changes and new features!


πŸš€ Overview

SecPipe AI is an open-source MCP server that enables AI agents (GitHub Copilot, Claude, etc.) to orchestrate security research workflows through the Model Context Protocol (MCP).

SecPipe connects your AI assistant to MCP tool hubs β€” collections of containerized security tools that the agent can discover, chain, and execute autonomously. Instead of manually running security tools, describe what you want and let your AI assistant handle it.

The Core: Hub Architecture

SecPipe acts as a meta-MCP server β€” a single MCP endpoint that gives your AI agent access to tools from multiple MCP hub servers. Each hub server is a containerized security tool (Binwalk, YARA, Radare2, Nmap, etc.) that the agent can discover at runtime.

  • πŸ” Discovery: The agent lists available hub servers and discovers their tools

  • πŸ€– AI-Native: Hub tools provide agent context β€” usage tips, workflow guidance, and domain knowledge

  • πŸ”— Composable: Chain tools from different hubs into automated pipelines

  • πŸ“¦ Extensible: Add your own MCP servers to the hub registry

🎬 Use Case: Firmware Vulnerability Research

Scenario: Analyze a firmware image to find security vulnerabilities β€” fully automated by an AI agent.

User: "Search for vulnerabilities in firmware.bin"

Agent β†’ Binwalk:  Extract filesystem from firmware image
Agent β†’ YARA:     Scan extracted files for vulnerability patterns
Agent β†’ Radare2:  Trace dangerous function calls in prioritized binaries
Agent β†’ Report:   8 vulnerabilities found (2 critical, 4 high, 2 medium)

🎬 Use Case: Rust Fuzzing Pipeline

Scenario: Fuzz a Rust crate to discover vulnerabilities using AI-assisted harness generation and parallel fuzzing.

User: "Fuzz the blurhash crate for vulnerabilities"

Agent β†’ Rust Analyzer:  Identify fuzzable functions and attack surface
Agent β†’ Harness Gen:    Generate and validate fuzzing harnesses
Agent β†’ Cargo Fuzzer:   Run parallel coverage-guided fuzzing sessions
Agent β†’ Crash Analysis:  Deduplicate and triage discovered crashes

Related MCP server: Hercules MCP

⭐ Support the Project

If you find SecPipe useful, please star the repo to support development! πŸš€


✨ Features

Feature

Description

πŸ€– AI-Native

Built for MCP β€” works with GitHub Copilot, Claude, and any MCP-compatible agent

πŸ”Œ Hub System

Connect to MCP tool hubs β€” each hub brings dozens of containerized security tools

πŸ” Tool Discovery

Agents discover available tools at runtime with built-in usage guidance

πŸ”— Pipelines

Chain tools from different hubs into automated multi-step workflows

πŸ”„ Persistent Sessions

Long-running tools (Radare2, fuzzers) with stateful container sessions

🏠 Local First

All execution happens on your machine β€” no cloud required

πŸ”’ Sandboxed

Every tool runs in an isolated container via Docker or Podman


πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     AI Agent (Copilot/Claude)                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚ MCP Protocol (stdio)
                            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     SecPipe MCP Server                           β”‚
β”‚                                                                 β”‚
β”‚  Projects          Hub Discovery         Hub Execution          β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚init_project  β”‚  β”‚list_hub_servers  β”‚  β”‚execute_hub_tool   β”‚  β”‚
β”‚  β”‚set_assets    β”‚  β”‚discover_hub_toolsβ”‚  β”‚start_hub_server   β”‚  β”‚
β”‚  β”‚list_results  β”‚  β”‚get_tool_schema   β”‚  β”‚stop_hub_server    β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚ Docker/Podman
                            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     MCP Hub Servers                             β”‚
β”‚                                                                 β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚ Binwalk   β”‚  β”‚   YARA    β”‚  β”‚ Radare2   β”‚  β”‚   Nmap    β”‚   β”‚
β”‚  β”‚  6 tools  β”‚  β”‚  5 tools  β”‚  β”‚ 32 tools  β”‚  β”‚  8 tools  β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚ Nuclei    β”‚  β”‚  SQLMap   β”‚  β”‚  Trivy    β”‚  β”‚   ...     β”‚   β”‚
β”‚  β”‚  7 tools  β”‚  β”‚  8 tools  β”‚  β”‚  7 tools  β”‚  β”‚  36 hubs  β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”§ MCP Security Hub

SecPipe ships with built-in support for the MCP Security Hub β€” a collection of 36 production-ready, Dockerized MCP servers covering offensive security:

Category

Servers

Examples

πŸ” Reconnaissance

8

Nmap, Masscan, Shodan, WhatWeb

🌐 Web Security

6

Nuclei, SQLMap, ffuf, Nikto

πŸ”¬ Binary Analysis

6

Radare2, Binwalk, YARA, Capa, Ghidra

⛓️ Blockchain

3

Medusa, Solazy, DAML Viewer

☁️ Cloud Security

3

Trivy, Prowler, RoadRecon

πŸ’» Code Security

1

Semgrep

πŸ”‘ Secrets Detection

1

Gitleaks

πŸ’₯ Exploitation

1

SearchSploit

🎯 Fuzzing

2

Boofuzz, Dharma

πŸ•΅οΈ OSINT

2

Maigret, DNSTwist

πŸ›‘οΈ Threat Intel

2

VirusTotal, AlienVault OTX

🏰 Active Directory

1

BloodHound

185+ individual tools accessible through a single MCP connection.

The hub is open source and can be extended with your own MCP servers. See the mcp-security-hub repository for details.


πŸ“¦ Installation

Prerequisites

Quick Install

# Clone the repository
git clone https://github.com/FuzzingLabs/secpipe_ai.git
cd secpipe_ai

# Install dependencies
uv sync
# Clone the MCP Security Hub
git clone https://github.com/FuzzingLabs/mcp-security-hub.git ~/.secpipe/hubs/mcp-security-hub

# Build the Docker images for the hub tools
./scripts/build-hub-images.sh

Or use the terminal UI (uv run secpipe ui) to link hubs interactively.

Configure MCP for Your AI Agent

# For GitHub Copilot
uv run secpipe mcp install copilot

# For Claude Code (CLI)
uv run secpipe mcp install claude-code

# For Claude Desktop (standalone app)
uv run secpipe mcp install claude-desktop

# Verify installation
uv run secpipe mcp status

Restart your editor and your AI agent will have access to SecPipe tools!


πŸ§‘β€πŸ’» Usage

Once installed, just talk to your AI agent:

"What security tools are available?"
"Scan this firmware image for vulnerabilities"
"Analyze this binary with radare2"
"Run nuclei against https://example.com"

The agent will use SecPipe to discover the right hub tools, chain them into a pipeline, and return results β€” all without you touching a terminal.

See the Usage Guide for detailed setup and advanced workflows.


πŸ“ Project Structure

secpipe_ai/
β”œβ”€β”€ secpipe-mcp/           # MCP server β€” the core of SecPipe
β”œβ”€β”€ secpipe-cli/           # Command-line interface & terminal UI
β”œβ”€β”€ secpipe-common/        # Shared abstractions (containers, storage)
β”œβ”€β”€ secpipe-runner/        # Container execution engine (Docker/Podman)
β”œβ”€β”€ secpipe-tests/         # Integration tests
β”œβ”€β”€ mcp-security-hub/        # Default hub: 36 offensive security MCP servers
└── scripts/                 # Hub image build scripts

🀝 Contributing

We welcome contributions from the community!

  • πŸ› Report bugs via GitHub Issues

  • πŸ’‘ Suggest features or improvements

  • πŸ”§ Submit pull requests

  • πŸ”Œ Add new MCP servers to the Security Hub

See CONTRIBUTING.md for guidelines.


πŸ“„ License

BSL 1.1 - See LICENSE for details.


Available Tools

24 tools
add_hub_serverA

Add a new MCP server to the hub.

Register a new external MCP server that can be used for tool discovery and execution. Servers can be Docker images, local commands, or SSE endpoints.

:param name: Unique name for the server (e.g., "nmap", "nuclei"). :param server_type: Connection type ("docker", "command", or "sse"). :param image: Docker image name (for docker type). :param command: Command and args (for command type). :param url: SSE endpoint URL (for sse type). :param category: Category for grouping (e.g., "reconnaissance"). :param description: Human-readable description. :param capabilities: Docker capabilities to add (e.g., ["NET_RAW"]). :param environment: Environment variables to pass. :return: Information about the added server.

Examples:

  • Docker: add_hub_server("nmap", "docker", image="nmap-mcp:latest", capabilities=["NET_RAW"])

  • Command: add_hub_server("custom", "command", command=["python", "server.py"])

Inputs: name (required), server_type (required), image, command, +5 more. Returns: object

discover_hub_toolsA

Discover tools from hub servers.

Connects to hub servers and retrieves their available tools. If server_name is provided, only discovers from that server. Otherwise discovers from all enabled servers.

:param server_name: Optional specific server to discover from. :return: Dictionary with discovered tools.

Inputs: server_name. Returns: object

execute_hub_toolA

Execute a tool from a hub server.

:param identifier: Tool identifier (format: hub:server:tool or server:tool). :param arguments: Tool arguments matching the tool's input schema. :param timeout: Optional execution timeout in seconds. :return: Tool execution result.

Example identifiers:

  • "hub:binwalk-mcp:binwalk_scan"

  • "hub:yara-mcp:yara_scan_with_rules"

  • "hub:nmap:nmap_scan"

FILE ACCESS β€” if set_project_assets was called, the assets directory is mounted read-only inside the container at two standard paths:

  • /app/uploads/ (used by binwalk, and tools with UPLOAD_DIR)

  • /app/samples/ (used by yara, capa, and tools with SAMPLES_DIR) Always use /app/uploads/ or /app/samples/ when passing file paths to hub tools β€” do NOT use the host path.

Tool outputs are persisted to a writable shared volume:

  • /app/output/ (writable β€” extraction results, reports, etc.) Files written here survive container destruction and are available to subsequent tool calls. The host path is .secpipe/output/.

Inputs: identifier (required), arguments, timeout. Returns: object

generate_reportA

Generate a comprehensive analysis report for the current project.

Aggregates all execution history, tool outputs, and tracked artifacts into a structured report. The report is saved to .secpipe/reports/ and its content is returned so the agent can read it immediately.

:param title: Optional report title. Defaults to the project folder name. :param report_format: Output format β€” "markdown" (default) or "json". :param output_path: Optional absolute path to save the report. When omitted, the report is saved automatically to .secpipe/reports/. :return: Report content, save path, and counts of included items.

Inputs: title, report_format, output_path. Returns: object

get_artifactA

Get metadata for a specific artifact by its container path.

:param path: Container path of the artifact (e.g. /app/output/extract_abc123/squashfs-root/usr/sbin/httpd). :return: Artifact metadata including path, type, size, source tool, and timestamps.

Inputs: path (required). Returns: object

get_continuous_hub_statusA

Get live status of a continuous hub tool session.

Returns current metrics, progress, and recent output from the running tool. Call periodically (every 10-30 seconds) to monitor.

:param session_id: Session ID returned by start_continuous_hub_tool. :return: Current status with metrics (executions, coverage, crashes, etc.).

Inputs: session_id (required). Returns: object

get_execution_resultsB

Get results for a specific execution.

:param execution_id: The execution ID to retrieve results for. :param extract_to: Optional directory to extract results to. :return: Result including path to results archive.

Inputs: execution_id (required), extract_to. Returns: object

get_hub_tool_schemaA

Get the input schema for a hub tool.

Returns the JSON Schema that describes the tool's expected arguments.

:param identifier: Tool identifier (format: hub:server:tool or server:tool). :return: JSON Schema for the tool's input.

Inputs: identifier (required). Returns: object

hub_server_statusA

Get status of persistent hub server sessions.

If server_name is provided, returns status for that specific server. Otherwise returns status for all active persistent sessions.

:param server_name: Optional specific server to check. :return: Session status information.

Inputs: server_name. Returns: object

init_projectA

Initialize a new SecPipe project workspace.

Creates a .secpipe/ directory for storing configuration and execution results. Call this once before using hub tools. The project path is a working directory for SecPipe state β€” it does not need to contain the files you want to analyze. Use set_project_assets separately to specify the target files.

:param project_path: Working directory for SecPipe state. Defaults to current directory. :return: Project initialization result.

Inputs: project_path. Returns: object

list_artifactsA

List all artifacts produced by hub tools in the current project.

Artifacts are files created by tool executions in /app/output/. They are automatically tracked after each execute_hub_tool call.

:param source: Filter by source server name (e.g. "binwalk-mcp"). :param artifact_type: Filter by type (e.g. "elf-binary", "json", "text", "archive"). :return: List of artifacts with path, type, size, and source info.

Inputs: source, artifact_type. Returns: object

list_continuous_hub_sessionsA

List all active and recent continuous hub tool sessions.

:return: List of sessions with their status and server info.

Inputs: no named parameters. Returns: object

list_executionsA

List all executions for the current project.

Returns execution summaries including server, tool, timestamp, and success status.

:return: List of execution summaries.

Inputs: no named parameters. Returns: object

list_hub_serversA

List all registered MCP hub servers.

Returns information about configured hub servers, including their connection type, status, and discovered tool count.

:param category: Optional category to filter by (e.g. "binary-analysis", "web-security", "reconnaissance"). Only servers in this category are returned. :return: Dictionary with list of hub servers.

Inputs: category. Returns: object

list_hub_toolsA

List all discovered hub tools.

Returns tools that have been previously discovered from hub servers. Run discover_hub_tools first if no tools are listed.

:return: Dictionary with list of discovered tools.

Inputs: no named parameters. Returns: object

list_reportsA

List all generated reports for the current project.

Reports are stored in .secpipe/reports/ and are ordered newest-first.

:return: List of report files with filename, path, size, and creation time.

Inputs: no named parameters. Returns: object

list_skillsB

List available skill packs.

Skill packs provide domain-specific pipeline guidance for AI agents. They describe analysis methodologies and list the hub servers needed. Project-local skills (.secpipe/skills/) override built-in skills.

:return: List of available skills with name, summary, and server list.

Inputs: no named parameters. Returns: object

load_skillA

Load a skill pack to guide the current analysis session.

A skill pack provides a pipeline description and specifies which hub servers are relevant. Once loaded, the pipeline description is available as context and only the listed servers need discovery.

:param name: Skill name (e.g. "firmware-analysis"). :return: Loaded skill with full description and server list.

Inputs: name (required). Returns: object

set_project_assetsA

Set the directory containing target files to analyze.

Points SecPipe to the directory with your analysis targets (firmware images, binaries, source code, etc.). This directory is mounted read-only into hub tool containers.

:param assets_path: Path to the directory containing files to analyze. :return: Result including stored assets path.

Inputs: assets_path (required). Returns: object

start_continuous_hub_toolA

Start a continuous/background tool on a hub server.

Automatically starts a persistent container if not already running, then calls the server's start tool (e.g., cargo_fuzz_start) which launches a background process and returns a session_id.

The tool runs indefinitely until stopped with stop_continuous_hub_tool. Use get_continuous_hub_status to monitor progress.

Example workflow for continuous cargo fuzzing:

  1. start_continuous_hub_tool("cargo-fuzzer-mcp", "cargo_fuzz_start", {"project_path": "/data/myproject"})

  2. get_continuous_hub_status(session_id) -- poll every 10-30s

  3. stop_continuous_hub_tool(session_id) -- when done

:param server_name: Hub server name (e.g., "cargo-fuzzer-mcp"). :param start_tool: Name of the start tool on the server. :param arguments: Arguments for the start tool. :return: Start result including session_id for monitoring.

Inputs: server_name (required), start_tool (required), arguments. Returns: object

start_hub_serverA

Start a persistent container session for a hub server.

Starts a Docker container that stays running between tool calls, allowing stateful interactions. Tools are auto-discovered on start.

Use this for servers like radare2 or ghidra where you want to keep an analysis session open across multiple tool calls.

After starting, use execute_hub_tool as normal - calls will be routed to the persistent container automatically.

:param server_name: Name of the hub server to start (e.g., "radare2-mcp"). :return: Session status with container name and start time.

Inputs: server_name (required). Returns: object

stop_continuous_hub_toolA

Stop a running continuous hub tool session.

Gracefully stops the background process and returns final results including total metrics and any artifacts (crash files, etc.).

:param session_id: Session ID of the session to stop. :return: Final metrics and results summary.

Inputs: session_id (required). Returns: object

stop_hub_serverA

Stop a persistent container session for a hub server.

Terminates the running Docker container and cleans up resources. After stopping, tool calls will fall back to ephemeral mode (a new container per call).

:param server_name: Name of the hub server to stop. :return: Result indicating if the session was stopped.

Inputs: server_name (required). Returns: object

unload_skillA

Unload the currently active skill pack.

Clears the active pipeline guidance. The agent returns to generic mode.

:return: Confirmation of unload.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 24 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose. Potential overlaps like hub_server_status vs get_continuous_hub_status are well-explained in descriptions, and no two tools do the same thing.

    Naming Consistency4/5

    All tool names use snake_case and most follow a verb_noun pattern. However, 'hub_server_status' is a noun phrase that breaks the verb-first convention, causing minor inconsistency.

    Tool Count4/5

    24 tools is appropriate for a security orchestration and analysis framework. It covers hub management, project setup, execution, and reporting without being excessive.

    Completeness4/5

    Core workflows like adding servers, discovering tools, executing, retrieving results, and generating reports are covered. Missing delete/update operations for hub servers and skills are minor gaps.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that exposes over 20 standard penetration testing utilities, such as Nmap, SQLMap, and OWASP ZAP, as callable tools for AI agents. It enables natural language control over complex security workflows for automated and interactive penetration testing.
      120
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to perform professional penetration testing through a containerized Kali Linux environment, exposing industry-standard offensive security tools as structured MCP tools.
      45
      6
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants to autonomously execute over 200 open-source penetration testing tools via MCP, including reconnaissance, web exploitation, and brute-forcing, through a unified server architecture with Docker sandboxing for safe execution.
      32
      63
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables natural-language-driven security testing by orchestrating multiple pen-testing tools through MCP, with automated scan execution and AI-assisted vulnerability summarization.
      -