Skip to content
Grok

codesafer for Grok

io.github.goldmembrane/codesafer

Scans AI-generated code for invisible Unicode, Trojan Source, and supply-chain threats.

client:Grok transport:stdio runtime:npm

Install codesafer in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "codesafer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cleaner-code"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

codesafer in other clients