code-pattern-risk-scanner

Cloudflare Workers MCP server: code-pattern-risk-scanner

我该使用它吗

质量与安全性

B
描述质量
84%
模式完整度
84%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(2)

  • LOWTool 'scan_patterns' description lacks action verb在 scan_patterns 中
  • LOWTool 'security_check' description lacks action verb在 security_check 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~314token 数(工具定义)
~440 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.25%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "code-pattern-risk-scanner": {
      "url": "https://api.lazy-mac.com/code-pattern-risk-scanner/mcp"
    }
  }
}

远程端点

https://api.lazy-mac.com/code-pattern-risk-scanner/mcpstreamable-http

它能做什么

工具清单

工具(5)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪scan_patterns(code, language)

Scan JS/TS code for 26 security and performance patterns

输入模式

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "JS/TS code snippet to scan (max 50,000 chars)"
    },
    "language": {
      "type": "string",
      "description": "Language hint: javascript, typescript, jsx, tsx, etc."
    }
  },
  "required": [
    "code"
  ]
}
⚪detect_antipatterns(code, severity, language)

Detect antipatterns with optional severity filter

输入模式

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string"
    },
    "severity": {
      "type": "string",
      "enum": [
        "critical",
        "high",
        "medium",
        "low"
      ]
    },
    "language": {
      "type": "string"
    }
  },
  "required": [
    "code"
  ]
}
🟢risk_score(code, language)

Calculate 0-100 risk score with severity breakdown

输入模式

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string"
    },
    "language": {
      "type": "string"
    }
  },
  "required": [
    "code"
  ]
}
🟢suggest_refactor(code, language)

Get prioritized step-by-step refactoring suggestions

输入模式

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string"
    },
    "language": {
      "type": "string"
    }
  },
  "required": [
    "code"
  ]
}
🟢security_check(code, language)

Security-focused scan returning vulnerable | at-risk | secure status

输入模式

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string"
    },
    "language": {
      "type": "string"
    }
  },
  "required": [
    "code"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本5 个工具
已验证未记录版本5 个工具