codesafer for Cursor
io.github.goldmembrane/codesafer
Scans AI-generated code for invisible Unicode, Trojan Source, and supply-chain threats.
client:Cursor
transport:stdio
runtime:npm
Install codesafer in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"codesafer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs