Skip to main content
Glama

Adversary MCP Server

by brettbergin

adv_scan_file

Scan files for security vulnerabilities using customizable severity thresholds, exploit analysis, and Semgrep integration. Results are saved locally in JSON or markdown format.

Instructions

Scan a file for security vulnerabilities. Results are saved in the same directory as the target file.

Input Schema

NameRequiredDescriptionDefault
include_exploitsNoWhether to include exploit examples
output_formatNoOutput format for results (json or markdown)json
pathYesPath to the file to scan (must be a file, not a directory)
severity_thresholdNoMinimum severity thresholdmedium
use_llmNoWhether to include LLM analysis prompts (for use with your client's LLM)
use_semgrepNoWhether to include Semgrep analysis
use_validationNoWhether to use LLM validation to filter false positives

Input Schema (JSON Schema)

{ "properties": { "include_exploits": { "default": true, "description": "Whether to include exploit examples", "type": "boolean" }, "output_format": { "default": "json", "description": "Output format for results (json or markdown)", "enum": [ "json", "markdown" ], "type": "string" }, "path": { "description": "Path to the file to scan (must be a file, not a directory)", "type": "string" }, "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" }, "use_validation": { "default": true, "description": "Whether to use LLM validation to filter false positives", "type": "boolean" } }, "required": [ "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