MCP server
Codesafer
Scans AI-generated code for invisible Unicode, Trojan Source, and supply-chain threats.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About Codesafer
Codesafer is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add codesafer -- npx -y cleaner-codeAdd to claude_desktop_config.json
{
"mcpServers": {
"codesafer": {
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"codesafer": {
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"codesafer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"codesafer": {
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"codesafer": {
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Prices change. Check codesafer.org before you buy.
Codesafer FAQ
Is Codesafer free?
Yes. Codesafer is open source, so you can use and self-host it for free.
How do I add Codesafer to Claude Code?
Run this command in your terminal: claude mcp add codesafer -- npx -y cleaner-code
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.