Mcpwatch

io.github.lazymac2x由 GitHub 帳號 lazymac2x 發布v0.1.1更新於 Oct 24, 2026

Audit MCP servers from inside Claude Code. 10 OWASP checks, A-F grade, live leaderboard.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個 MCP 伺服器,讓助理依 OWASP MCP Top 10 稽核其他 MCP 伺服器,並給出 A–F 等級與逐項檢查結果。

可以做什麼
依路徑掃描本機 MCP 伺服器,根據 10 項源自 OWASP 的檢查(命令注入、路徑穿越、金鑰外洩、工具描述中的提示注入等)回傳等級與逐項發現。依 owner/repo 代稱查詢公開 MCP 伺服器已公布的評分,並列出公開排行榜中排名最高或最低的伺服器。依 ID 取得任一 OWASP MCP Top 10 檢查項的詳細說明。
適用情境
在把不熟悉的 MCP 伺服器加入設定之前,或想比較某伺服器的公開安全評分與其他伺服器時使用。也適合用來了解某項 OWASP 檢查的具體含義。
執行需求
透過 npx 以 mcpwatch-mcp 套件在本機執行,需要 Node.js 18 或更新版本。被掃描的伺服器必須能在本機磁碟上存取。查詢公開排行榜不需 API 金鑰,但需要網路連線。
安裝前請注意
掃描會讀取目標伺服器在你電腦上的檔案,請只指向你願意讓該工具讀取的程式碼。排行榜與評分查詢會連線外部服務。README 中宣傳付費 Pro 報告及其他付費產品,所列工具都不需要購買。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcpwatch,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MCPWatch

[npm] [License: MIT] [lazymac2x/mcpwatch MCP server]

Have I Been Pwned for MCP servers. Open-source security scanner that audits MCP servers against the OWASP MCP Top 10 and produces an A–F letter grade.

Overview

MCPWatch is a security tool for the MCP ecosystem that:

  • Runs 10 automated checks derived from the OWASP MCP Top 10 on any MCP server
  • Produces an A–F letter grade with per-check findings
  • Exposes an MCP server interface so AI agents can audit MCPs on demand
  • Provides a CLI for pre-install scanning in CI/CD pipelines
  • Powers a public leaderboard at mcpwatch.pages.dev with live SVG grade badges

Installation

Use with Claude Code / Cursor / Windsurf (MCP server)

Add to your MCP configuration:

json
{  "mcpServers": {    "mcpwatch": {      "command": "npx",      "args": ["-y", "mcpwatch-mcp"]    }  }}

CLI (scan before install)

bash
npx mcpwatch-scanner /path/to/mcp-server

GitHub Action (CI/CD gate)

yaml
- uses: lazymac2x/mcpwatch-action@v1  with:    path: .    fail-below: B

MCP Tools

When running as an MCP server, MCPWatch exposes the following tools to your AI agent:

ToolDescription
scan_mcp_serverScan a local MCP server by path — returns grade + per-check findings
get_public_scoreFetch the live grade for any public MCP server by owner/repo slug
list_leaderboardReturn the top/bottom N servers from the public leaderboard
explain_checkGet a detailed explanation of any OWASP MCP Top 10 check by ID

Example: scan before adding an MCP

Ask Claude: "Use mcpwatch to scan the filesystem-mcp server at ~/mcps/filesystem-mcp before I add it to my config."

The 10 Checks (OWASP MCP Top 10)

IDCheckSeverity
MCP-01Command injection in tool handlersCritical
MCP-02Path traversal in file toolsCritical
MCP-03Unauthenticated mutationsCritical
MCP-04Prompt injection via tool descriptionsHigh
MCP-05SSRF in URL-fetching toolsHigh
MCP-06Hardcoded secret leakageHigh
MCP-07Over-permissive filesystem scopeMedium
MCP-08Missing rate limitsMedium
MCP-09Outdated dependencies with known CVEsMedium
MCP-10Missing input schema validationLow

Grading

GradeScore
A90–100 — no Critical/High findings
B75–89 — no Critical findings
C60–74 — has Critical findings, minor impact
D40–59 — multiple Critical findings
F0–39 — severe/exploitable vulnerabilities

Public Leaderboard & Badges

Every public MCP server on Smithery, npm, and the official registry is scanned daily.

Live badge — drop into any README:

markdown
[![MCPWatch score](https://api.lazy-mac.com/mcpwatch/badge/YOUR_OWNER/YOUR_REPO.svg)](https://mcpwatch.pages.dev/servers/YOUR_OWNER/YOUR_REPO)

JSON API:

GET https://api.lazy-mac.com/mcpwatch/scan/{owner}/{repo}

Architecture

mcpwatch/├── packages/│   ├── scanner/   # Core check engine (TypeScript, runs in Worker + CLI + Node)│   └── cli/       # mcpwatch-scanner — npx runnable├── workers/│   └── crawler/   # CF Worker — scheduled crawl + scan (daily)├── apps/│   └── web/       # CF Pages — mcpwatch.pages.dev — public leaderboard└── .github/    └── workflows/ # mcpwatch-action CI gate

Requirements

  • Node.js 18+
  • The MCP server under test must be locally accessible (for scan_mcp_server / CLI)
  • No API key required for public leaderboard lookups

License

MIT — use it, fork it, contribute checks.

Contributing

Pull requests for new checks, false-positive fixes, or leaderboard improvements are welcome. See CONTRIBUTING.md for guidelines.


Pro Report $49 (in development)

Cross-repo trend analysis + Slack/Discord webhook alerts on grade drops + private MCP scanning. Email waitlist:

Related — Lumen API + MCP Catalog

If you ship MCP servers, you might want these (one-time license, lifetime updates, MIT source):

Full catalog: https://api.lazy-mac.com Profile: https://github.com/lazymac2x dev.to: https://dev.to/lazymac2x

來源:README.md,提交 8e6e0a4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分