EU AI Act Compliance MCP Server
Integrates with Windsurf IDE to provide EU AI Act compliance tools, enabling risk classification, transparency disclosures, watermarking, deepfake labeling, and security scanning.
Allows AI agents to use EU AI Act compliance tools for compliance automation, including risk classification, transparency disclosures, watermarking, deepfake labeling, and security scanning.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EU AI Act Compliance MCP Server Classify my AI system's risk level"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EU AI Act Compliance MCP Server ๐ช๐บ
A Model Context Protocol (MCP) server providing EU AI Act compliance tools for AI systems. This server helps developers of AI applications, like chatbots and AI agents, meet transparency, security, and governance requirements across the entire EU AI Act framework.
โ ๏ธ BETA SOFTWARE - NOT LEGAL ADVICE
This MCP server is in active development. It provides technical tools to assist with EU AI Act compliance but does NOT constitute legal advice. Consult qualified legal counsel for compliance decisions.
๐ง CONTRIBUTORS NEEDED! This solution is in its early phases and there are EU AI Act requirements left to add, as well as general guidance. If you would like to contribute to improve the solution for everyone, we would love that! Please see the Contributing guide here for general guidance on contributing.
๐ฏ What Does This Server Do?
This MCP server, which can be self-hosted, provides automated compliance tools that helps you and your AI systems to comply with the EU AI Act:
โ Classify AI systems by risk level (Prohibited, High-Risk, Limited-Risk, Minimal-Risk)
โ Determine your role under EU AI Act (Provider, Deployer, Importer, etc.)
โ Check for prohibited practices (Article 5 violations)
โ Add transparency disclosures (Article 50 - chatbots, emotion recognition)
โ Watermark AI content (Article 50(2) - text, images, video, audio)
โ Label deepfakes (Article 50(4) - all media types)
โ Detect security threats (Article 15 - prompt injections)
Compliance Deadline For Several Risk Types: August 2, 2026 ๐๏ธ
Related MCP server: Watermarking Authenticity MCP
๐ฆ What's Included
๐ง 17 Tools Available
Risk & Role Classification (3 tools)
โ
classify_ai_system_risk- Determine risk level (Articles 5, 6, 50)โ
check_prohibited_practices- Check Article 5 violationsโ
determine_eu_ai_act_role- Identify your role (Article 3)
Transparency & Disclosure (4 tools)
โ
get_ai_interaction_disclosure- Chatbot disclosures (Article 50(1))โ
get_emotion_recognition_disclosure- Emotion AI disclosures (Article 50(3))โ
get_deepfake_label_templates- Access all label templatesโ
label_news_text- Label AI-generated news (Article 50(4))
Content Watermarking (4 tools)
โ
watermark_text- Watermark AI text (Article 50(2))โ
watermark_image- Watermark AI images with C2PA (Article 50(2))โ
watermark_video- Watermark AI videos with C2PA (Article 50(2))โ
watermark_audio- Watermark AI audio (Article 50(2))
Deepfake Labeling (3 tools)
โ
label_image_deepfake- Label AI-generated images (Article 50(4))โ
label_video_deepfake- Label AI-generated videos (Article 50(4))โ
label_audio_deepfake- Label AI-generated audio (Article 50(4))
AI Security (3 tools - SonnyLabs.ai Integration)
โ
scan_for_prompt_injection- Detect prompt attacks (Article 15)โ
check_sensitive_file_access- Monitor file access (Articles 10 & 15)
๐ 4 Resources Available
โ
disclosure-templates://ai-interaction-and-emotion- Pre-written disclosuresโ
deepfake-labels://content-labeling- All deepfake labelsโ
article50-rules://official-text- Official Article 50 rulesโ
watermark-config://technical-standards- C2PA & IPTC standards
๐ Multi-Language Support
All disclosures and labels available in:
๐ฌ๐ง English (en)
๐ช๐ธ Spanish (es)
๐ซ๐ท French (fr)
๐ฉ๐ช German (de)
๐ฎ๐น Italian (it) - disclosure templates only
๐ฆ What if I want the hosted MCP server instead of self-hosting it myself?
You can become a design partner and use our hosted EU AI Act MCP server at SonnyLabs.ai.
๐ Quick Start for Self-Hosting
Pre-Setup
Git clone this repo locally.
1. Installation
cd FILE_PATH_OF_THIS_MCP
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt2. Set Up SonnyLabs Security Tools
For the security tools, get credentials from SonnyLabs Dashboard:
export SONNYLABS_API_TOKEN="your_api_token"
export SONNYLABS_ANALYSIS_ID="your_analysis_id"NOTE: In order to get the SonnyLabs API token and analysis ID, after registering on the SonnyLabs Dashboard, you can generate a new API key at API keys on the SonnyLabs Dashboard. The next step is to create a new analysis on the SonnyLabs dashboard, and get the analysis ID associated with it.
There is a genereous free tier where you can call the SonnyLabs API.
3. Test the Server
# Quick test - all tools
./venv/bin/python test_all_tools.py
# Test specific categories
./venv/bin/python test_risk_classification.py
./venv/bin/python test_role_determination.py
./venv/bin/python test_sonnylabs_security.py4. Connect to Your AI Assistant or AI Agent
See Setup for Claude Desktop, Setup for Windsurf or Setup for cursor below.
This also works with AI agents like CrewAI agents.
๐ Project Structure
.
โโโ server.py # Main MCP server with all 17 tools
โโโ main.py # Server entry point
โโโ requirements.txt # Python dependencies
โ
โโโ Resources (4 JSON files)
โโโ disclosure_templates.json # Pre-written disclosures (50(1), 50(3))
โโโ deepfake_labels.json # Deepfake labels (50(4))
โโโ article50_rules.json # Official Article 50 rules
โโโ watermark_config.json # C2PA & IPTC watermarking standards
โ
โโโ Tests (7 test files)
โโโ test_all_tools.py # Test all 17 tools
โโโ test_risk_classification.py # Test risk & prohibited tools
โโโ test_role_determination.py # Test role determination
โโโ test_sonnylabs_security.py # Test security tools
โโโ test_watermark_media.py # Test watermarking tools
โโโ test_label_*_deepfake.py # Test deepfake labeling
โ
โโโ Documentation
โโโ README.md # This file
โโโ SONNYLABS_TESTING_GUIDE.md # Security tools guide
โโโ PHASE2_SUMMARY.md # Implementation summarySetup for Claude Desktop
1. Find Your Config File
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
2. Add This Server Configuration
Edit the config file and add:
{
"mcpServers": {
"eu-ai-act-compliance": {
"command": "FILE_PATH_OF_THIS_MCP/venv/bin/python",
"args": [
"FILE_PATH_OF_THIS_MCP/server.py"
],
"env": {}
}
}
}3. Restart Claude Desktop
Quit Claude Desktop completely and reopen it.
4. Test It Works
In a new conversation, ask Claude:
Use classify_ai_system_risk to classify a chatbot that interacts with users.Setup for Windsurf
1. Find Your Config File
The Windsurf MCP configuration file is located at:
macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
2. Add This Server Configuration
Edit the config file and add:
{
"mcpServers": {
"eu-ai-act-compliance": {
"command": "/path/to/your/project/venv/bin/python",
"args": [
"/path/to/your/project/main.py"
],
"env": {
"SONNYLABS_API_TOKEN": "your_sonnylabs_api_token_here",
"SONNYLABS_ANALYSIS_ID": "your_analysis_id_here"
}
}
}
}Replace the placeholders:
/path/to/your/project/venv/bin/python- Path to your virtual environment Python binary/path/to/your/project/main.py- Path to the main.py file in this repoyour_sonnylabs_api_token_here- Your SonnyLabs API token (optional, only needed for security tools)your_analysis_id_here- Your SonnyLabs analysis ID (optional, only needed for security tools)
Note: On Windows, use backslashes in paths (e.g., C:\\path\\to\\project\\venv\\Scripts\\python.exe)
3. Restart Windsurf
Quit Windsurf completely and reopen it.
4. Test It Works
Just ask me in Windsurf:
Use get_ai_interaction_disclosure with language "en" and style "simple"Setup for Cursor
1. Open Cursor settings -> Tools & MCP and Click "Add Custom MCP"
2. Edit the config file to add This Server Configuration
Edit the config file and add:
{ "mcpServers": { "eu-ai-act-compliance": { "command": "/path/to/your/project/venv/bin/python", "args": [ "/path/to/your/project/main.py" ], "env": { "SONNYLABS_API_TOKEN": "your_sonnylabs_api_token_here", "SONNYLABS_ANALYSIS_ID": "your_analysis_id_here" } } } }
3. Replace the placeholders:
/path/to/your/project/venv/bin/python- Path to your virtual environment Python binary/path/to/your/project/main.py- Path to the main.py file in this repoyour_sonnylabs_api_token_here- Your SonnyLabs API token (optional, only needed for security tools)your_analysis_id_here- Your SonnyLabs analysis ID (optional, only needed for security tools)
Note: On Windows, use backslashes in paths (e.g., C:\\path\\to\\project\\venv\\Scripts\\python.exe)
4. Restart Cursor
Quit Cursor completely and reopen it.
5. Test It Works
Toggle the AI pane and create a new chat to ask:
Use get_ai_interaction_disclosure with language "en" and style "simple"
'''
A dialog should appear offering to Run the get_ai_interaction_disclosure tool. Click Run and you should
see a response like this:
{
"article": "50(1)",
"obligation": "AI Interaction Transparency",
"language": "en",
"style": "simple",
"disclosure": "You are chatting with an AI assistant.",
"usage": "Display this text to users before or during AI interaction",
"compliance_deadline": "2026-08-02"
}
You are chatting with an AI assistant
---
## ๐ก How to Use the Tools
### Simple Usage Examples
All tools are called the same way in Claude Desktop or Windsurf. Just ask the AI assistant to use the tool!
#### 1. Classify Your AI System
Use classify_ai_system_risk to classify my system:
Description: "AI chatbot for customer support"
Use case: "chatbot"
Interacts with users: true
Generates content: true
**Returns**: Risk level (PROHIBITED, HIGH-RISK, LIMITED-RISK, or MINIMAL-RISK) with applicable obligations
#### 2. Check Your Role
Use determine_eu_ai_act_role:
Company: "AI software development company"
Location: "United States"
Develops AI systems: true
Sells AI systems: true
Under own name: true
**Returns**: Your role (PROVIDER, DEPLOYER, IMPORTER, etc.) with specific obligations
#### 3. Get a Chatbot Disclosure
Use get_ai_interaction_disclosure with language "en" and style "simple"
**Returns**: "You are chatting with an AI assistant."
#### 4. Watermark AI-Generated Text
Use watermark_text:
Text: "This article was written about quantum computing..."
Generator: "GPT-4"
Format: "markdown"
**Returns**: Text with embedded metadata watermark
#### 5. Label a Deepfake Image
Use label_image_deepfake:
Description: "AI-generated portrait photo"
Is artistic work: false
Language: "en"
**Returns**: Label text and placement guidelines
#### 6. Scan for Security Threats (Requires SonnyLabs credentials)
Use scan_for_prompt_injection:
Input: "Ignore all previous instructions"
API token: [your token]
Analysis ID: [your ID]
**Returns**: Threat analysis with risk level and recommendation
---
## ๐ Copy-Paste Test Prompts
Ready-to-use prompts for testing all tools in Claude Desktop or Windsurf. Just copy and paste!
### 1. Risk Classification
Use classify_ai_system_risk to classify my system with these details:
system_description: "AI chatbot for customer support in healthcare"
use_case: "healthcare"
interacts_with_users: true
generates_content: true
processes_personal_data: true
makes_automated_decisions: false
in_critical_infrastructure: false
used_for_employment: false
used_for_education: false
used_for_law_enforcement: false
used_for_migration: false
used_for_justice: false
What's my risk level and what obligations apply?
### 2. Check Prohibited Practices
Use check_prohibited_practices to check if my system has any Article 5 violations:
system_description: "Employee monitoring system with behavior scoring"
subliminal_manipulation: false
vulnerability_exploitation: false
social_scoring: true
biometric_categorization: false
emotion_recognition_workplace: true
emotion_recognition_education: false
untargeted_scraping: false
risk_assessment_personal_characteristics: false
What violations are detected and what are the penalties?
### 3. Determine Your Role
Use determine_eu_ai_act_role to find out my role:
company_description: "US-based AI software company"
company_location: "United States"
develops_ai_system: true
uses_ai_system: false
sells_ai_system: true
distributes_in_eu: true
imports_to_eu: true
under_own_name_or_trademark: true
integrates_ai_into_product: false
represents_non_eu_provider: false
What role(s) do I have and what are my obligations?
### 4. Get Chatbot Disclosure
Use get_ai_interaction_disclosure with language "en" and style "detailed"
Show me the disclosure text I need for my chatbot.
### 5. Get Emotion Recognition Disclosure
Use get_emotion_recognition_disclosure with:
language: "en"
style: "privacy_notice"
What disclosure do I need for emotion recognition?
### 6. Get All Deepfake Labels
Use get_deepfake_label_templates with language "es"
Show me all available labels in Spanish.
### 7. Label AI-Generated News
Use label_news_text to label this article:
text_content: "Breaking: Scientists announce major breakthrough in renewable energy storage. New battery technology promises 10x capacity increase."
has_human_editor: true
editor_name: "Sarah Johnson"
language: "en"
Show me the properly labeled version.
### 8. Watermark AI Text
Use watermark_text to watermark this content:
text_content: "Artificial intelligence is transforming how we work and live. From healthcare diagnostics to creative writing, AI systems are becoming integral to modern society. This article explores the implications of AI adoption across industries."
generator: "GPT-4"
format_type: "markdown"
Show me the watermarking metadata and instructions.
---
## ๐ Complete Tool Reference
### Risk & Role Tools
#### `classify_ai_system_risk`
**Purpose**: Determine if your AI system is Prohibited, High-Risk, Limited-Risk, or Minimal-Risk
**Simple call**:Classify my AI hiring system that screens resumes. It's used for employment.
**Parameters**:
- `system_description`: What your AI does
- `use_case`: Primary use (e.g., "employment", "healthcare", "chatbot")
- Various boolean flags for risk factors
**Returns**: Risk classification, applicable obligations, deadlines, penalties
---
#### `check_prohibited_practices`
**Purpose**: Check if your AI violates Article 5 prohibited practices
**Simple call**:Check if my system has prohibited practices. It does social scoring.
**Parameters**: Boolean flags for 8 types of prohibited practices
**Returns**: Violations detected, severity, penalties (โฌ35M or 7%), recommendations
---
#### `determine_eu_ai_act_role`
**Purpose**: Identify your role under EU AI Act (Provider, Deployer, etc.)
**Simple call**:What's my role? I develop AI systems and sell them under my company name in the EU.
**Parameters**: Company info and activity flags
**Returns**: Primary role, obligations, deadlines, compliance actions
---
### Transparency & Disclosure Tools
#### `get_ai_interaction_disclosure`
**Quick use**: `Get chatbot disclosure in English`
**Returns**: Ready-to-use disclosure text for AI interactions
---
#### `get_emotion_recognition_disclosure`
**Quick use**: `Get emotion recognition disclosure in German, detailed style`
**Returns**: GDPR-compliant emotion AI disclosure
---
#### `get_deepfake_label_templates`
**Quick use**: `Show me all deepfake labels in Spanish`
**Returns**: Complete list of labels for all content types
---
#### `label_news_text`
**Quick use**: `Label this AI news article: "Breaking: New discovery..." with editor "John Doe"`
**Returns**: Properly labeled text with EU AI Act compliance
---
### Watermarking Tools
#### `watermark_text` / `watermark_image` / `watermark_video` / `watermark_audio`
**Quick use**: `Watermark this AI-generated text from GPT-5`
**Returns**: Watermarking metadata and instructions (C2PA, IPTC standards)
---
### Deepfake Labeling Tools
#### `label_image_deepfake` / `label_video_deepfake` / `label_audio_deepfake`
**Quick use**: `Label this AI-generated video, not artistic work, in French`
**Returns**: Label text, placement guidance, compliance info
---
### Security Tools (Requires SonnyLabs)
#### `scan_for_prompt_injection`
**Purpose**: Detect prompt injection attacks in real-time
**Returns**: Attack detection, confidence score, risk level, recommendation
---
#### `check_sensitive_file_access`
**Purpose**: Monitor AI agent file access for security
**Returns**: File sensitivity analysis, access recommendations (BLOCK/ALLOW)
---
## ๐ฏ Real-World Usage Scenarios
### Scenario 1: Launching a Customer Service Chatbot
**What You Want To Do**: "My chatbot needs to be compliant. What do I do?"
**Instructions**: Ask the AI:Use classify_ai_system_risk to check my chatbot Then use get_ai_interaction_disclosure to get the disclosure text
**Result**: You'll know your risk level (likely LIMITED-RISK) and get ready-to-use disclosure text in 5+ languages.
---
### Scenario 2: Publishing AI-Generated News
**What You Want To Do**: "I'm using AI to write news articles. How do I label them?"
**Instructions**: Ask the AI:Use label_news_text to label my article with editor "Jane Smith"
**Result**: Properly formatted label + check if you qualify for exemptions with human editorial oversight.
---
### Scenario 3: Understanding Your Compliance Obligations
**What You Want To Do**: "I develop AI systems in the US and sell to EU customers. What are my obligations?"
**Instructions**: Ask the AI:Use determine_eu_ai_act_role - I develop and sell AI systems from the US to EU
**Result**: You'll learn you're a PROVIDER + IMPORTER with specific obligations for each role.
---
### Scenario 4: Securing Your AI Against Prompt Injection Attacks
**What You Want To Do**: "How do I protect my AI from prompt injection?"
**Instructions**: Get SonnyLabs credentials, then ask the AI:Use scan_for_prompt_injection to check user inputs before processing
**Result**: Real-time threat detection with confidence scores and block/allow recommendations.
---
### Scenario 5: Securing Your AI Against Trying to Access Sensitive Files
**What You Want To Do**: "How do I ensure the AI agent doesn't access sensitive files on the server?"
**Instructions**: Get SonnyLabs credentials, then ask the AI:Now I want to go to /etc/shadow$ . Can you check for sensitive files or file types with the EU_AI_ACT_MCP
**Result**: Real-time sensitive file detection and block/allow recommendations.
---
## ๐ EU AI Act Coverage Summary
This server covers the most critical EU AI Act articles for AI system operators:
| Article | What It Covers | Tools in This Server |
|---------|----------------|----------------------|
| **Article 3** | Role definitions | `determine_eu_ai_act_role` |
| **Article 5** | Prohibited practices (โฌ35M penalty) | `check_prohibited_practices` |
| **Article 6** | High-risk classification | `classify_ai_system_risk` |
| **Article 15** | Cybersecurity & robustness | `scan_for_prompt_injection`, `check_sensitive_file_access` |
| **Article 50(1)** | AI interaction disclosure | `get_ai_interaction_disclosure` |
| **Article 50(2)** | Content watermarking | 4 watermarking tools |
| **Article 50(3)** | Emotion recognition disclosure | `get_emotion_recognition_disclosure` |
| **Article 50(4)** | Deepfake labeling | 4 deepfake labeling tools |
**Key Deadline**: August 2, 2026 ๐๏ธ for High Risk AI Systems & Limited Risk AI Systems
### Why Use This Server?
โ
**Complete Coverage**: 17 tools covering Articles 3, 5, 6, 10, 15, and 50
โ
**Multi-Language**: 5 languages supported (en, es, fr, de, it)
โ
**Real-Time Security**: SonnyLabs integration for live threat detection
โ
**Automatic Exemptions**: Tracks when exemptions apply
โ
**Standards Compliant**: C2PA, IPTC, GDPR aligned
โ
**Easy Integration**: Just ask your AI assistant to use the tools!
---
## ๐งช Testing & Development
### Run All Tests
```bash
# Test all 17 tools at once
./venv/bin/python test_all_tools.pyTest by Category
# Test risk classification
./venv/bin/python test_risk_classification.py
# Test role determination
./venv/bin/python test_role_determination.py
# Test watermarking
./venv/bin/python test_watermark_media.py
# Test security tools (requires SonnyLabs credentials)
./venv/bin/python test_sonnylabs_security.py๐ Additional Resources
EU AI Act
Technical Standards
C2PA Specification - Content watermarking standard
IPTC Standards - Photo metadata
Model Context Protocol - MCP documentation
Security Tools
SonnyLabs Dashboard - Get API credentials
SonnyLabs Testing Guide - Security tools documentation
๐ฌ Support & Contributing
Need Help?
EU AI Act Legal Questions: Consult with legal counsel
Tool Usage Questions: Ask your AI assistant (Claude/Windsurf) for help
Technical Issues: Check test files for examples
SonnyLabs Security: See
SONNYLABS_TESTING_GUIDE.md
Want to Contribute?
This server is designed to be comprehensive. All 17 tools are implemented and tested. If you need additional EU AI Act coverage, feel free to extend the tools following the patterns in server.py.
๐ Summary
What You Get
โ 17 compliance tools ready to use
โ 4 resource files with templates and standards
โ Complete EU AI Act coverage (Articles 3, 5, 6, 10, 15, 50)
โ Multi-language support (5 languages)
โ Real-time security (SonnyLabs integration)
โ Production-ready with comprehensive tests
How to Get Started
Install:
pip install -r requirements.txtTest:
./venv/bin/python test_all_tools.pyConfigure: Add to Claude Desktop or use in Windsurf
Use: Just ask your AI assistant to use any tool!
Compliance Checklist
Classify your AI system risk level
Determine your role (Provider, Deployer, etc.)
Check for prohibited practices
Add transparency disclosures to user-facing AI
Watermark AI-generated content
Label deepfakes appropriately
Implement security scanning (optional but recommended)
Document compliance actions
Available Tools
16 toolscheck_prohibited_practicesA
Check if AI system violates prohibited practices under Article 5.
These practices carry the HIGHEST penalties: โฌ35M or 7% of global revenue.
Args: uses_subliminal_techniques: Manipulates behavior via subliminal techniques exploits_vulnerabilities: Exploits vulnerabilities of specific groups social_scoring: Social scoring by/for public authorities predicts_crime_from_profiling: Predicts criminal behavior from profiling scrapes_facial_images: Scrapes facial images from internet/CCTV detects_emotions_in_workplace: Emotion recognition in workplace/education biometric_categorization_sensitive_attributes: Infers race, politics, etc. from biometrics real_time_biometric_identification_public: Real-time biometric ID in public spaces
Returns: Violations found with penalties and recommendations
Inputs: social_scoring, scrapes_facial_images, exploits_vulnerabilities, uses_subliminal_techniques, +4 more. Returns: result
check_sensitive_file_accessA
Checks if AI agent is attempting to access sensitive files using SonnyLabs.ai API.
Helps comply with EU AI Act Article 15 (Security) and Article 10 (Data governance). Prevents unauthorized access to confidential files and system resources.
Args: file_path: The file path being accessed by the AI agent agent_action: The action being performed (e.g., "read", "write", "execute") sonnylabs_api_token: Your SonnyLabs API token (Bearer token) sonnylabs_analysis_id: Your SonnyLabs analysis ID tag: Optional identifier for this check (default: "file_access_check")
Returns: Dictionary with file sensitivity analysis and access recommendations
Inputs: file_path (required), agent_action (required), sonnylabs_api_token (required), sonnylabs_analysis_id (required), +1 more. Returns: result
classify_ai_system_riskA
Determine AI system risk level per EU AI Act classification framework.
Classifies system as: PROHIBITED, HIGH-RISK, LIMITED-RISK, or MINIMAL-RISK based on Articles 5, 6, and 50.
Args: system_description: Description of the AI system use_case: Primary use case (e.g., "employment", "healthcare", "chatbot") biometric_data: Uses biometric identification/categorization critical_infrastructure: Used in critical infrastructure education: Used in education/vocational training law_enforcement: Used for law enforcement predicts_criminal_behavior: Predicts criminal behavior from profiling social_scoring: Performs social scoring emotion_detection_workplace: Detects emotions in workplace/education generates_content: Generates synthetic content interacts_with_users: Interacts with natural persons
Returns: Risk classification with applicable obligations and deadlines
Inputs: use_case (required), system_description (required), education, biometric_data, +7 more. Returns: result
determine_eu_ai_act_roleA
Determine which EU AI Act role(s) apply to your organization.
Different roles have different obligations under the EU AI Act. Understanding your role is CRITICAL to knowing which requirements apply.
Args: company_description: Brief description of your company/organization company_location: Country/region where company is based develops_ai_system: You develop AI systems or commission their development uses_ai_system: You use AI systems in your operations sells_ai_system: You sell or offer AI systems imports_to_eu: You bring AI systems from outside EU into EU market distributes_in_eu: You distribute/resell AI systems in EU integrates_ai_into_product: You integrate AI into physical products represents_non_eu_provider: You represent a non-EU AI provider in the EU under_own_name_or_trademark: AI system bears your name/trademark substantial_modification: You substantially modify existing AI systems change_intended_purpose: You change the intended purpose of AI systems
Returns: Role determination with definitions and applicable obligations
Inputs: company_location (required), company_description (required), imports_to_eu, uses_ai_system, +8 more. Returns: result
get_ai_interaction_disclosureA
Get AI interaction disclosure text for EU AI Act Article 50(1) compliance.
This tool provides pre-written disclosure text that MUST be shown to users when they interact with an AI system (chatbots, voice assistants, etc.).
Args: language: Language code (en, es, fr, de, it). Default: "en" style: Disclosure style (simple, detailed, voice). Default: "simple"
Returns: Dictionary containing the disclosure text and metadata
Example: get_ai_interaction_disclosure(language="en", style="simple") Returns: {"disclosure": "You are chatting with an AI assistant.", ...}
Inputs: style, language. Returns: result
get_deepfake_label_templatesA
Get all available deepfake and AI-generated content labels.
This tool returns the complete set of labels available for different content types. Use this to see what labels are available for images, videos, audio, and text.
Args: language: Language code (en, es, fr, de). Default: "en"
Returns: Dictionary containing all available labels organized by content type
Example: get_deepfake_label_templates(language="en") Returns all labels for English
Inputs: language. Returns: result
get_emotion_recognition_disclosureA
Get emotion recognition disclosure text for EU AI Act Article 50(3) compliance.
This tool provides pre-written disclosure text that MUST be shown to users when an AI system uses emotion recognition technology.
Args: language: Language code (en, es, fr, de, it). Default: "en" style: Disclosure style (simple, detailed, privacy_notice). Default: "simple"
Returns: Dictionary containing the disclosure text and metadata
Example: get_emotion_recognition_disclosure(language="en", style="detailed")
Inputs: style, language. Returns: result
label_audio_deepfakeA
Generate deepfake label for AI-generated or manipulated audio per Article 50(4).
This tool provides disclosure text for audio content that has been artificially generated or manipulated. For audio, disclosure can be spoken, written in accompanying materials, or both.
Args: audio_description: Brief description of the audio for context is_artistic_work: Whether this is artistic/creative work (may qualify for exemption) language: Language code (en, es, fr, de). Default: "en"
Returns: Dictionary with label text (written and spoken), placement guidance, and compliance info
Example: label_audio_deepfake( audio_description="AI-generated voice recording", is_artistic_work=False, language="en" )
Inputs: audio_description (required), language, is_artistic_work. Returns: result
label_image_deepfakeA
Generate deepfake label for AI-generated or manipulated images per Article 50(4).
This tool provides the appropriate disclosure text and guidance for labeling images that have been artificially generated or manipulated. The label must be prominent, clear, and distinguishable.
Args: image_description: Brief description of the image for context is_artistic_work: Whether this is artistic/creative work (may qualify for exemption) is_satirical: Whether this is parody/satire (may qualify for exemption) language: Language code (en, es, fr, de). Default: "en"
Returns: Dictionary with label text, placement guidance, and compliance info
Example: label_image_deepfake( image_description="AI-generated portrait of a person", is_artistic_work=False, language="en" )
Inputs: image_description (required), language, is_satirical, is_artistic_work. Returns: result
label_news_textA
Add AI-generated content disclosure to news articles and public interest text.
This tool implements EU AI Act Article 50(4) compliance for AI-generated text published as news, journalism, or public interest content.
Args: text_content: The AI-generated or AI-assisted text content has_human_editor: Whether a human editor reviewed the content (exemption qualifier) editor_name: Name of the human editor (if applicable) language: Language code (en, es, fr, de). Default: "en"
Returns: Dictionary containing the labeled text with disclosure and compliance info
Example: label_news_text( text_content="AI generated article...", has_human_editor=True, editor_name="Jane Doe", language="en" )
Inputs: text_content (required), language, editor_name, has_human_editor. Returns: result
label_video_deepfakeA
Generate deepfake label for AI-generated or manipulated videos per Article 50(4).
This tool provides the appropriate disclosure text and guidance for labeling videos that have been artificially generated or manipulated. The label must be prominent, clear, and distinguishable throughout the video.
Args: video_description: Brief description of the video for context is_artistic_work: Whether this is artistic/creative work (may qualify for exemption) is_satirical: Whether this is parody/satire (may qualify for exemption) language: Language code (en, es, fr, de). Default: "en"
Returns: Dictionary with label text, placement guidance, and compliance info
Example: label_video_deepfake( video_description="AI-generated video of a speech", is_artistic_work=False, language="en" )
Inputs: video_description (required), language, is_satirical, is_artistic_work. Returns: result
scan_for_prompt_injectionA
Scans user input for prompt injection attacks using SonnyLabs.ai API.
Helps comply with EU AI Act Article 15 cybersecurity requirements. Detects attempts to manipulate AI behavior through prompt injection.
Args: user_input: The user input text to scan for threats sonnylabs_api_token: Your SonnyLabs API token (Bearer token) sonnylabs_analysis_id: Your SonnyLabs analysis ID tag: Optional identifier for this scan (default: "mcp_scan")
Returns: Dictionary with threat analysis and EU AI Act compliance info
Inputs: user_input (required), sonnylabs_api_token (required), sonnylabs_analysis_id (required), tag. Returns: result
watermark_audioA
Generate watermarking metadata for AI-generated audio per Article 50(2).
This tool provides metadata and instructions for watermarking AI-generated audio. Audio watermarks use fingerprinting and metadata embedding.
Args: audio_description: Brief description of the audio generator: Name of AI system that generated it format_type: Audio format (mp3, wav, opus). Default: "mp3"
Returns: Dictionary with watermarking metadata, instructions, and compliance info
Inputs: audio_description (required), generator, format_type. Returns: result
watermark_imageA
Generate watermarking metadata for AI-generated images per Article 50(2).
This tool provides C2PA-compliant metadata and instructions for watermarking AI-generated images. The watermark must be machine-readable and detectable.
Args: image_description: Brief description of the image generator: Name of AI system that generated it (e.g., "DALL-E", "Midjourney") format_type: Image format (png, jpg, webp). Default: "png"
Returns: Dictionary with watermarking metadata, instructions, and compliance info
Example: watermark_image( image_description="AI-generated landscape", generator="DALL-E", format_type="png" )
Inputs: image_description (required), generator, format_type. Returns: result
watermark_textA
Add metadata watermark to AI-generated text for EU AI Act Article 50(2) compliance.
This tool adds machine-readable metadata to AI-generated text content, marking it as artificially generated. This is required for provider compliance with Article 50(2) for text content generation systems.
Args: text_content: The AI-generated text to watermark generator: Name of the AI system that generated it (e.g., "GPT-4", "Claude", "Custom AI") format_type: Output format (plain, markdown, html). Default: "plain"
Returns: Dictionary containing the watermarked text with embedded metadata
Example: watermark_text( text_content="This is AI-generated content...", generator="GPT-4", format_type="markdown" )
Inputs: text_content (required), generator, format_type. Returns: result
watermark_videoA
Generate watermarking metadata for AI-generated videos per Article 50(2).
This tool provides C2PA-compliant metadata and instructions for watermarking AI-generated videos. The watermark must be machine-readable and detectable.
Args: video_description: Brief description of the video generator: Name of AI system that generated it format_type: Video format (mp4, webm, mov). Default: "mp4"
Returns: Dictionary with watermarking metadata, instructions, and compliance info
Inputs: video_description (required), generator, format_type. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 16 tools
Each tool targets a distinct compliance concern: retrieval of templates, disclosures for interaction/emotion, labeling vs watermarking for different content types, risk classification, prohibited practice checking, role determination, and security scanning. No two tools have overlapping purposes; the descriptions clearly differentiate human-readable labels from machine-readable watermarks and different compliance articles.
The tools follow a consistent verb_noun pattern: get_* for retrieval, label_* for disclosure generation, watermark_* for metadata generation, and specific verbs like classify, check, determine, scan. Minor deviation: label_news_text vs label_image_deepfake (news text vs deepfake modality), but overall the naming is predictable and systematic.
With 16 tools, the server covers a broad but well-defined domain of EU AI Act compliance. The count is slightly at the upper boundary but each tool serves a distinct content type or compliance article, so it doesn't feel bloated.
The server provides comprehensive coverage for the EU AI Act's transparency obligations (labels, watermarks), risk classification, prohibited practices, role determination, and security checks. Minor gaps exist (e.g., no dedicated GPAI obligations tool), but core compliance workflows are fully covered.
Maintenance
Related MCP Connectors
Deterministic, sourced EU compliance checks: NIS2, DORA, GDPR, Cyber Resilience Act and AI Act.
AI inventory and EU AI Act compliance. Find AI tools and use cases, check new AI uses before launch.
AI legal compliance: contract review, risk scoring, EU/CN AI act, watermark check. 8 MCP tools.
Register every AI agent, log every action, prove it. EU AI Act compliance built in.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables EU AI Act compliance for AI agent systems by providing risk classification, audit trails, gap analysis, and evidence package generation.63 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides AI content watermarking and C2PA compliance for EU AI Act Article 50, enabling detection, verification, and batch processing of authenticated content.12 npm29 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceEnables AML/6AMLD compliance for AI systems, including obliged entity classification, KYC/CDD audits, and sanctions screening.33 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceProvides 62 AI governance tools for compliance with regulations like the EU AI Act, enabling risk management, transparency, bias detection, and more.MIT