mcp-code-sanitizer
v0.1.0Strict AI code reviewer powered by Groq.
Values you need
| Variable | What it is | |
|---|---|---|
GROQ_API_KEY | required secret | Groq API key from console.groq.com/keys |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add mcp-code-sanitizer -e 'GROQ_API_KEY=<GROQ_API_KEY>' -- uvx --from mcp-code-sanitizer==0.1.0 code-sanitizerAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp-code-sanitizer": {
"args": [
"--from",
"mcp-code-sanitizer==0.1.0",
"code-sanitizer"
],
"command": "uvx",
"env": {
"GROQ_API_KEY": "<GROQ_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-code-sanitizer": {
"args": [
"--from",
"mcp-code-sanitizer==0.1.0",
"code-sanitizer"
],
"command": "uvx",
"env": {
"GROQ_API_KEY": "<GROQ_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GROQ_API_KEY",
"id": "groq-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-code-sanitizer": {
"args": [
"--from",
"mcp-code-sanitizer==0.1.0",
"code-sanitizer"
],
"command": "uvx",
"env": {
"GROQ_API_KEY": "${input:groq-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-code-sanitizer]
command = "uvx"
args = ["--from", "mcp-code-sanitizer==0.1.0", "code-sanitizer"]
env = { "GROQ_API_KEY" = "<GROQ_API_KEY>" }For AI agents
- Ask the user for: GROQ_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: analyze_code, compare_code, explain_code, generate_tests, analyze_file, cache_info, generate_report.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json