Mcp Check Licenses

io.github.webmoleai由 GitHub 帳號 webmoleai 發布v0.2.0更新於 Nov 3, 2026

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

發布方自己的服務:check.tattoo: tattoo size and placement guide

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

概覽

AI 產生的概覽

一個本機 MCP 伺服器,用來稽核專案相依套件的授權條款,並標示 GPL/AGPL 相容性衝突,供助理使用。

可以做什麼
  • 稽核專案中的相依套件授權條款並回報相容性問題。
  • 標示可能影響專案散布方式的 GPL/AGPL 衝突。
  • 現有資料未列出具體工具,因此確切指令與輸出格式並未說明。
適用情境
適合在發布或開源程式碼前,檢查第三方相依套件的授權條款是否與預定的散布方式衝突。
執行需求
以本機程序透過 stdio 執行,來自 npm 套件 mcp-check-licenses,需要 Node.js 與 npm。未宣告任何驗證、環境變數或標頭。僅限桌面端,不提供網頁可執行版本。
安裝前請注意
它會讀取專案的相依套件與授權中繼資料,在私有程式碼上執行前請確認其檢查範圍。未提供工具、權限或資料處理說明,用於法遵判斷前應先驗證其行為。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Check Licenses,將其新增到工作區。
  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"    }  }}

Analytics

This server supports MCPcat analytics. To enable usage tracking, session replay, and error monitoring, set the MCPCAT_PROJECT_ID environment variable in your MCP client config:

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

Without it, the server runs normally with no analytics. See the MCPcat setup guide for details.

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,提交 4dca1ce

工具

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

版本歷史

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

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

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

其他 Check 整合