bawbel-mcp
A security scanner for MCP servers and agentic AI components, exposed as MCP tools.
Scan raw text, skill files, prompts, and MCP tool descriptions for AVE vulnerabilities.
Fetch and scan an MCP server-card before connecting to detect discovery-layer poisoning.
Run focused scans for hardcoded credentials and unsafe sub-agent delegation chains.
Score an MCP server manifest against the MCP spec with 18 checks and an A+ to F grade.
Insert justified suppressions with reason, reviewer, and optional expiry for accepted risks.
Look up, search, and list AVE threat-intelligence records with severity and OWASP MCP categories.
Check skill-file directories for rug-pull drift against stored SHA-256 pins.
Access AVE statistics and full AVE records as MCP resources.
Bawbel MCP Server
Security scanner for MCP servers and agentic AI components, exposed as MCP tools.
Bawbel MCP Server lets any MCP-compatible agent scan servers, check skill files, score conformance, manage justified suppressions, and query the AVE threat intelligence database mid-conversation.
Install
pip install bawbel-mcpOr with all detection engines (YARA, Semgrep, LLM, Magika, Sandbox):
pip install "bawbel-mcp[all]"Related MCP server: depguard
Tools
Tool | Description |
| Scan raw text content for AVE vulnerabilities |
| Fetch and scan an MCP server-card before connecting |
| Credential-focused scan (API keys, tokens, passwords, private keys) |
| Delegation chain scan (unsafe sub-agent spawning and inherited permissions) |
| Score a server manifest against the MCP spec (18 checks, A+ to F) |
| Insert a justified suppression with reason, reviewer, and optional expiry |
| Get a full AVE record by ID with remediation guidance |
| Search AVE records by keyword |
| List all AVE records with optional severity/category filters |
| Detect rug pull drift in a directory of skill files |
Resources
Resource | Description |
| AVE record counts by severity, from the published AVE corpus |
| Full AVE record for a specific ID |
Usage
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"bawbel": {
"command": "uvx",
"args": ["bawbel-mcp"]
}
}
}Claude Code
claude mcp add bawbel uvx bawbel-mcpCursor / Windsurf
Add to your MCP settings:
{
"bawbel": {
"command": "uvx",
"args": ["bawbel-mcp"]
}
}Remote deployment (Streamable HTTP)
uvx bawbel-mcp --transport streamable-http --host 0.0.0.0 --port 8000Example conversations
Scan a server before connecting:
"Before I add this MCP server to my config, scan it for security issues: https://api.some-mcp-server.com"
Claude calls scan_server_card("https://api.some-mcp-server.com") and reports
findings with AVE IDs, AIVSS severity scores, and remediation steps.
Check a skill file:
"Check this skill file content for prompt injection vulnerabilities"
Claude calls scan_content(content) and returns findings including any
toxic flow chains detected.
Check for hardcoded credentials:
"Does this skill file contain any hardcoded API keys or secrets?"
Claude calls scan_creds(content) and returns credential findings only.
Check for unsafe delegation:
"Does this skill spawn sub-agents without proper trust boundaries?"
Claude calls scan_chain(content) and returns delegation chain findings.
Accept a false positive:
"Mark AVE-2026-00001 on line 7 of travel.md as a false positive. Reason: internal registry endpoint, not attacker-controlled."
Claude calls accept_finding(...) and writes the justified suppression
comment directly into the file. The approval is tracked in version control.
Score a server against the spec:
"Does this server follow the MCP spec? https://api.some-mcp-server.com"
Claude calls check_conformance("https://api.some-mcp-server.com") and
returns a score, grade, and list of failed checks.
Look up a vulnerability:
"What is AVE-2026-00041 and how do I fix it?"
Claude calls lookup_ave("AVE-2026-00041") and returns the full record
with behavioral fingerprint, IOCs, and remediation steps.
Search for relevant vulnerabilities:
"What AVE records cover credential exfiltration?"
Claude calls search_ave("credential exfiltration") and returns matching
records with AIVSS scores and OWASP MCP categories.
Audit mode - see all findings including suppressed:
"Scan this file and show me everything, including suppressed findings."
Claude calls scan_content(content, no_ignore=True) and bypasses all
suppression layers.
AVE data and configuration
lookup_ave and search_ave query the AVE API first. When it is unavailable (5xx,
timeout, or network error) they fall back to the published AVE corpus, which is fetched
once and cached. list_ave and ave://stats use the cached corpus. Every reply ends with
a Source: line, and names the fallback when one happened. Registry scan data came from
PiranhaDB, which is offline, so ave://stats reports it as unavailable.
Variable | Default | Description |
|
| AVE API: |
|
| Published AVE corpus |
|
| How long the cached corpus is reused |
|
| Timeout for every outbound request |
|
| Largest AVE JSON response accepted |
URLs must be http:// or https:// with a plain host; integers must be positive. Any
other value is ignored with a warning and the default is used.
Requirements
Python 3.10+
bawbel-scanner>=1.2.2(installed automatically)fastmcp>=3.0.0(installed automatically)
The bawbel CLI must be available in PATH. Installing bawbel-mcp installs
bawbel-scanner which provides the bawbel CLI.
Related
bawbel-scanner - CLI scanner
bawbel/ave - AVE standard and records
aveproject/ave - the AVE standard and records, an independent project
bawbel.io/docs - Full documentation
Apache 2.0. Built by Bawbel.
Available Tools
10 toolsaccept_findingA
Insert a justified suppression comment into a skill file.
Marks a finding as a false positive or accepted risk with a documented reason, reviewer, and optional expiry date. The suppression is written directly into the file as a structured comment that lives in version control and shows up in PR reviews.
Accepted risks with an expiry date automatically resurface as active findings on the next scan after the expiry date passes.
Inputs: ave_id (required), file_path (required), line (required), reason (required), +3 more. Returns: result
check_conformanceA
Score an MCP server manifest against the MCP specification.
Runs 18 checks across 3 tiers (REQUIRED, RECOMMENDED, BEST PRACTICE) and returns a grade from A+ to F. A server is conformant when all REQUIRED checks pass.
Inputs: url_or_path (required). Returns: result
check_pinsA
Check a directory for skill file rug pull drift.
Compares current SHA-256 hashes of skill files against the pins stored in .bawbel-pins.json. Reports any files that changed after the last audit.
Run bawbel pin from the CLI to create the initial pin file.
Inputs: path. Returns: result
list_aveA
List AVE records with optional filters.
Use this to browse the full AVE database or filter by severity, component type, or OWASP MCP category.
Inputs: severity, component_type, owasp_mcp. Returns: result
lookup_aveA
Get the full AVE record for a specific vulnerability ID.
Returns the complete record including title, description, AIVSS score, behavioral fingerprint, indicators of compromise, OWASP MCP mapping, and remediation steps.
Inputs: ave_id (required). Returns: result
scan_chainA
Delegation chain scan of skill file content.
Filters to AVE-2026-00048 (unsafe agent delegation) and related rules. Detects sub-agent spawning with inherited permissions and missing trust boundaries.
Use this when evaluating a skill that spawns sub-agents or delegates tasks to other agents.
Inputs: content (required), no_ignore. Returns: result
scan_contentA
Scan raw text content for AVE security vulnerabilities.
Use this to check skill file content, system prompts, MCP tool descriptions, or any agentic AI component before using it.
Returns findings with AVE IDs, AIVSS severity scores, OWASP MCP categories, and links to full remediation guidance. Also detects toxic flows where two findings combine into a complete attack chain.
Inputs: content (required), label, no_ignore. Returns: result
scan_credsA
Credential-focused scan of skill file content.
Filters to AVE-2026-00047 (hardcoded credentials) and related rules only. Detects API keys, tokens, passwords, private keys, and URL-embedded credentials.
Use this when you specifically want to check whether a skill file contains hardcoded secrets before adding it to your agent config.
Inputs: content (required), no_ignore. Returns: result
scan_server_cardA
Fetch and scan an MCP server-card for security vulnerabilities.
Fetches .well-known/mcp.json from the given server URL and scans all tool descriptions, parameter descriptions, and config schemas for AVE vulnerabilities before your agent connects.
This is the primary tool to run before adding any MCP server to your configuration. A poisoned server-card injects behavioral instructions at the discovery layer, before any tool call is made.
Inputs: url (required), no_ignore. Returns: result
search_aveA
Search AVE records by keyword.
Searches across AVE ID, title, attack class, description, and behavioral fingerprint. Returns matching records with severity, AIVSS score, and a link to the full record.
Inputs: query (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
The scan_* tools are the most likely to be confused, but their descriptions clearly separate general content scanning, server-card scanning, credential-specific scanning, and chain-specific scanning. The AVE lookup/search/list tools are also related but have distinct retrieval semantics.
All tools follow a predictable verb_noun pattern: scan_content, scan_server_card, check_conformance, lookup_ave, accept_finding. Naming style is consistent throughout with no mixed conventions.
10 tools is well-scoped for a security scanning and AVE management server. Each tool covers a distinct capability without excessive fragmentation or bloat.
The server covers scanning, targeted scans, finding lookup, suppression, conformance checking, and pin verification. Minor gaps exist around managing existing suppressions and scanning files by path directly, but core workflows are well covered.
Maintenance
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
Scans an MCP server for security gaps before your agent connects. Free tier, no signup.
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for https://oathe.ai security audits. Runtime behavioral analysis and security scanner for Ai systems. Check trust scores before installing MCP servers, plugins, or AI agent skills.5281 npm1MIT
- AlicenseAqualityBmaintenanceMCP security server for AI coding agents. 12 tools: pre-install guardian, vulnerability audit, supply-chain attack detection via static code analysis, and CycloneDX 1.6 SBOM generation. Zero runtime dependencies.1594 npm15Apache 2.0
- AlicenseCqualityDmaintenanceSecurity scanner and MCP server that catches dangerous patterns in MCP servers and AI agent projects, such as leaked secrets, shell execution, and prompt-injection text. Runs as both a CLI and MCP server with CI-friendly severity gates.21MIT
- AlicenseAqualityDmaintenanceUnified MCP server that gives AI agents security tools to audit MCP configs, redact secrets/PII, vet skills, check dependencies, and scan networks.6Apache 2.0