Skip to main content
Glama

Adversary MCP Server

by brettbergin

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoOpenAI API key for LLM-based exploit generation (optional)
ADVERSARY_CONFIG_DIRNoDirectory where the Adversary MCP server stores its configuration~/.adversary-mcp

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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

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