codesafer for Claude Desktop
io.github.goldmembrane/codesafer
Scans AI-generated code for invisible Unicode, Trojan Source, and supply-chain threats.
client:Claude Desktop
transport:stdio
runtime:npm
Install codesafer in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"codesafer": {
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs