Security scan for AI-generated code: injection, SSRF, secrets, weak crypto, unsafe deserialization.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add code-guard -- npx -y @mlawsonking/code-guard-mcp~/.codex/config.toml
[mcp_servers.code-guard]
command = "npx"
args = ["-y", "@mlawsonking/code-guard-mcp"]
# codex mcp add code-guard -- npx -y @mlawsonking/code-guard-mcp~/.cursor/mcp.json
{
"mcpServers": {
"code-guard": {
"command": "npx",
"args": [
"-y",
"@mlawsonking/code-guard-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"code-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mlawsonking/code-guard-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"code-guard": {
"command": "npx",
"args": [
"-y",
"@mlawsonking/code-guard-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"code-guard": {
"command": "npx",
"args": [
"-y",
"@mlawsonking/code-guard-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"code-guard": {
"command": "npx",
"args": [
"-y",
"@mlawsonking/code-guard-mcp"
]
}
}
}