Mcp License Audit

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

Audit dependency licenses for compatibility issues. Flags GPL/AGPL conflicts.

發布方自己的服務:audit.domains - Domain Valuation

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

概覽

AI 產生的概覽

稽核專案相依套件的授權條款,並標記 GPL/AGPL 相容性衝突。

可以做什麼
這個本機 MCP 伺服器讓助理稽核專案相依套件的授權條款並找出相容性問題。它會標記涉及 GPL 與 AGPL 授權套件的衝突。登錄描述未列出個別工具,因此具體指令與輸出格式在此並未說明。
適用情境
當你希望在發佈、散布或合規審查之前,讓助理檢查程式庫的相依套件授權條款時,值得加入,尤其是在 GPL 或 AGPL 等 copyleft 授權可能與專案授權衝突的情況下。
執行需求
透過 npm 套件 mcp-license-audit 以 stdio 方式在使用者機器上作為本機程序執行。僅限桌面端,無網頁可執行版本。未宣告驗證、環境變數或標頭。
安裝前請注意
未宣告憑證、付款或寫入動作。稽核會讀取相依套件的中繼資料,執行前請確認所指向的專案路徑或清單檔案。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

mcp-license-audit

MCP server that audits your project's dependency licenses for compatibility issues. Flags GPL/AGPL conflicts and generates compliance reports.

What It Does

  • Parses a package.json file (dependencies + devDependencies)
  • Fetches license info for each package from the npm registry
  • Classifies licenses: permissive (MIT, Apache, BSD, ISC), copyleft (GPL, AGPL), weak-copyleft (LGPL, MPL), unknown
  • Detects conflicts (e.g., GPL dependency in an MIT-licensed project)
  • Returns a structured JSON report with risk level and summary

Install

bash
npm install -g mcp-license-audit# or run directly:npx mcp-license-audit

Configure in Claude Code

Add to your .claude/mcp.json or ~/.claude/mcp.json:

json
{  "mcpServers": {    "license-audit": {      "command": "npx",      "args": ["mcp-license-audit"]    }  }}

Or if installed globally:

json
{  "mcpServers": {    "license-audit": {      "command": "mcp-license-audit"    }  }}

Tool: audit-licenses

Input: packageJson — the full contents of a package.json file as a string.

Output: JSON report:

json
{  "totalDependencies": 15,  "analyzed": 15,  "licenses": {    "MIT": ["express", "lodash"],    "Apache-2.0": ["typescript"],    "GPL-3.0": ["some-package"],    "unknown": ["private-pkg"]  },  "conflicts": [    {      "package": "some-package",      "license": "GPL-3.0",      "issue": "GPL dependency in MIT project — must open-source your code if distributed"    }  ],  "riskLevel": "medium",  "summary": "15 deps analyzed. 1 GPL conflict found. 1 unknown license."}

Risk levels: low (no copyleft), medium (weak copyleft or many unknowns), high (GPL/AGPL found).

Limits

  • Analyzes first 20 dependencies for speed
  • Only supports npm packages (no pip/cargo/gem support yet)
  • License data comes from the npm registry — private packages return "unknown"

Build from Source

bash
npm installnpm run buildnode dist/index.js

來源:README.md,提交 cbdfa82

工具

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

版本歷史

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

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Audit 整合