code guard mcp for Cursor
io.github.mlawsonking/code-guard-mcp
Security scan for AI-generated code: injection, SSRF, secrets, weak crypto, unsafe deserialization.
client:Cursor
transport:stdio
runtime:npm
Install code guard mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"code-guard-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mlawsonking/code-guard-mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs