Skip to main content
Glama

Adversary MCP Server

by brettbergin

adv_scan_folder

Scan directories for security vulnerabilities, detect exploits, and analyze code with customizable severity thresholds and output formats using advanced tools like Semgrep and LLM integration.

Instructions

Scan a folder for security vulnerabilities

Input Schema

NameRequiredDescriptionDefault
directory_pathYesPath to the directory to scan
include_exploitsNoWhether to include exploit examples
outputNoPath to output file for JSON results (optional, defaults to .adversary.json in project root)
output_formatNoOutput format for resultstext
recursiveNoWhether to scan subdirectories
severity_thresholdNoMinimum severity thresholdmedium
use_llmNoWhether to include LLM analysis prompts (for use with your client's LLM)
use_semgrepNoWhether to include Semgrep analysis

Input Schema (JSON Schema)

{ "properties": { "directory_path": { "description": "Path to the directory to scan", "type": "string" }, "include_exploits": { "default": true, "description": "Whether to include exploit examples", "type": "boolean" }, "output": { "description": "Path to output file for JSON results (optional, defaults to .adversary.json in project root)", "type": "string" }, "output_format": { "default": "text", "description": "Output format for results", "enum": [ "text", "json" ], "type": "string" }, "recursive": { "default": true, "description": "Whether to scan subdirectories", "type": "boolean" }, "severity_threshold": { "default": "medium", "description": "Minimum severity threshold", "enum": [ "low", "medium", "high", "critical" ], "type": "string" }, "use_llm": { "default": false, "description": "Whether to include LLM analysis prompts (for use with your client's LLM)", "type": "boolean" }, "use_semgrep": { "default": true, "description": "Whether to include Semgrep analysis", "type": "boolean" } }, "required": [ "directory_path" ], "type": "object" }
Install Server

Other Tools from Adversary MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brettbergin/adversary-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server