Skip to main content
Glama

Adversary MCP Server

by brettbergin

adv_diff_scan

Identify and analyze security vulnerabilities in git diff changes between branches, detect exploits, and generate insights using Semgrep and LLM analysis for proactive risk mitigation.

Instructions

Scan security vulnerabilities in git diff changes between branches

Input Schema

NameRequiredDescriptionDefault
include_exploitsNoWhether to include exploit examples
output_formatNoOutput format for resultstext
severity_thresholdNoMinimum severity threshold (low, medium, high, critical)medium
source_branchYesSource branch name (e.g., 'feature-branch')
target_branchYesTarget branch name (e.g., 'main')
use_llmNoWhether to include LLM analysis prompts (for use with your client's LLM)
use_semgrepNoWhether to include Semgrep analysis
working_directoryNoWorking directory path for git operations (defaults to current directory).

Input Schema (JSON Schema)

{ "properties": { "include_exploits": { "default": true, "description": "Whether to include exploit examples", "type": "boolean" }, "output_format": { "default": "text", "description": "Output format for results", "enum": [ "text", "json" ], "type": "string" }, "severity_threshold": { "default": "medium", "description": "Minimum severity threshold (low, medium, high, critical)", "enum": [ "low", "medium", "high", "critical" ], "type": "string" }, "source_branch": { "description": "Source branch name (e.g., 'feature-branch')", "type": "string" }, "target_branch": { "description": "Target branch name (e.g., 'main')", "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" }, "working_directory": { "default": ".", "description": "Working directory path for git operations (defaults to current directory)", "type": "string" } }, "required": [ "source_branch", "target_branch" ], "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