HTML XSS Sanitizer MCP Connector for Claude
A+Protect your database from malicious code. Clean and sanitize user-generated HTML payloads instantly local.
If you ask an AI to 'clean this HTML before saving it', it will likely fail to catch obfuscated XSS vectors hidden in Base64 or obscure event handlers. LLMs do not have native rendering engines to test payloads. This MCP provides an enterprise-grade security shield for agents that handle public inputs.
The Superpowers
- Surgical Cleaning: Uses
sanitize-htmlto strip dangerous tags (,) and maliciousonloadevents. - Zero-Trust Input: Enforces a strict whitelist of safe tags, ensuring that what goes into your database cannot execute harmful code in a browser.
Related Connectors
Astro Server Island Detector MCP
Extracts Astro Server Island directives from HTML/JSX to prevent misconfigured streaming SSR components.
MeaningCloud MCP
Advanced text analytics for sentiment analysis, topic extraction, language detection, and automatic summarization.
AI Cyber Risk Assessment Engine MCP
Quantify AI-specific cyber risk, loss exposure, and security investment needs.
Spot Hazard Rating MCP
Quantify kitesurfing environmental risks and safety.