Gadriel AI Security Harness
Local security scanner for AI-written code: SAST, secrets, dependencies and config
- Pricing
- Freemium
- Platforms
- vscode, CLI
- Runs
- Locally
- Version
- 1.7.1
- Listing updated
- 3 days ago
About Gadriel AI Security Harness
Gadriel AI Security Harness is a freemium MCP server for security. It runs locally on your machine and is started by your AI client.
Gadriel works while the code is being written. It runs in the editor through MCP and flags problems before they reach git, and the code is scanned on your machine, with no upload. The README lists more than 3,000 rules and AI-specific risks such as prompt injection and the OWASP LLM Top 10. On first run it registers an anonymous device credential with app.gadriel.ai, which GADRIEL_NO_ANONYMOUS_AUTH=1 turns off.
The GitHub repository packages it for Copilot with repository instructions, slash prompts like /gadriel-scan and /gadriel-fix, and eight reviewer agents. Copilot has no edit-time hook, so scans there run on request; Cursor and Codex can block each edit. Claude Code, Windsurf and the VS Code extension are supported too.
The scanner is proprietary though the plugin repo is Apache-2.0.
Install
Run in a terminal
claude mcp add gadriel -- npx -y gadrielAdd to claude_desktop_config.json
{
"mcpServers": {
"gadriel": {
"command": "npx",
"args": [
"-y",
"gadriel"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gadriel": {
"command": "npx",
"args": [
"-y",
"gadriel"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"gadriel": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gadriel"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gadriel": {
"command": "npx",
"args": [
"-y",
"gadriel"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gadriel": {
"command": "npx",
"args": [
"-y",
"gadriel"
]
}
}
}Configuration
GADRIEL_NO_ANONYMOUS_AUTHSet to 1 to skip anonymous device registration with app.gadriel.ai.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- validate_file
- Scans a file.
- findings_for_path
- Returns findings for a path.
- fix_finding
- Proposes a fix for a finding.
- validate_buffer
- Scans unsaved editor content.
What it does
- Many scan types
- SAST, SCA, secrets, IaC, containers, APIs and configuration.
- AI-risk rules
- Covers prompt injection and OWASP LLM Top 10.
- Local scanning
- Code is not uploaded.
- Editor integrations
- Copilot, Claude Code, Cursor, Windsurf and VS Code.
- Fix assistance
- A tool proposes fixes for a finding.
- Compliance mapping
- Findings mapped to frameworks such as EU AI Act and NIST AI RMF.
Good for
- Scan a repo from Copilot Chat and summarise findings
- Catch hard-coded secrets as an assistant writes code
- Check dependencies against vulnerability feeds
- Add inline guardrails in Cursor
Pricing
Freemium, from $30 a month
Free for individuals; Team $30 per developer per month; Enterprise custom
Prices change. Check gadriel.ai before you buy.
Gadriel AI Security Harness FAQ
Does my code leave my machine?
The README says code is scanned locally and never uploaded.
Is there a free tier?
Yes, free for individual developers with unlimited local scans; Team is $30 per developer per month.
Can I opt out of device registration?
Yes, set GADRIEL_NO_ANONYMOUS_AUTH=1.
How do I run the MCP server?
npx -y gadriel@1.7.0 code mcp, or install the VS Code extension.
Is Gadriel AI Security Harness free?
Gadriel AI Security Harness has a free plan, with paid plans for more usage or features. Paid plans start at $30 a month.
How do I add Gadriel AI Security Harness to Claude Code?
Run this command in your terminal: claude mcp add gadriel -- npx -y gadriel
What are the best alternatives to Gadriel AI Security Harness?
The closest alternatives to Gadriel AI Security Harness are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Gadriel AI Security Harness

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools