io.github.KevinRabun/GDPRShiftLeftMCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GDPR_CACHE_DIR | No | Cache directory path | __gdpr_cache__ |
| GDPR_CACHE_TTL | No | Cache TTL in seconds (default 1 hour) | 3600 |
| GDPR_SOURCE_URL | No | Source URL for GDPR data | https://eur-lex.europa.eu/eli/reg/2016/679/oj |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_articleB | Get the full text and context of a specific GDPR article. |
| list_chapter_articlesB | List all articles within a specific GDPR chapter. |
| search_gdprA | Search across GDPR articles and recitals by keywords. |
| get_recitalB | Get the text of a specific GDPR recital. |
| get_azure_mappingC | Get Azure service recommendations mapped to a specific GDPR article. |
| get_definitionA | Get the GDPR definition for a specific term (Art. 4). |
| list_definitionsA | List all GDPR definitions from Article 4. |
| search_definitionsB | Search GDPR definitions by keywords. |
| assess_dpia_needB | Assess whether a DPIA is required for a described processing activity. Args: processing_description: Free-text description of the data processing |
| generate_dpia_templateA | Generate a DPIA template pre-filled with guidance for the described processing activity, including risk assessment and mitigation measures. Args: processing_description: Free-text description of the data processing |
| get_dpia_guidanceB | Get detailed DPIA guidance for a specific topic or processing type. Args: topic: Topic area (e.g., 'profiling', 'large-scale monitoring', 'special categories', 'children') |
| generate_ropa_templateB | Generate a Records of Processing Activities (ROPA) template per Art. 30. Args: organization_context: Description of the organization, its role (controller/processor), and main processing activities |
| validate_ropaB | Validate a ROPA document against Art. 30 mandatory fields. Args: ropa_content: The ROPA content to validate (text/JSON/markdown) |
| get_ropa_requirementsA | Get the mandatory ROPA fields for a given organizational role. Args: role: 'controller' or 'processor' — determines required fields |
| get_dsr_guidanceA | Get guidance on handling a specific data-subject request. Args: request_type: Type of DSR — 'access', 'rectification', 'erasure', 'restriction', 'portability', 'objection', 'automated_decision' |
| generate_dsr_workflowB | Generate a step-by-step DSR fulfilment workflow with Azure implementation notes. Args: request_type: Type of DSR system_context: Optional description of the system architecture |
| get_dsr_timelineC | Get GDPR-mandated response timelines and extension rules for a DSR type. Args: request_type: Type of DSR |
| analyze_infrastructure_codeA | Analyze Bicep/Terraform/ARM code for GDPR compliance issues. Checks data residency, encryption, access control, logging, retention, and privacy-by-design patterns. Args: code: The IaC code content file_type: 'bicep', 'terraform', or 'arm' file_path: Optional file path for reporting context: Optional additional context |
| analyze_application_codeB | Analyze application code for GDPR compliance issues such as missing consent checks, PII logging, insecure data handling, and missing encryption. Args: code: The application code content language: 'python', 'csharp', 'java', 'typescript', or 'javascript' file_path: Optional file path for reporting |
| validate_gdpr_configA | Validate IaC configuration against GDPR mandatory requirements BEFORE deploying. Checks for: missing encryption at rest/in transit, public endpoints without justification, insufficient log retention, missing data classification tags, non-EU data residency. Args: code: The IaC code content file_type: 'bicep', 'terraform', or 'arm' strict_mode: If True, fail on any GDPR violation |
| analyze_dsr_capabilitiesB | Analyze code for Data Subject Rights (DSR) implementation capabilities. Detects patterns indicating support for GDPR rights:
Args: code: The application code content language: Programming language ('python', 'typescript', 'csharp', etc.) file_path: Optional file path for reporting |
| analyze_cross_border_transfersA | Analyze code for potential cross-border data transfers under GDPR Chapter V. Detects:
Provides guidance on SCCs, DPAs, and Transfer Impact Assessments. Args: code: The application code content language: Programming language ('python', 'typescript', 'csharp', etc.) file_path: Optional file path for reporting |
| analyze_breach_readinessA | Analyze code for breach notification readiness under GDPR Art. 33-34. Assesses:
Args: code: The application code content language: Programming language ('python', 'typescript', 'csharp', etc.) file_path: Optional file path for reporting |
| analyze_data_flowA | Analyze code for personal data flow patterns to support ROPA documentation. Maps the data lifecycle:
Helps identify GDPR compliance touchpoints for Art. 30 ROPA. Args: code: The application code content language: Programming language ('python', 'typescript', 'csharp', etc.) file_path: Optional file path for reporting |
| assess_retention_policyB | Assess a data-retention policy against GDPR storage-limitation principle (Art. 5(1)(e)) and right to erasure (Art. 17). Args: policy_description: Description of the retention policy |
| get_retention_guidanceB | Get GDPR-aligned retention guidance for a specific data category. Args: data_category: Category of data (e.g., 'employee records', 'customer data', 'marketing consent', 'health data', 'financial transactions') |
| check_deletion_requirementsC | Check what deletion/anonymization capabilities a system must support per GDPR. Args: system_context: Description of the system and data it holds |
| assess_controller_processor_roleA | Assess whether a service/system acts as data controller, processor, joint controller, or has a mixed role under GDPR. Analyzes the service description against GDPR definitions and EDPB guidance to determine the likely role and associated obligations. Args: service_description: Description of the service, data flows, business relationships, and processing activities |
| get_role_obligationsA | Get GDPR obligations specific to a controller/processor role. Returns detailed obligations from relevant GDPR articles with optional Azure implementation guidance. Args: role: 'controller', 'processor', 'joint_controller', or 'sub_processor' include_azure: Include Azure-specific implementation guidance |
| analyze_code_for_role_indicatorsA | Analyze source code for patterns indicating controller vs processor role. Detects patterns like: direct user data collection, consent mechanisms, multi-tenant isolation, webhook receivers, data forwarding, etc. Args: code: The source code to analyze language: Programming language ('python', 'typescript', 'csharp', etc.) |
| generate_dpa_checklistA | Generate an Article 28 Data Processing Agreement (DPA) checklist. Provides a comprehensive checklist of mandatory and recommended DPA clauses with Azure-specific considerations. Args: context: Description of the processing relationship and context |
| get_role_scenariosB | Get common controller/processor scenarios and role determinations. Returns typical scenarios (SaaS, API services, cloud infrastructure, etc.) with guidance on typical role classification and exceptions. Args: scenario_type: Filter scenarios by type (e.g., 'saas', 'api', 'cloud') or 'all' for all scenarios |
| analyze_code_astA | Analyze code using AST for GDPR compliance (Python, JavaScript, TypeScript). AST analysis provides higher accuracy than regex by:
Detects:
Args: code: Source code to analyze file_path: Optional file path for automatic language detection language: Override language (python, javascript, typescript) deep_analysis: Include detailed function, import, and data flow info |
| get_ast_capabilitiesA | Get information about AST analysis capabilities. Returns supported languages, analysis categories, detected patterns, and configuration options for the AST-based code analyzer. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| gap_analysis | Guide a GDPR gap analysis by identifying which articles and obligations apply to your system and what technical/organizational measures are needed. |
| dpia_assessment | Walk through a Data Protection Impact Assessment (DPIA) per GDPR Art. 35, evaluating necessity, proportionality, and risk mitigation measures. |
| compliance_roadmap | Generate a phased GDPR compliance roadmap covering technical measures, organizational measures, and Azure-specific implementation guidance. |
| data_mapping | Guide creation of a data-processing inventory (Art. 30 ROPA) by systematically identifying processing activities, purposes, and data flows. |
| incident_response | Framework for GDPR breach notification (Art. 33/34) including 72-hour supervisory authority notification and data-subject communication. |
| azure_privacy_review | Review Azure architecture and IaC for GDPR compliance: data residency, encryption, access controls, logging, and retention policies. |
| vendor_assessment | Evaluate third-party processors per GDPR Art. 28 including contractual requirements, technical safeguards, and sub-processor management. |
| cross_border_transfers | Guide compliance with GDPR Chapter V (Arts. 44-49) on international data transfers, including adequacy decisions, SCCs, and BCRs. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/KevinRabun/GDPRShiftLeftMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server