Garak-MCP
1
The project is a lightweight MCP (Model Context Protocol) server designed to work with Garak, a LLM vulnerability scanner. It offers tools for listing model types and vulnerabilities, executing attacks, and generating reports.
MCP Server For Garak LLM Vulnerability Scanner
A lightweight MCP server for Garak providing tools:
- list_model_types: List all supported model types (ollama, openai, huggingface, ggml)
- list_models: List models for a specific type
- list_garak_probes: List available Garak attacks/probes
- get_report: Get the last run report
- run_attack: Execute an attack with specified model and probe
Prerequisites
- Python 3.11 or higher
- Install
uv
: Use pip or Homebrew - Optional: Ollama
Installation
- Clone this repository
- Configure your MCP Host
Future Steps
- Add Smithery AI support
- Improve reporting
- Validate OpenAI, HuggingFace, local GGML models