io. github. lazymac2x/ code-pattern-risk-scanner
by lazymac2x · remote · no sign-in to list tools · v1.0.0 · published by GitHub user lazymac2x
Cloudflare Workers MCP server: code-pattern-risk-scanner
5 tools: 5 change things.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things5Claude Code: ask: see these tools
- Only reads0Claude Code: allow
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http code-pattern-risk-scanner https://api.lazy-mac.com/code-pattern-risk-scanner/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
5 tools
Changes things 5Claude Code: ask
detect_antipatternsDetect antipatterns with optional severity filterNo findings
Why it is in this group
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Detect antipatterns with optional severity filter
risk_scoreCalculate 0-100 risk score with severity breakdownNo findings
Why it is in this group
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Calculate 0-100 risk score with severity breakdown
scan_patternsScan JS/TS code for 26 security and performance patternsNo findings
Why it is in this group
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Scan JS/TS code for 26 security and performance patterns
security_checkSecurity-focused scan returning vulnerable | at-risk | secure statusNo findings
Why it is in this group
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Security-focused scan returning vulnerable | at-risk | secure status
suggest_refactorGet prioritized step-by-step refactoring suggestionsNo findings
Why it is in this group
- The description's first verb is "get": a word for reading.
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Get prioritized step-by-step refactoring suggestions
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 1.0.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http code-pattern-risk-scanner https://api.lazy-mac.com/code-pattern-risk-scanner/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [],
"ask": [
"mcp__code-pattern-risk-scanner__scan_patterns",
"mcp__code-pattern-risk-scanner__detect_antipatterns",
"mcp__code-pattern-risk-scanner__risk_score",
"mcp__code-pattern-risk-scanner__suggest_refactor",
"mcp__code-pattern-risk-scanner__security_check"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as code-pattern-risk-scanner. Review it before you use it.
