MCP Security Sanitizer MCP server
online · 100% uptimeio.github.saurabhdrh/mcp-security-sanitizer·v1.0.0Redacts common secrets, email addresses, and phone numbers.
0 stars
Reviews
Write oneNobody has reviewed MCP Security Sanitizer yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MCP Security Sanitizer tools (3)
write = sends, deletes, buys or postsaudit_text_for_risksFreeCount recognizable secrets, email addresses, and phone numbers.
mask_api_keys_and_secretsFreeRedact OpenAI-style API keys, bearer tokens, and common named secrets.
mask_pii_dataFreeRedact email addresses and common North American phone numbers.
Public scan report
scanner v0.1.10 · 2026-10-24 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 847ms20/20
- Tool poisoning3 tool descriptions checked15/15
- Auth qualityopen endpoint, read-only tools10/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How MCP Security Sanitizer compares
Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 88% of 916 Email servers
- Tools
- 3
- the typical Email server has 7
- Tools that change things
- 0%
- typical: 25%. Fewer write tools means less an agent can break
- Uptime
- 100%
- of our recent checks; the typical remote Email server answers 100%
- Response time
- 300 ms
- faster than 52% of 609 Email servers
What its tools let an agent do: 3 read
Install MCP Security Sanitizer in Claude Code, Cursor or VS Code
claude mcp add --transport http mcp-security-sanitizer https://mcp-security-sanitizer-server.onrender.com/sse
What the publisher says
From the MCP Security Sanitizer repository's README, as published. We do not edit it. Read it on GitHub
MCP Security Sanitizer
A small MCP server and interactive LangChain/Groq chatbot. The server exposes local regex-based tools for redacting common secrets and personally identifiable information (PII), and the client sanitizes each message before sending it to the language model.
Important limitation: Regex matching only recognizes the patterns
implemented here. It cannot guarantee detection of every secret or PII value.
The client guarantees that both configured sanitizer tools are called before
each non-empty user message is passed to Groq; the system prompt is
defense-in-depth, not the enforcement mechanism. Do not send regulated or
highly sensitive data without adding appropriate controls and validating
detection coverage for your environment.
Architecture
User input
|
v
Python client --MCP/SSE--> local regex scrubbers
| 1. mask_api_keys_and_secrets
| 2. mask_pii_data
v
Sanitized text --> LangChain agent --> GroqSanitization uses local Python regular expressions in the MCP server and consumes 0 LLM tokens. The client makes the sanitizer calls synchronously before invoking the agent, so raw input is not sent to Groq by this chat flow. An MCP transport is still a network boundary; this configuration binds the server to loopback (127.0.0.1) and is intended for local development.
The logging interceptor prints tool names and argument field names but withholds all argument and result contents, so it does not log unsanitized input or potentially sensitive sanitizer output.
Tools
Requirements
- Python 3.11+
- uv
- A Groq API key
Setup
From the project directory, resolve dependencies, create the project-local .venv, and write or update uv.lock:
uv syncYou do not need to activate .venv when using uv run; it selects the project environment automatically.
Create a .env file in the project directory (beside pyproject.toml):
GROQ_API_KEY=your_groq_api_key
GROQ_MODEL=openai/gpt-oss-120bKeep .env out of version control. The client loads this file at startup and checks that GROQAPIKEY is set before connecting to Groq. A .env placed inside .venv is also recognized as a fallback, but the project directory is the recommended location because .venv is generated and can be deleted and recreated. GROQMODEL is optional; if omitted, the client uses openai/gpt-oss-120b. If Groq reports that a model is unavailable, set GROQMODEL to a model ID enabled for your account. The API key is used by ChatGroq; it is not sent to the MCP server.
Run
Start the MCP server in one terminal:
uv run server.pyIt listens on http://127.0.0.1:8000 using the SSE transport, with the MCP endpoint at /sse.
Server startup screenshot
The image below illustrates the expected server terminal after startup. It is a generated example rather than a direct screenshot from your machine; process IDs and log formatting can differ by FastMCP/Uvicorn version.
In a second terminal, start the interactive chatbot:
uv run client.pyAlternatively, activate the project environment in each terminal and run Python directly. For example, in Windows PowerShell:
.\.venv\Scripts\Activate.ps1
python server.pyIn a second activated terminal:
.\.venv\Scripts\Activate.ps1
python client.pyShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
MCP Security Sanitizer: common questions
- Is MCP Security Sanitizer MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the MCP Security Sanitizer safety report
- How do I install MCP Security Sanitizer?
- It runs remotely at mcp-security-sanitizer-server.onrender.com. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does MCP Security Sanitizer need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is MCP Security Sanitizer maintained?
- The last commit was 12 days ago (2026-10-23). The latest release is v1.0.0.
- Is MCP Security Sanitizer up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- What can I use instead of MCP Security Sanitizer?
- Servers from other publishers that do the same job: MailProbe MCP server, Hail MCP server and ParseAPI MCP server.
- How does MCP Security Sanitizer compare with other Email MCP servers?
- safety score 91/100 (higher than 88% of 916 Email servers); tools 3 (the typical Email server has 7); tools that change things 0% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to MCP Security Sanitizer
Same job from other publishers: the closest match first, then the best rated.
- MailProbeVerify email addresses in real time: deliverability, disposable and role addresses, typo fixes.not reviewedGrowingA
HailPhone, SMS and email for AI agents. One remote MCP endpoint, OAuth login, zero install.not reviewedGrowingB
ParseAPIOfficial ParseAPI MCP. Place, IP, email, phone, weather lookups.not reviewedGrowingA- Tmailor temporary emailReceive-only temporary email addresses for AI agents: create an inbox, wait for an email, read it.not reviewedGrowingB
- NetintelMCP server for NetIntel — DNS, SSL, WHOIS, email security, OSINT via x402 micropaymentsnot reviewedGrowingB