Tool Output Entropy Sanitizer MCP Connector for Claude
A+Detects and redacts high-entropy strings like API keys from tool outputs.
The Tool Output Entropy Sanitizer is a security-focused MCP server designed to prevent sensitive data leakage into LLM context windows. By implementing a sliding-window analysis, the sanitize_text_output tool scans input strings for segments that exceed an entropy threshold of 4.5. It uses deterministic character frequency analysis to identify high-entropy patterns characteristic of API keys, passwords, or encoded payloads. The server also provides evaluate_segment_entropy to audit specific substrings and verify_window_bounds to ensure window sizes remain within the operational bounds of 16 to 64 characters. When a secret is detected, it is replaced with a structured redaction pattern like [REDACTED_HIGH_ENTROPY:length], preserving the structural context for the AI while protecting sensitive information.
Related Connectors
Movie Watchlist Analyzer MCP
Analyze movie watchlists to get total counts, genre distributions, and decade breakdowns.
Prompt Template Consistency Checker MCP
Validates consistency between prompt templates and context dictionaries.
PoetryDB MCP
Access the world's largest database of public domain poetry — search by author, title, lines, or line count directly from your AI agent.
Bored MCP
Find the perfect activity to beat boredom — filter by category, participants, price, and accessibility directly from your AI agent.