
License Compliance
io.github.bighippoman由 GitHub 帳號 bighippoman 發布v1.0.2更新於 Oct 24, 2026
Scan npm dependencies for license compliance issues. Catch GPL contamination.
概覽
掃描 npm 專案相依套件的授權合規問題,包括 GPL 等 copyleft 污染。
- 可以做什麼
- License Compliance 是一個本機 MCP 伺服器,用來檢查專案的 npm 相依套件並回報授權合規問題。根據其登錄描述,它會掃描 npm 相依套件的授權合規問題,並協助找出 GPL 污染。未公布工具清單,因此具體指令與輸出格式在此不加以說明。
- 適用情境
- 當助理需要檢查 JavaScript 或 Node.js 專案的相依套件授權時適合使用,例如在發布前,或為了排查 copyleft 義務而稽核程式碼庫時。它是僅限桌面的本機程序,適合開發者在自己電腦上使用,而非託管或瀏覽器環境。
- 執行需求
- 以 stdio 方式作為本機程序執行,從 npm 套件 license-compliance-mcp 安裝,因此需要 Node.js 與 npm。未宣告任何身分驗證、環境變數或標頭。它會讀取專案的 npm 相依套件中介資料,因此需要存取專案目錄。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 License Compliance,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
license-compliance-mcp
MCP server that scans npm project dependencies for license compliance issues. Catch GPL contamination before code ships.
Tools
check-licenses
Scan a project's npm dependencies against a license policy and get a detailed compliance report.
Parameters:
path(required) — Absolute path to the project rootpolicy(optional, default:"permissive") — Policy preset or custom SPDX expression"permissive"— Only MIT, ISC, BSD, Apache-2.0, etc."weak-copyleft"— Adds LGPL, MPL-2.0, EPL-2.0"copyleft"— Adds GPL, AGPL- Custom:
"(MIT OR Apache-2.0)"— Any valid SPDX expression
explain-license
Get a plain-language explanation of any SPDX license — permissions, conditions, limitations, compatibility, and gotchas.
Parameters:
license(required) — SPDX identifier (e.g.,"MIT","GPL-3.0-only","Apache-2.0")
Install
Claude Code
Claude Desktop / Cursor
Add to your config (claude_desktop_config.json or .cursor/mcp.json):
How It Works
- Scans
node_modulesusinglicense-checker-rseidelsohn - Normalizes license strings to valid SPDX using
spdx-correct - Evaluates each package against the policy using
spdx-satisfies - Traces dependency chains to show how problematic packages entered the project
- Generates a markdown report grouped by severity (critical > warning > info)
Requirements
- Node.js >= 18
- Project must have
node_modulesinstalled (npm install)
來源:README.md,提交 1572eef
工具
0版本歷史
1- v1.0.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分