air-blackbox-mcp
AIR Blackbox MCPサーバー
Claude Desktop、Claude Code、Cursor、およびMCP互換クライアント向けのEU AI法コンプライアンススキャンツールです。
問題を報告するだけの他のコンプライアンススキャナーとは異なり、AIR Blackboxは修正(レメディエーション)も行います。動作するコード修正の生成、トラストレイヤーの統合、GDPRコンプライアンスチェック、バイアス分析、および完全なコンプライアンスレポートの作成が可能です。内部的には、スキャン結果はair-trust(HMAC-SHA256による暗号化監査チェーンとEd25519署名付きハンドオフ)に送られ、コンプライアンスデータの整合性が保証されます。
14個のツール(ベース10個 + SDK拡張4個)
階層 | ツール | 機能 | SDK必須 |
スキャン |
| Pythonコード文字列をEU AI法の全6条項でスキャン | いいえ |
スキャン |
| 単一のPythonファイルを読み込みスキャン | いいえ |
スキャン |
| ディレクトリ内のすべての.pyファイルを再帰的にスキャン | いいえ |
分析 |
| ローカルのファインチューニング済みモデル(Ollama)による詳細分析 | いいえ |
分析 |
| プロンプトインジェクション攻撃の検出(15パターン) | いいえ |
分析 |
| EU AI法のリスクレベルに基づきツールを分類 | いいえ |
修正 |
| トラストレイヤー統合コードの生成 | いいえ |
修正 |
| 条項ごとの修正推奨案を取得 | いいえ |
ドキュメント |
| EU AI法条項の技術的解説 | いいえ |
ドキュメント |
| 完全なMarkdown形式のコンプライアンスレポート | いいえ |
GDPR |
| GDPR固有のコンプライアンススキャン | はい |
バイアス |
| バイアスおよび公平性の分析 | はい |
検証 |
| 実行前のエージェントアクションの検証(第14条) | はい |
履歴 |
| 過去のスキャン、傾向、コンプライアンススコアの表示 | はい |
Related MCP server: Mund
対応フレームワーク
LangChain、CrewAI、AutoGen、OpenAI、Haystack、LlamaIndex、Semantic Kernel、Google ADK、Claude Agent SDK、および汎用RAGパイプライン。
インストール
基本(10ツール、SDK機能なし)
pip install air-blackbox-mcp軽量な組み込みスキャナーのみでスタンドアロン動作します。
フル(GDPR、バイアス、検証、履歴を含む14ツール)
pip install air-blackbox-mcp[full]高度なコンプライアンス機能のために、完全な air-blackbox SDK (v1.6.3+) をインストールします。
Claude Desktopの設定
~/Library/Application Support/Claude/claude_desktop_config.json を編集します:
{
"mcpServers": {
"air-blackbox": {
"command": "python3",
"args": ["-m", "air_blackbox_mcp"]
}
}
}Claude Desktopを再起動すると、14個のツールが自動的に表示されます。
Claude Code / Cursorの設定
プロジェクト内の .cursor/mcp.json に追加します:
{
"mcpServers": {
"air-blackbox": {
"command": "python3",
"args": ["-m", "air_blackbox_mcp"]
}
}
}または、Claude Codeの場合は .claude/mcp.json に追加します。
使用例
Claude Desktop、Claude Code、またはCursorで以下のように質問してください:
"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 of
send_email""Scan this code for GDPR issues" (フルSDKが必要)
"Check for bias in this AI model code" (フルSDKが必要)
"Can my agent call this shell function?" (フルSDKが必要)
"Show me my compliance trends" (フルSDKが必要)
SDK機能(オプション)
完全な air-blackbox SDKは、以下の4つの追加ツールを有効にします:
GDPRスキャン (
scan_gdpr)同意なしの個人データ取り扱い
データ保持および削除ポリシー
国境を越えたデータ転送の保護措置
データ処理契約
バイアス分析 (
scan_bias)不当な影響(Disparate impact)のリスク検出
保護属性の取り扱い
学習データのバイアス指標
公平性メトリクスの認識
アクション検証 (
validate_action)実行前の承認ゲート(第14条)
ConsentGateポリシーの強制
リスクベースのアクションフィルタリング
監査証跡の生成
コンプライアンス履歴 (
compliance_history)過去のスキャン結果の追跡
コンプライアンス傾向の分析
監査証跡のエクスポート
経時的な改善の監視
オプション:Ollamaによる詳細分析
正規表現パターンを超えたAIによる分析を行う場合:
# 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他との違い
他のMCPコンプライアンスツールはスキャンのみを行いますが、AIR Blackboxは以下の特徴があります:
スキャン + 修正 - EU AI法の6つの条項にわたる問題を特定し、動作するコード修正を生成します
詳細な分析 - 正規表現パターン + AIモデルによる分析 + プロンプトインジェクション検出(15パターン)
実行前の検証 - エージェントアクションに対する事前承認ゲートとリスク分類(第14条)
コンプライアンス追跡 - GDPRチェック、バイアス分析、完全なレポート、および履歴傾向の監視(SDK)
アーキテクチャ
このサーバーはスマートなフォールバックパターンを採用しています:
SDKを優先 -
air-blackbox>=1.6.0がインストールされている場合、完全なコンプライアンスエンジンを使用します適切にフォールバック - SDKがインストールされていない場合、軽量な組み込みスキャナーを使用します
破壊的変更なし -
pip install air-blackbox-mcpだけで動作します(基本モード)オプトインの強力な機能 -
[full]をインストールすることで高度な機能が解放されます
つまり、MCPサーバーはスタンドアロンで動作しますが、SDKが存在すると劇的に強力になります。
AIR Blackboxの一部
このMCPサーバーは AIR Blackboxエコシステム の一部です:
air-trust (PyPI) - コンプライアンススキャンを支える暗号化監査チェーン
air-blackbox (PyPI) - 完全なコンプライアンスSDKおよびCLIスキャナー
airblackbox.ai - プロジェクトのホームページおよびドキュメント
リンク
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client
Security scanner for AI agents and MCP servers: injection, jailbreak, tool abuse.
Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.
Related MCP Servers
- AlicenseAqualityCmaintenanceSecurity co-pilot for AI agents. Scans for vulnerabilities like prompt injection, infinite loops, and token bombing in AI Agents, audits MCP servers, verifies AGENTS.md governance, and generates EU AI Act compliance reports.10159 npm3Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP security scanner for AI agents - detects prompt injection, secrets, PII, and vets MCP servers before installation1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceFull-stack security for AI agents — static analysis + MCP runtime interception. 31 rules detect prompt injection, data exfiltration, backdoors, tool poisoning, and cross-file attack chains. Includes MCP proxy for real-time blocking, Python AST taint tracking, multi-language injection detection (8 languages), and AI-powered deep analysis. Free, offline, zero-config.49 npm17MIT
- AlicenseAqualityDmaintenanceSecurity scanner for AI agent packages that enables AI agents to audit MCP servers and packages for vulnerabilities, prompt injection, and supply chain attacks.588 npm3AGPL 3.0