"""MCP Security Audit — Static security scanner for MCP servers.

Zero-dependency scanner that detects security vulnerabilities in Python
and TypeScript/JavaScript MCP server source code using AST analysis
and pattern matching. Now with plugin system and live runtime scanning.

No Docker, no API keys, no external dependencies. Just Python 3.11+ stdlib.
"""

__version__ = "1.0.0"
__author__ = "Carlos Miret"
__license__ = "MIT"

from .deobfuscate import DeobfuscationFinding, deobfuscate
from .diff import DiffResult, ScanDiff, ScoreDelta
from .flows import FlowAnalyzer, FlowFinding, FlowResult
from .guard import ConfigGuard, ConfigGuardResult
from .live import LiveScanResult, MCPLiveScanner
from .models import Finding, ScanResult, ScanSummary, Severity
from .multi import FleetGrade, FleetReport, MultiScanner, detect_mcp_servers
from .plugins import PluginRegistry, PluginRule
from .policy import Policy, PolicyResult, evaluate_policy, load_policy
from .scanner import MCPSecurityScanner, detect_language
from .summary import SummaryReport, build_summary
from .trust_score import TrustScoreResult, compute_trust_score, compute_summary_trust_score
from .ts_scanner import TSSecurityScanner

__all__ = [
    "ConfigGuard",
    "ConfigGuardResult",
    "DeobfuscationFinding",
    "DiffResult",
    "FileWatcher",
    "Finding",
    "FixResult",
    "FixSuggestion",
    "FleetGrade",
    "FleetReport",
    "FlowAnalyzer",
    "FlowFinding",
    "FlowResult",
    "LiveScanResult",
    "MCPLiveScanner",
    "MCPSecurityScanner",
    "MultiScanner",
    "PluginRegistry",
    "PluginRule",
    "Policy",
    "PolicyResult",
    "ScanDiff",
    "ScanResult",
    "ScanSummary",
    "ScoreDelta",
    "Severity",
    "SummaryReport",
    "TSSecurityScanner",
    "TrustScoreResult",
    "build_summary",
    "compute_summary_trust_score",
    "compute_trust_score",
    "deobfuscate",
    "detect_language",
    "detect_mcp_servers",
    "evaluate_policy",
    "load_policy",
]
