Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
OPENAI_API_KEY | No | OpenAI API key for LLM-based exploit generation (optional) | |
ADVERSARY_CONFIG_DIR | No | Directory where the Adversary MCP server stores its configuration | ~/.adversary-mcp |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
adv_scan_code | Scan source code for security vulnerabilities |
adv_scan_file | Scan a file for security vulnerabilities |
adv_scan_folder | Scan a folder for security vulnerabilities |
adv_diff_scan | Scan security vulnerabilities in git diff changes between branches |
adv_generate_exploit | Generate exploit for a specific vulnerability |
adv_configure_settings | Configure adversary MCP server settings |
adv_get_status | Get server status and configuration |
adv_get_version | Get version information |
adv_mark_false_positive | Mark a finding as a false positive |
adv_unmark_false_positive | Remove false positive marking from a finding |
adv_list_false_positives | List all findings marked as false positives |