AIR Blackbox MCP Server
About
EU AI Act compliance scanning for Python AI agents. 10 tools that scan, analyze, and fix compliance gaps across LangChain, CrewAI, AutoGen, OpenAI, and RAG pipelines. Checks 6 EU AI Act articles with HMAC-SHA256 tamper-evident audit trails. pip install air-blackbox-mcp. August 20
Details
- Author
- airblackbox
- Downloads
- 328
- Categories
- Developer Tools, Security, AI, Knowledge Base
Jump to
- 14 tools: 10 base + 4 SDK-powered scanning, analysis, remediation, documentation
- Scans Python code for all 6 EU AI Act articles using 18+ regex patterns
- Remediation generates working code fixes and trust layer integrations
- Optional deep analysis via local fine-tuned Olama model (air-compliance-v2)
- Smart fallback: full SDK engine first, lightweight built-in scanner otherwise
- Detects prompt injection attacks with 15 weighted patterns
- Optionally supports GDPR scanning, bias analysis, action validation, and compliance history
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
AIR Blackbox MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via pip install air-blackbox-mcp (basic, 10 tools) or pip install air-blackbox-mcp[full] (all 14 tools). Configure in Claude Desktop by editing claude_desktop_config.json, or in Claude Code/Cursor via .cursor/mcp.json or .claude/mcp.json. Users invoke tools through natural language prompts such as "Scan this code for EU AI Act compliance".
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"air blackbox mcp server": {
"air-blackbox": {
"command": "python",
"args": [
"-m",
"air_blackbox_mcp"
]
}
}
}
}
McpServers
{
"air-blackbox": {
"command": "python",
"args": [
"-m",
"air_blackbox_mcp"
]
}
}
EU AI Act compliance scanning forClaude Desktop,Claude Code,Cursor, and any MCP-compatible client.
Unlike other compliance scanners that only report problems, AIR Blackbox alsoremediates- generating working code fixes, trust layer integrations, GDPR compliance checks, bias analysis, and full compliance reports. Under the hood, the scanning feeds intoair-trust, a cryptographic audit chain (HMAC-SHA256) with Ed25519 signed handoffs that ensures compliance data integrity.
LangChain, CrewAI, AutoGen, OpenAI, Haystack, LlamaIndex, Semantic Kernel, Google ADK, Claude Agent SDK, and generic RAG pipelines.
Works standalone with just the lightweight built-in scanner.
Full (14 tools with GDPR, bias, validation, and history)
Installs the fullair-blackboxSDK (>=1.13,<2) for advanced compliance features. The floor is the version this package is tested against, and the major cap means a 2.x SDK cannot silently change your findings.
This package supports both MCP SDK generations —mcp>=1.0, no upper bound.
mcp 2.0 removedmcp.server.fastmcpand replacedFastMCPwithMCPServer. Rather than pin away from it, the server detects which generation is installed and binds to the right class, so it runs on 1.x and 2.x alike:
Both paths are covered by tests that launchpython -m air_blackbox_mcpas a real subprocess and drive it over stdio — the same way Claude Desktop and Cursor do — and the full suite runs green on both.
If you are on 0.2.3, upgrade.That version declared an unpinnedmcp>=1.0.0, so once mcp 2.0 shipped, every fresh install produced a server that died on import:
ModuleNotFoundError: No module named 'mcp.server.fastmcp'
0.2.4 fixed it by capping atmcp<2; 0.3.0 removes the cap entirely, so this server no longer conflicts with anything built for mcp 2.x sharing the same environment.
Edit~/Library/Application Support/Claude/claude_desktop_config.json:
{ "mcpServers": { "air-blackbox": { "command": "python3", "args": ["-m", "air_blackbox_mcp"] } } }
Restart Claude Desktop. The 14 tools will appear automatically.
Add to.cursor/mcp.jsonin your project:
{ "mcpServers": { "air-blackbox": { "command": "python3", "args": ["-m", "air_blackbox_mcp"] } } }
Or add to.claude/mcp.jsonfor Claude Code.
In Claude Desktop, Claude Code, or Cursor, just ask:
- "Scan this code for EU AI Act compliance"
- "Add a trust layer to this LangChain agent"
- "Check this text for prompt injection"
- "What does Article 12 require?"
- "Generate a compliance report for ~/myproject"
- "Classify the risk level ofsend_email"
- "Scan this code for GDPR issues" (requires full SDK)
- "Check for bias in this AI model code" (requires full SDK)
- "Can my agent call this shell function?" (requires full SDK)
- "Show me my compliance trends" (requires full SDK)
The fullair-blackboxSDK unlocks 4 additional tools:
- Personal data handling without consent
- Data retention and erasure policies
- Cross-border transfer safeguards
- Data processing agreements
- Disparate impact risk detection
- Protected attribute handling
- Training data bias indicators
- Fairness metric awareness
- Pre-execution approval gates (Article 14)
- ConsentGate policy enforcement
- Risk-based action filtering
- Audit trail generation
Compliance History(compliance_history)
- Track past scan results
- Analyze compliance trends
- Export audit trails
- Monitor improvement over time
For AI-powered analysis beyond regex patterns:
# Install Ollama brew install ollama # Pull the fine-tuned compliance model ollama pull air-compliance-v2 # The analyze_with_model tool will automatically use it
Other MCP compliance tools only scan. AIR Blackbox:
- Scans + Remediates- finds issues across 6 EU AI Act articles AND generates working code fixes
- Analyzes deeply- regex patterns + AI-powered model analysis + prompt injection detection (15 patterns)
- Validates before execution- pre-approval gates and risk classification for agent actions (Article 14)
- Tracks compliance- GDPR checks, bias analysis, full reports, and historical trend monitoring (SDK)
Which engine runs is fixed per tool, not a runtime fallback.Earlier versions of this README described a "try the SDK first, fall back to built-in" pattern. That was never what the code did, and it mattered: a reader could not tell whether two reports came from the same rules. The actual behavior:
So a given tool produces results from the same engine on every install, and there is no silent switch between engines.
Because a compliance finding is only comparable to another if you know what produced it,every machine-readable result carries aprovenanceblock:
{ "findings": [ ... ], "provenance": { "engine": "builtin-rules", "scanner_version": "0.2.4", "ruleset_id": "eu-ai-act-art9-15", "ruleset_version": "cee71577c486", "sdk_version": null } }
- engine—builtin-rulesorair-blackbox-sdk, whichever actually ran.
- ruleset_version— a content hash of the active rules, not a hand-maintained string. Change a regex and it changes by itself; a version someone must remember to bump is one that eventually misreports which rules ran.
- sdk_version— the SDK thatproducedthis result, so it isnullfor built-in results even when the SDK is installed alongside. Reporting a version that contributed nothing would imply its rules ran.
Two reports with the sameengine+ruleset_versionwere produced by byte-identical rules and can be diffed directly. Different values mean the rules moved, and the diff needs that context to be meaningful.
Errors carry provenance too — knowing which version produced an error is as useful as knowing which version produced a finding.
Install[full]to unlock the Tier 5 SDK tools; the base install works standalone.
This MCP server is part of theAIR Blackbox ecosystem:
- air-trustonPyPI- the cryptographic audit chain that backs compliance scanning
- air-blackboxonPyPI- the full compliance SDK and CLI scanner
- airblackbox.ai- the project homepage and docs
- EU AI Act- the regulation
- GDPR- data protection regulation
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Security scanner for MCP servers — detects tool poisoning, prompt injection, and 90+ vulnerability patterns
Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning with Cycode.
Require a named human's offline-verifiable approval before an AI agent takes an irreversible action — payment release, record change, deploy. Two-person rule, Ed25519 Trust Receipts, IETF-drafted, Apache-2.0.
Six-gate governance for AI agents: PROCEED/PAUSE/HALT decisions with hash-chained audit trails.
Remote MCP server (Streamable HTTP) at https://mcp.agenticrail.nz/ — deterministic step-order enforcement for AI agents. evaluate_step returns ALLOW or DENY before a step runs; verify_receipt proves a sequence's Ed25519-signed, hash-chained receipt chain is intact. No auth required: omit the bearer token and calls run on the public demo key. That first clause matters — the form has no "remote/hosted" field, and putting the endpoint in the description is the convention on that list ("Fully REMOTE! Just use…"). The rest mirrors your own server card verbatim, so the listing and the card can't drift.
Deterministic security preflight for AI agents. Check URLs, files and shell commands before acting.
EXIF for AI. AKF embeds trust scores, source provenance, and compliance metadata into every file your AI touches — DOCX, PDF, images, code, and 20+ formats. 9 MCP tools: stamp, inspect, trust, audit, scan, embed, extract, detect. Audit against EU AI Act, SOX, HIPAA, NIST in one command.
Arcjet is the runtime security platform that ships with your AI code.
A pre-action risk gate your AI agent calls before any irreversible action — returns a risk score, named red flags, and a gate: proceed / confirm / human-required.
Remediate vulnerabilities found by Contrast products using LLM and Coding Agent capabilities.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




