Skip to main content
Glama

Adversary MCP Server

by brettbergin

adv_scan_code

Scan source code for security vulnerabilities, identify issues by severity, and generate exploit examples using advanced analysis tools like Semgrep and LLM prompts. Integrate with development workflows for real-time security insights.

Instructions

Scan source code for security vulnerabilities

Input Schema

NameRequiredDescriptionDefault
contentYesSource code content to scan
include_exploitsNoWhether to include exploit examples
languageYesProgramming language
outputNoPath to output file for JSON results (optional, defaults to .adversary.json in project root)
output_formatNoOutput format for resultstext
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

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" }, "language": { "description": "Programming language", "enum": [ "python", "javascript", "typescript", "html", "css", "json", "yaml", "xml", "php", "shell", "dockerfile", "go", "ruby", "java", "csharp", "sql", "terraform", "generic" ], "type": "string" }, "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" }, "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" } }, "required": [ "content", "language" ], "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