Codesafer runs on your own machine — the client starts it, so there is no endpoint to ping. 92 installs a week from npm. Last commit 4 May 2026.
Scans AI-generated code for invisible Unicode, Trojan Source, and supply-chain threats.
We read the source, 4 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
<script src="https://cdn.paddle.com/paddle/v2/paddle.js"></script>
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add codesafer -- npx -y cleaner-code
{
"mcpServers": {
"codesafer": {
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}
[mcp_servers.codesafer]
command = "npx"
args = ["-y", "cleaner-code"]
{
"mcpServers": {
"codesafer": {
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}
{
"servers": {
"codesafer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cleaner-code"
]
}
}
}
Offline security scanning for AI-generated code: seven open-source scanners in one MCP server.
Source code plagiarism, peer similarity, and AI-generated-code detection for AI agents.
Detect stale source context and retain traceable code-chain understanding for AI coding agents.
Trust score for AI-generated code: scan repos, guard agent file writes, get a 0-100 score.
Scans for known AI coding assistant supply-chain backdoors and risky Claude Code / MCP config.
Security scan for AI-generated code: injection, SSRF, secrets, weak crypto, unsafe deserialization.
Scan and generate barcodes and QR codes.
Upgrade intelligence for AI agents: what an upgrade changes, where it touches your code, CVE scans.
Answers built from our own checks of this server.