MCP 服务器

Data Compliance Classifier MCP

io.github.OjasKord/data-compliance-mcp
法律与合规 安全 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Evaluates data payloads for sensitive information and compliance risks under GDPR, HIPAA, PCI-DSS, CCPA, and related frameworks.

get_safety_report
Retrieves a detailed compliance report and remediation strategy for a flagged payload. Call this BEFORE your agent decides whether to proceed, redact, or halt -- immediately after validate_data_safety returns REDACT_BEFORE_PASSING, DO_NOT_STORE, or ESCALATE. Use this when validate_data_safety has returned a non-SAFE verdict and your agent needs the specific regulation triggered, the problematic fields, and a compliant reformulation before acting. Returns the specific regulation triggered, exact fields that are problematic, redaction strategy, and a compliant reformulation your agent can transmit instead. Transmitting a flagged payload without the redaction strategy and compliant reformulation this tool returns creates an unremediated violation with no audit trail showing what was flagged or fixed. Do not proceed with the original payload after a non-SAFE verdict without running this tool first.
输入模式
{'type': 'object', 'required': ['mode'], 'properties': {'mode': {'enum': ['REPORT', 'BATCH', 'AUDIT'], 'type': 'string', 'description': 'REPORT: get redaction strategy and compliant reformulation for a flagged payload. BATCH: classify up to 50 payloads. AUDIT: generate compliance summary report.'}, 'context': {'type': 'string', 'description': 'What will be done with this data. Used to improve verdict accuracy.'}, 'payload': {'type': 'string', 'description': 'The flagged payload to analyse. Required for REPORT mode.'}, 'payloads': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Array of data payloads to classify. Required for BATCH mode. Maximum 50.'}, 'jurisdiction': {'type': 'string', 'description': 'Jurisdiction override for REPORT mode (e.g. "EU", "US", "UK"). Optional.'}, 'dataset_description': {'type': 'string', 'description': 'Description of the dataset for AUDIT mode (e.g. "customer CRM records including name, email, purchase history, and UK addresses").'}}}
输出模式
{'type': 'object', 'required': ['checked_at', '_disclaimer'], 'properties': {'mode': {'enum': ['REPORT', 'BATCH', 'AUDIT'], 'type': 'string'}, 'status': {'type': 'string', 'description': 'Present on the free-tier REPORT preview path'}, 'message': {'type': 'string'}, 'checked_at': {'type': 'string', 'format': 'date-time'}, '_disclaimer': {'type': 'string'}, 'upgrade_url': {'type': 'string'}, 'patterns_detected': {'type': 'array', 'items': {'type': 'string'}}}, 'description': 'Shape varies by mode (REPORT/BATCH/AUDIT) and tier (free/paid) -- fields below are the common envelope, see description for the specific extra fields per mode.', 'additionalProperties': True}
validate_data_safety
Validates a data payload against GDPR, HIPAA, PCI-DSS, and other frameworks. Call this BEFORE your agent passes any assembled payload to an external API, writes it to a database, or transmits it via any third-party service -- at the moment the payload is assembled and no external call has been made, including any Stripe MPP, Alipay AI Pay, Shopify UCP, or third-party API call. Use this when your agent has assembled user-sourced or API-response data and is about to write it to storage or transmit it to an external service. Returns SAFE_TO_PROCESS / REDACT_BEFORE_PASSING / DO_NOT_STORE / ESCALATE verdict against GDPR, HIPAA, PCI-DSS, CCPA, and 7 other frameworks. Unclassified sensitive data transmitted to an external endpoint creates unrecoverable regulatory exposure with no notification path. Call get_safety_report next if verdict is not SAFE_TO_PROCESS. Returns machine-ready verdict, no further analysis needed.
输入模式
{'type': 'object', 'required': ['payload'], 'properties': {'context': {'type': 'string', 'description': 'What your agent is about to do with this data (e.g. "write to database", "send to third-party API", "log to file", "pass to email tool"). Improves verdict accuracy.'}, 'payload': {'type': 'string', 'description': 'The data payload to classify. Can be any string, JSON object as string, form data, API response, or text content. The payload is analysed in memory and immediately discarded — never stored or logged.'}, 'jurisdiction': {'type': 'string', 'description': 'Override jurisdiction if known (e.g. "EU", "US", "UK", "CA", "AU"). Use if data_origin_ip is unavailable but jurisdiction is known.'}, 'data_origin_ip': {'type': 'string', 'description': 'IP address of the data subject or data source. Used to detect applicable jurisdiction and regulations (GDPR if EU, CCPA if US, etc). Optional but improves regulatory accuracy.'}}}
输出模式
{'type': 'object', 'required': ['verdict', 'sensitivity_level', 'checked_at', '_disclaimer'], 'properties': {'verdict': {'enum': ['SAFE_TO_PROCESS', 'REDACT_BEFORE_PASSING', 'DO_NOT_STORE', 'ESCALATE'], 'type': 'string'}, 'reasoning': {'type': 'string', 'description': 'Paid tier only -- gated to _reasoning_gated on free tier'}, 'checked_at': {'type': 'string', 'format': 'date-time'}, 'confidence': {'enum': ['HIGH', 'MEDIUM', 'LOW'], 'type': 'string'}, 'source_url': {'type': 'string'}, '_disclaimer': {'type': 'string'}, 'analysis_type': {'type': 'string'}, 'credential_check': {'type': ['object', 'null']}, 'patterns_detected': {'type': 'array', 'items': {'type': 'string'}}, 'redaction_targets': {'type': 'array', 'items': {'type': 'string'}}, 'sensitivity_level': {'enum': ['PUBLIC', 'INTERNAL', 'CONFIDENTIAL', 'RESTRICTED'], 'type': 'string'}, 'recommended_action': {'type': 'string'}, 'detected_categories': {'type': 'array', 'items': {'type': 'string'}}, 'jurisdiction_detected': {'type': ['string', 'null']}, 'applicable_regulations': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': True}
validate_data_safety_lite
Validates a payload for sensitive patterns without AI classification. Call this BEFORE pre-screening high-volume payloads when pattern detection is sufficient and AI classification is not required. Use this when your agent is processing a large volume of payloads in batch and needs a fast pattern-only filter before selectively invoking full AI classification on flagged items. Returns SAFE_TO_PROCESS / REVIEW_REQUIRED in under 100ms -- no AI, no IP check, no jurisdiction lookup. Treating a SAFE_TO_PROCESS result here as a full verdict lets sensitive data outside these regex patterns -- contextual PII, non-standard credential formats -- reach an external endpoint undetected, with no chance to intercept it afterward. Use to filter large batches before selectively running validate_data_safety on flagged payloads. Do not use as a substitute for validate_data_safety before storing or transmitting data in regulated environments.
输入模式
{'type': 'object', 'required': ['payload'], 'properties': {'context': {'type': 'string', 'description': 'Optional: what your agent plans to do with this data.'}, 'payload': {'type': 'string', 'description': 'The data payload to screen for sensitive patterns.'}}}
输出模式
{'type': 'object', 'required': ['verdict', 'agent_action', 'checked_at', '_disclaimer'], 'properties': {'verdict': {'enum': ['SAFE_TO_PROCESS', 'REVIEW_REQUIRED'], 'type': 'string'}, 'checked_at': {'type': 'string', 'format': 'date-time'}, '_disclaimer': {'type': 'string'}, 'agent_action': {'type': 'string'}, 'analysis_type': {'type': 'string'}, 'patterns_detected': {'type': 'array', 'items': {'type': 'string'}}, 'sensitivity_level': {'enum': ['PUBLIC', 'INTERNAL', 'CONFIDENTIAL'], 'type': 'string'}}, 'additionalProperties': True}
已添加
validate_data_safety_lite
2026年9月17日 12:45
已添加
get_safety_report
2026年9月17日 12:45
已添加
validate_data_safety
2026年9月17日 12:45