原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

CyberLens

作者:shadoprizm版本 1.0.0i★ 1i在你的电脑上运行代码仓库 ↗
注册名称io.github.shadoprizm/cyberlens-mcp-server

安装方法

What it does

Security scanning for websites, public repositories, and Open CLAW skills.

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 网络安全

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度4/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度7/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分11/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 CyberLens。按照 https://mcp.popnx.com/i/shadoprizm-cyberlens-mcp-server.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server CyberLens,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "cyberlens": { "command": "npx", "args": [ "-y", "@shadoprizm/cyberlens-mcp-server" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 CyberLens 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "cyberlens": {
          "command": "npx",
          "args": [
            "-y",
            "@shadoprizm/cyberlens-mcp-server"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 CyberLens 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 CyberLens,或回答中出现 CyberLens 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • CYBERLENS_API_KEY CyberLens API 密钥。如果使用 connect_account 浏览器流程,则可选。
    查看英文原文CyberLens API key. Optional if you use the connect_account browser flow.
  • CYBERLENS_API_BASE_URL CyberLens 公共扫描 API 基础 URL 的可选覆盖值。
    查看英文原文Optional override for the CyberLens public scan API base URL.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 CyberLens

CyberLens 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 CyberLens 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)

B · 网络安全 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server CyberLens,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user cyberlens -- npx -y @shadoprizm/cyberlens-mcp-server 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 CyberLens 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user cyberlens -- npx -y @shadoprizm/cyberlens-mcp-server
  4. 在 Claude Code 中输入 /mcp

    应能看到 CyberLens 在列表中并显示已连接

  5. 试一试

    用 CyberLens 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 CyberLens,或回答中出现 CyberLens 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • CYBERLENS_API_KEY CyberLens API 密钥。如果使用 connect_account 浏览器流程,则可选。
    查看英文原文CyberLens API key. Optional if you use the connect_account browser flow.
  • CYBERLENS_API_BASE_URL CyberLens 公共扫描 API 基础 URL 的可选覆盖值。
    查看英文原文Optional override for the CyberLens public scan API base URL.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server CyberLens,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "cyberlens": { "command": "npx", "args": [ "-y", "@shadoprizm/cyberlens-mcp-server" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 CyberLens 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 CyberLens 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 CyberLens,或回答中出现 CyberLens 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • CYBERLENS_API_KEY CyberLens API 密钥。如果使用 connect_account 浏览器流程,则可选。
    查看英文原文CyberLens API key. Optional if you use the connect_account browser flow.
  • CYBERLENS_API_BASE_URL CyberLens 公共扫描 API 基础 URL 的可选覆盖值。
    查看英文原文Optional override for the CyberLens public scan API base URL.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server CyberLens,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "cyberlens": { "type": "stdio", "command": "npx", "args": [ "-y", "@shadoprizm/cyberlens-mcp-server" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 CyberLens 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 CyberLens 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 CyberLens,或回答中出现 CyberLens 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • CYBERLENS_API_KEY CyberLens API 密钥。如果使用 connect_account 浏览器流程,则可选。
    查看英文原文CyberLens API key. Optional if you use the connect_account browser flow.
  • CYBERLENS_API_BASE_URL CyberLens 公共扫描 API 基础 URL 的可选覆盖值。
    查看英文原文Optional override for the CyberLens public scan API base URL.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 CyberLens 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user cyberlens -- npx -y @shadoprizm/cyberlens-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "cyberlens": {
      "command": "npx",
      "args": [
        "-y",
        "@shadoprizm/cyberlens-mcp-server"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "cyberlens": {
      "command": "npx",
      "args": [
        "-y",
        "@shadoprizm/cyberlens-mcp-server"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "cyberlens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shadoprizm/cyberlens-mcp-server"
      ]
    }
  }
}

需要你填写的值

  • CYBERLENS_API_KEY 机密 env
    CyberLens API 密钥。如果使用 connect_account 浏览器流程,则可选。
    查看英文原文CyberLens API key. Optional if you use the connect_account browser flow.
  • CYBERLENS_API_BASE_URL env
    CyberLens 公共扫描 API 基础 URL 的可选覆盖值。
    查看英文原文Optional override for the CyberLens public scan API base URL.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
51/周
连接方式
在你的电脑上运行
最新版本i
1.0.0
发布到注册中心i
2026年3月30日
代码最后更新i
2026年9月20日
作者
shadoprizm
软件包
npm: @shadoprizm/cyberlens-mcp-server
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 shadoprizm 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于2个月前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 @shadoprizm/cyberlens-mcp-server@1.0.0 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月16日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/shadoprizm-cyberlens-mcp-server.svg)](https://mcp.popnx.com/en/servers/shadoprizm-cyberlens-mcp-server)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“网络安全”中的其他服务器比较i

  • 星标数多于此分类中其他 1102 个服务器的 74%
  • 发布到注册中心的时间比此分类中其他 1102 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 1102 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

CyberLens 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于2个月前,最新版本(1.0.0)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHits

Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.

作者:githits-com正在增长↓ 3807/周★ 13810天前更新

电脑或云端✓ 服务方 · githits.com

Snyk MCP

Easily find and fix security issues in your applications leveraging Snyk platform capabilities.

作者:snyk广泛使用↓ 76.2万/周★ 617个月前更新

在你的电脑上运行✓ 服务方 · snyk.io

TokenSafe

Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.

作者:tokensafe-dev广泛使用↓ 6785/周★ 46今天更新

电脑或云端✓ 服务方 · tokensafe.dev

Draugr

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

作者:draugr-dev起步阶段★ 30前天更新

在你的电脑上运行✓ 服务方 · draugr.dev
与相似项目对比
本项
CyberLens
GitHitsDependency Management MCP ServerSnyk MCPTokenSafeDraugr
运行位置需要安装在电脑上云端或安装在电脑上都可以在云端运行,无需安装需要安装在电脑上云端或安装在电脑上都可以需要安装在电脑上
需要密钥否否否否否否
可在 Claude 中按 + 添加否否否否否否
基础检查3/35/53/43/35/53/3
许可证MITApache-2.0–Apache-2.0MITApache-2.0
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Cyber Lens AI MCP Server

Security scanning for AI assistants and agentic coding workflows.

A Model Context Protocol (MCP) server that gives AI assistants the ability to scan websites, public repositories, and Open CLAW skills for security vulnerabilities. It's purpose-built for the agentic coding era, with native support for scanning skill packages before you install them.


What It Does

When connected to an AI assistant (Claude Desktop, VS Code, etc.), this MCP server adds security scanning tools that the assistant can use during your conversation:

  • Scan a CLAW skill before installing it -- the server downloads the skill package, extracts it, and analyses the actual source code for dangerous patterns, hardcoded secrets, and permission issues
  • Scan a website in a local quick mode without an account, or use the full cloud scan when connected
  • Scan a public repository for exposed secrets, dependency vulnerabilities, suspicious code patterns, and trust posture issues
  • Check your remaining cloud scan quota before kicking off a batch of scans
  • Get remediation guidance with step-by-step fix instructions and code examples
Example Conversation
You:    "I want to install this skill: https://clawhub.ai/skills/ontology"

Claude: I'll scan it for security issues first.

[PASS] CLAW Skill Security Scan: ontology v1.0.4

Security Score: 95/100 Files Analyzed: 5

Skill appears safe to install. Minor issues noted below.

  1. [MEDIUM] File write operation File: scripts/ontology.py:399 Fix: Ensure file writes are limited to expected directories.

The skill looks safe. It writes to the filesystem for its knowledge graph storage, which is expected behaviour for this type of skill.


Getting Started

1. Install

After the first npm release, the recommended install path is:

npx -y @shadoprizm/cyberlens-mcp-server

Before that, or for local development and manual builds:

git clone https://github.com/shadoprizm/cyberlens-mcp-server.git

cd cyberlens-mcp-server npm install npm run build

2. Add to Your AI Assistant

Claude Desktop -- add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "cyberlens": { "command": "npx", "args": ["-y", "@shadoprizm/cyberlens-mcp-server"] } } }

If you are running from a source checkout instead of npm:

{

"mcpServers": { "cyberlens": { "command": "node", "args": ["/absolute/path/to/cyberlens-mcp-server/dist/index.js"] } } }

Claude Code -- add to your MCP settings or project configuration.

VS Code (Copilot/Continue) -- configure per your extension's MCP server settings.

3. Connect Your Account

Website tools work immediately without an account in local quick mode. That local mode covers roughly 15 core checks and returns results right away.

Connecting an account upgrades website scans to the full CyberLens cloud path with 70+ checks, scan history, and AI analysis. Repository and account-only tools still connect through the browser flow when needed.

When a repository or account-only tool needs an account, the MCP server:

  1. opens the CyberLens browser flow automatically
  2. sends the user to cyberlensai.com to sign up or log in
  3. receives the secure callback locally
  4. saves the API key to ~/.cyberlens/mcp/config.json
  5. continues the original tool call automatically

You can also trigger the same flow explicitly:

You: "Connect my CyberLens account"

This opens your browser to cyberlensai.com where you can sign up (free) or log in. Your API key is saved locally at ~/.cyberlens/mcp/config.json and used for all future scans.

Free accounts include 5 scans/month. No credit card required.

You can also set the CYBERLENS_API_KEY environment variable in the MCP config instead of using the browser flow.

If a cloud website scan hits its monthly quota, the MCP server opens the CyberLens pricing page automatically and falls back to the local quick scan instead of hard-failing. Repository scans still require cloud quota.


Available Tools

Account
ToolDescriptionRequires API Key
connect_accountOpens browser to sign up/log in and saves your API key locallyNo
get_account_quotaShows your current plan and remaining website/repository scan quota; auto-connects on first use if neededYes
CLAW Skill Scanning
ToolDescriptionRequires API Key
scan_claw_skillDownload and analyse a CLAW Hub or direct skill package for security issuesNo
validate_claw_skillValidate a skill manifest against security best practicesNo
Website & Repository Scanning
ToolDescriptionRequires API Key
scan_websiteLocal quick website scan without an account; full cloud scan when connected; local fallback if website cloud quota is exhaustedNo for local, Yes for full cloud
scan_repositoryPublic repository security scan for GitHub, GitLab, Bitbucket, and supported ZIP targets; auto-connects on first use if neededYes
get_scan_resultsRetrieve detailed findings from a completed cloud scan; auto-connects on first use if neededYes
get_security_scoreLocal quick website score without an account; full cloud score when connectedNo for local, Yes for full cloud
Intelligence & Guidance
ToolDescriptionRequires API Key
get_remediation_guideBuilt-in local remediation playbooks for common CWEs and vulnerability classesNo
get_scan_transparencyHonest report of the MCP server's local checks and live cloud endpointsNo

How Skill Scanning Works

When you provide a CLAW skill URL, the MCP server:

  1. Resolves the URL -- accepts Claw Hub pages (https://clawhub.ai/skills/skill-name), direct download links (https://*.convex.site/api/v1/download?slug=name), or any URL pointing to a skill zip
  2. Downloads the skill package to a temporary directory
  3. Extracts and analyses every file in the package:
  • Checks _meta.json and SKILL.md for completeness
  • Scans all source code (Python, JavaScript, TypeScript, shell scripts, config files) for dangerous patterns
  • Detects hardcoded secrets, eval() usage, shell command execution, insecure HTTP requests, file deletion operations, pickle deserialisation, and more
  • Identifies unpinned dependencies
  • Catalogues all external URLs the skill communicates with
  1. Returns a security score (0-100) with detailed findings, file locations, and fix recommendations
  2. Cleans up all temporary files

This entire process runs locally -- no API key is required and your code is never sent to an external server.

Website Scan Modes

scan_website and get_security_score now have two honest modes:

  • Local Quick Scan -- works without an account, returns immediately, and covers roughly 15 core website checks such as HTTPS, security headers, server disclosure, insecure forms, and inline-script indicators
  • Full Cloud Scan -- requires a connected CyberLens account, runs 70+ checks, keeps cloud scan history, and includes richer analysis

If a user asks for a full or database website scan without an account, the MCP server still returns the local quick scan and says that the requested cloud-only mode was not available.

If a connected user runs out of website cloud quota, CyberLens falls back to the local quick scan automatically and opens the pricing page with an upgrade link.

Accepted URL Formats
https://clawhub.ai/skills/ontology            --> Resolves automatically

https://clawhub.ai/author/skill-name --> Resolves automatically https://*.convex.site/api/v1/download?slug=x --> Direct download


Architecture

src/

index.ts MCP server, tool handlers, output formatting auth.ts Browser-based connect flow, config file management client.ts REST API client for live scan and quota endpoints remediation-guides.ts Local CWE and vulnerability remediation guidance schemas.ts Zod input validation schemas skill-scanner.ts Local CLAW skill analyser (download, extract, scan) skill-validation.ts Local CLAW manifest validation transparency.ts Local transparency report for scan coverage

Key design decisions:

  • No Supabase SDK -- pure REST calls with fetch and X-API-Key header
  • Truthful cloud surface -- the MCP server only exposes cloud-backed tools that are supported by the live public API (/scan, /scan/{id}, /quota)
  • Stdio transport -- runs as a subprocess of the AI assistant, communicates via stdin/stdout
  • Useful without API key -- skill scanning, website quick scans, manifest validation, remediation guidance, and transparency reporting work locally; connecting an account upgrades website scans to the full cloud path and unlocks repository scanning
  • Browser-based auth -- same secure connect flow as the CyberLens OpenClaw skill (CSRF-protected, short-lived exchange codes, HTTPS-only)

Development

# Build

npm run build

Watch mode

npm run dev

Run directly (for testing)

echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}' | node dist/index.js

Environment Variables
VariableRequiredDefaultDescription
CYBERLENS_API_KEYNo--API key (alternative to browser connect flow)
CYBERLENS_API_BASE_URLNohttps://api.cyberlensai.com/functions/v1/public-api-scanAPI endpoint override

Publishing

This repository is prepared for npm + MCP Registry publication as:

  • npm package: @shadoprizm/cyberlens-mcp-server
  • MCP server name: io.github.shadoprizm/cyberlens-mcp-server

Typical release flow:

# 1. Bump the version

npm version patch

2. Publish the package to npm

npm publish

3. Authenticate with the MCP Registry

mcp-publisher login github

4. Publish server.json to the MCP Registry

mcp-publisher publish

The registry metadata lives in the root server.json file and the npm ownership check uses the mcpName field in package.json.


Related Projects

  • [CyberLens OpenClaw Skill](https://clawhub.ai/shadoprizm/cyberlens) -- the OpenClaw skill version with the same scanning capabilities
  • [CyberLens](https://cyberlensai.com) -- the full platform with browser-based scanning, dashboards, and reporting
  • [OpenClaw](https://openclaw.ai) -- the open skill ecosystem for AI agents

License

MIT