Skip to main content
Glama

Adversary MCP Server

by brettbergin

adv_scan_code

Scan source code for security vulnerabilities using customizable severity thresholds, exploit examples, and validation techniques. Results are saved in JSON or Markdown formats for detailed analysis.

Instructions

Scan source code for security vulnerabilities. Results are saved as .adversary.json or .adversary.md in the specified directory.

Input Schema

NameRequiredDescriptionDefault
contentYesSource code content to scan
include_exploitsNoWhether to include exploit examples
output_formatNoOutput format for results (json or markdown)json
pathNoDirectory path where results should be saved.
severity_thresholdNoMinimum severity threshold (low, medium, high, critical)medium
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": { "content": { "description": "Source code content to scan", "type": "string" }, "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": { "default": ".", "description": "Directory path where results should be saved", "type": "string" }, "severity_threshold": { "default": "medium", "description": "Minimum severity threshold (low, medium, high, critical)", "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": [ "content" ], "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