MCP Code Sanitizer
by notasandy
Reviews code for bugs and security issues, compares revisions, explains logic, generates tests, and creates HTML reports.
Install MCP Code Sanitizer
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"notasandy-mcp-code-sanitizer": {
"command": "uvx",
"args": [
"mcp-code-sanitizer"
],
"env": {
"GROQ_API_KEY": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.
Overview
Use cases
- Review code for bugs, vulnerabilities, and SQL injection risks
- Compare refactored code with its previous version
- Generate tests for functions using a selected framework
- Explain unfamiliar code for a specified audience level
- Create HTML reports from code analysis results
Key features
- Groq-backed code analysis
- Structured revision comparison with merge recommendations
- Step-by-step code explanations
- Test generation with optional frameworks
- Whole-file analysis with chunking
- HTML report generation and cache management
Tools7
What MCP Code Sanitizer lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 7d ago via OSV.dev · mcp-code-sanitizer (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP Code Sanitizer works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about MCP Code Sanitizer
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/notasandy-mcp-code-sanitizer)<a href="https://allmcps.com/mcp/notasandy-mcp-code-sanitizer"><img src="https://allmcps.com/api/badge/notasandy-mcp-code-sanitizer?style=directory" alt="MCP Code Sanitizer on AllMCPs" /></a>